WordPress.org

Ready to get started?Download WordPress

Forums

Notes Blog Core: Page of Posts (3 posts)

  1. martcol
    Member
    Posted 3 years ago #

    I have a child theme working with Notes Blog Core by TDH. I want to have two pages for the posts based on categories. I can do it with a category template but I want pages. I don't know how to do it. I have tried posting for help on the getting started/how to board but after trying my best, have to throw in the towel.

    If anyone has done this with Notes Blog Core and wouldn't mind telling me how, I would appreciate it.

    Thanks

    Martin

  2. esmi
    Forum Moderator
    Posted 3 years ago #

  3. martcol
    Member
    Posted 3 years ago #

    Thanks esmi

    I have tried that code on the page you link to but it doesn't work. This is the page: http://www.pictopoetry.co.uk/poem-2-2/

    There is no link to it in the site menu because I use category archive templates there. I want a page template because those menu items don't appear in the menu of the facebook app that a plugin called WP Book uses.

    So, I tried that code in the Page of Posts Links as it was. It doesn't show anything. There's a line in the page of the codex like this:

    <?php
    if (is_page() ) {
    $category = get_post_meta($posts[0]->ID, 'blog', true);
    }

    I put the "blog" in that because that's how I read it and my custom fields look like this: http://flic.kr/p/a18zFb

    I also tried the code without changing that line.

    Thanks

    Martin

Topic Closed

This topic has been closed to new replies.

About this Topic