WordPress.org

Ready to get started?Download WordPress

Forums

how can i add icon next to the template tag (4 posts)

  1. solarpunk
    Member
    Posted 9 years ago #

    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

  2. Kafkaesqui

    Posted 9 years ago #

    Is "blogicons" a subdirectory of your blog directory? In other words, where is blogicons/speech_bubble.gif located on your site?

  3. noname
    Member
    Posted 9 years ago #

    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/

  4. solarpunk
    Member
    Posted 9 years ago #

    noname,

    thanks it work like a charm :)

    SolarPunk

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.