Support backwards compatibility for CSS class
-
Hi,
I’m a theme developer and have made some (logical) changes in CSS classes, example:
Old:
<div class="post-title">
New:
<div class="entry-title">
To support the old class I can do this:
<div class="post-title entry-title">
But I’m wondering if it’s possible to do this via a function in my functions file? Because I don’t want all kinds of “old” CSS classes floating around in my theme files.
Guido
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Support backwards compatibility for CSS class’ is closed to new replies.