WordPress.org

Support

Support » How-To and Troubleshooting » Show author under featured post.

Show author under featured post.

  • Okay so I would like to show post author under my featured posts and I found the code that shows the post date and the category(under the featured post). It goes like this

    <p class="postmetadata"><?php if ($wpzoom_homepost_date == 'Show') { ?><?php the_time("$dateformat"); ?><?php } ?><?php if ($wpzoom_homepost_date == 'Show' &&
     $wpzoom_homepost_cat == 'Show') { ?> / <?php } ?><?php if ($wpzoom_homepost_cat == 'Show') { ?><?php the_category(', '); ?><?php } ?></p>

    I have tried to edit/play with this for really long already. Can someone help with this? If it’s possible can you make this code show all three options: date, category and author?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show author under featured post.’ is closed to new replies.
Skip to toolbar