Support » Fixing WordPress » Landing Page / Text Box before Categories

  • Hi there,

    I’ve been trying to find out how to do this for the past few days and just keep coming up against brick walls.

    I want create an introduction to the the main categories in my primary menu where I allocate posts on a daily basis. I read this post
    where the last commenter mentions that there is a new introductory text box but of course there doesn’t seem to be one on mine

    The site I am trying to do this for is and it is not on the latest version, however, another wp site of mine that is on the latest version isn’t showing up this text box either.

    Any help with this would be greatly appreciated.

    Kind Regards,

Viewing 5 replies - 1 through 5 (of 5 total)
  • Are you saying you want to add introductory text to the widget in the sidebar on your main page? Or do you want to add introductory text to the page which displays all of your posts from a category?

    Hey jhoffm34,

    Thanks so much for getting back to me.

    What the SEO company wants is for the site to have introductory text to the page that displays posts from the category… for example;

    When you click on the parent categories like Fly Away Bride, Destination Weddings, Where to get Married etc (these parent categories, not sub categories like Europe, Africa, Fab shoots etc) – a summary of what these parent categories are about will appear before any of the posts. We want this summary to always sit there and for the latest posts assigned to that category to site below it.

    Does that make sense? It looks quite confusing to me :/

    You could achieve this by displaying the category description in your theme’s category template

    Have you updated to the newest version of WordPress (at least 3.4)? If you go to your categories section and select Edit on one of them. In there you will see that there is a “description” box which you can fill out. Fill this out and hit save.

    Then go to your Category theme (category.php) and before the Loop, meaning before you start to display your posts, add the code <?php echo category_description( $category_id ); ?> This will display the category description of the current category.

    If you do not have a category.php file, either create one or add this code to archive.php.

    A couple of links that might help out:

    Thanks so much to both of you.

    I’m not great with code so I’ll have a friend of mine take a look at this for me but I really appreciate you pointing me in the right direction.

    Kind Regards,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Landing Page / Text Box before Categories’ is closed to new replies.