How to add Title Attribute to the following Php Code?
-
Hi, I want to add Title Attribute to all the brand taxonomy like this one.
All ($brand) Phones.
Now here is the php code.
<a <?php if (isset($term->term_id) && $brand->term_id == $term->term_id) echo 'class="current" '; ?>href="<?php echo get_term_link($brand); ?>">
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to add Title Attribute to the following Php Code?’ is closed to new replies.