• Hi again,

    I working on a WP site and I wanted to display set of text like the following:

    <div id="text">
    <h2>Added Text</h2>
    How can I refund my payment for <?php the_title(); ?>?
    </div>

    I am having a hard time displaying that text for posts that are in category 18. I tried the is_category but could not get it to work because I don’t know how to integrate the_title inside the PHP code. Please help me.

  • The topic ‘How to add text in specific category’ is closed to new replies.