WordPress.org

Ready to get started?Download WordPress

Forums

Landing Page / Text Box before Categories (6 posts)

  1. lindsay.moynagh
    Member
    Posted 1 year ago #

    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 http://wordpress.org/support/topic/intro-to-categories?replies=9
    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 http://www.flyawaybride.com 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,
    LM

  2. Jay Hoffmann
    Member
    Posted 1 year ago #

    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?

  3. lindsay.moynagh
    Member
    Posted 1 year ago #

    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 :/

  4. esmi
    Forum Moderator
    Posted 1 year ago #

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

  5. Jay Hoffmann
    Member
    Posted 1 year ago #

    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:
    http://codex.wordpress.org/Function_Reference/category_description
    http://wpmu.org/how-to-display-your-wordpress-category-description-in-your-theme/

  6. lindsay.moynagh
    Member
    Posted 1 year ago #

    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,
    LM

Topic Closed

This topic has been closed to new replies.

About this Topic