Support » Fixing WordPress » Add an Icon

Viewing 2 replies - 1 through 2 (of 2 total)
  • the solution is already in your code – the way it is done to show the category icon:

    <img src="<?php bloginfo('template_directory'); ?>/images/folder.gif" alt="<?php _e('Category', 'jfr_theme') ?>" /><?php the_category(', ') ?> |

    do the same for the tag icon:
    from this (could be distorted as you did not successfully use the backticks or code button to insert your code here)

    <div class="tags"><?php the_tags(__('Tags: ', 'jfr_theme'), ' ', '
    '); ?> </div>

    to this:

    <div class="tags"><img src="<?php bloginfo('template_directory'); ?>/images/tag.gif" alt="<?php _e('Tags', 'jfr_theme') ?>" /><?php the_tags('', ' ', '
    '); ?> </div>

    might need a bit of adjustment in style.css for
    .tags img {...}

    Thread Starter notw

    (@notw)

    Alchymyth thanks very much it worked!

    N

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add an Icon’ is closed to new replies.