WordPress.org

Support

Support » Themes and Templates » how can i add icon next to the template tag

how can i add icon next to the template tag

  • Hello,

    I was wondering if someone can give me hand with this. i want to add icon next to comment, i have something like this but the icon is not showing.
    <img src=”blogicons/speech_bubble.gif”><?php comments_popup_link(__(‘Comments (0)’), __(‘Comments (1)’), __(‘Comments (%)’)); ?>

    thanks
    solarpunk

Viewing 3 replies - 1 through 3 (of 3 total)
  • Is “blogicons” a subdirectory of your blog directory? In other words, where is blogicons/speech_bubble.gif located on your site?

    try this:


    <img src="<?php bloginfo('stylesheet_directory'); ?>/images/speech_bubble.gif" alt="" /><?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>

    put “speech_bubble.gif” in your wp-content/ themes/name_of_theme/images/

    noname,

    thanks it work like a charm 🙂

    SolarPunk

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how can i add icon next to the template tag’ is closed to new replies.
Skip to toolbar