Theme Support Forum

Support Forum for Free and Premium Themes. Premium Theme Forums are Private! Please log in first to see the Premium forums

Viewing 3 posts - 1 through 3 (of 3 total)

Permanent text in post category page

Home Forums Free Theme Support Zenon Lite Permanent text in post category page

  • #153574

    Samuel Buchoul

    Hello!

    One little question: how can I add a permanent text above the lists of blog posts in a particular category?

    Link: http://www.lilafoundation.in/en/category/blog/

    Thanks!

    Samuel

    #154879

    Towfiq I.

    administrator

    open up category.php and add this:

    <?php if(is_category('blog')){ ?>
    <p>Your Permanent Text here</p>
    <?php } ?>

    after this:

    <?php get_header(); ?>

    #157377

    Samuel Buchoul

    Cool! Thanks a lot!

    Samuel

You must be logged in to reply to this topic.