• Anonymous User 12851872

    (@anonymized-12851872)


    Hello,
    Is it possible to put icons for post meta blog instead of writing that makes the international theme, I think.
    In PHP

    <span class="info-date"><?php the_time('F j, Y'); ?></span>
    						<span class="info-author"><?php the_author(); ?></span>
    						<span class="info-category"><?php the_category(', ') ?></span>
    						<span class="info-comment"><?php comments_popup_link('0','1','%'); ?></span>

    In CSS

    .info-author { background:url(images/author.png) no-repeat left; padding-left:20px; padding-top:5px; margin-right:10px; }
    	.info-date { background:url(images/clock.png) no-repeat left; padding-left: 20px; padding-top:2px; margin-right:10px; }
    	.info-comment { background:url(images/comment.png) no-repeat left; padding-left:20px; }
    	.info-category { background:url(images/category.png) no-repeat left; padding-left:23px; margin-right:10px; }

    Thank you

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘post meta blog icon’ is closed to new replies.