WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Listing titles of posts from a category at bottom of a page (3 posts)

  1. roncrump
    Member
    Posted 8 years ago #

    Hi,

    I have a number of Pages that contain more-or-less static information.
    Some of these Pages describe an area that is covered by a category in
    my blog.

    In this case, I would like to show the latest items in that category (as links to the actual posts).

    When a Page relates to a category, then the Page and Category
    titles are the same.

    So I would like to be able to say:
    if the Page title corresponds to a category title
    then list the last x posts to that category
    else
    do nothing

    Regards,
    Ron Crump

  2. Kafkaesqui

    Posted 8 years ago #

    This should work:

    http://pastebin.co.uk/583

    By the way, thanks for describing what you were looking for so well. As much as I like pulling details out of people...

  3. roncrump
    Member
    Posted 8 years ago #

    Kafkaesqui,

    That is great.
    Just the job, thank you very much for your help.

    Ron.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags