The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Read More of Selected Category (2 posts)

  1. misslovelylara
    Posted 11 years ago #

    All I want to do is link the category text in the loop. So, I want it to output:

    Read more from General.

    What is the php code to put into my template for this? Thanks so much!

  2. iand
    Posted 11 years ago #

    <?php the_category() ?> outputs the category of the current post, so you want something like
    Read more from <?php the_category(',') ?>
    (the ',' will place a comma between multiple categories.

Topic Closed

This topic has been closed to new replies.

About this Topic