WordPress.org

Support

Support » Themes and Templates » pages linking to posts and latest posts on front pages

pages linking to posts and latest posts on front pages

  • Hi there,

    I have two newbee questions that I could not find answered in the threads:
    1) I cannot get my head around how to link posts to pages so that each page displays different assigned posts. This is pretty trivial, but I simply cannot find the way to do it. Take a look at my blog and see that all pages displays the same posts: http://evaluation.nu/?page_id=73

    2) In ‘Settings’ –> ‘Readings’ –> ‘Front page displays’ I check ‘Your latest posts’. And yet, my posts are not displayed on my front page. Here’s a link to my front page: http://evaluation.nu/

    I hope you can help me to solve these issues.

    Best regards,
    Steve

Viewing 7 replies - 1 through 7 (of 7 total)
  • Kase

    @web-design-kase

    Hi Steve,

    Regarding your first question, you can could ‘build’ menu items that list different catergories of posts.

    Appearance > Menus

    – At the bottom there should be a list of (your) categories
    – Tick a category and click Add to Menu
    – You can then (if necessary) change the Title that will show on the Menu bar
    – Repeat until you have all the Menu items you need
    – Save and deploy the menu

    This should give you pages that list posts based on their categories.

    I hope this helps

    Kase

    Hi Kase

    Thanks. It works to the extent that I get kind of ‘drop down’ windows, which look pretty cool indeed.

    But, if I click on the menu bar items, all posts are still displayed. I want to avoid that. Do you know how I do that?

    Best,
    Steve

    Kase

    @web-design-kase

    HI Steve,

    This may be related to how you have used your categories.

    Once you have used categories to group certain posts, then using the Menu builder should only display post from those categories.

    E.g.

    7 Posts

    Posts 1, 2, 5 7 = Category (Name) 1

    Posts 3, 4, 6 = Category (Name) 2

    How that makes sense 🙂

    Kase

    @web-design-kase

    *I hope that makes sense

    Hi Kase

    It does make sense. I found some additional information on a standard WP guide, and it seems that posts cannot be assigned to pages and that the only way is through the categories as you mentioned.

    On my page: http://evaluation.nu/ one can hover over ‘Design’ and the sub-category ‘Designing evaluations’ comes up. If I click on that category, only one post is displayed. So far, so good.

    However, if I click on ‘Design’ itself, then all posts are displayed – also the ones that do not have anything to do with design.

    So I guess I want to inquire further, whether categories can be assigned to pages. As far as I have read, that is not possible, and I have to live with the situation as it is.

    Do you share that opinion?

    Regards,
    Steve

    WPyogi

    @wpyogi

    Forum Moderator

    I’m not totally sure what you are wanting to do, and it may well be possible with categories, but you CAN put posts on a page- see:

    http://codex.wordpress.org/Page_Templates#A_Page_of_Posts

    Are you using a Custom Menu? That may be related to why category pages aren’t working?

    Hi WPyogi

    I will illustrate what I want to do in the following: There is on my blog 5 pages and one ‘custom’ (the ‘home’ page). Let’s take one page named ‘Management’ as example. It has several sub-menues (see http://evaluation.nu/) :

    The menu looks like this:
    ‘Management’ (page)
    – ‘Evaluation adoption’ (category)
    – ‘Organisation’ (category)
    – ‘Evaluation institution’ (category)
    – ‘Monitoring’ (category)
    – ‘Evaluation culture’ (category)

    The five sub-menues are categories that I also assign to posts. So far, a post assigned the ‘Monitoring’-category will appear if I click on the sub-menu ‘Monitoring’. So far, so good.

    The problem is that if I click on the page ‘Management’, then all posts ever written on the blog appears. What I want is that only the posts assigned the five sub-menu categories (evaluation adoption; organisation; evaluation institution; monitoring; evaluation culture) appear.

    How do I do that?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘pages linking to posts and latest posts on front pages’ is closed to new replies.