WordPress.org

Ready to get started?Download WordPress

Forums

BresponZive
post meta blog+icon (2 posts)

  1. noaneo
    Member
    Posted 11 months ago #

    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

  2. RAJA CRN
    Member
    Theme Author

    Posted 11 months ago #

    Yes, You can use the icons like described above without any issues.

Reply

You must log in to post.

About this Theme

About this Topic