• Phoat

    (@phoat)


    I’m have a problem that I hope someone can help me with.

    I have a page called news with a custom template that includes the code from the default index.php. What I want to do is have this page display the blog posts.

    When I go to this page however, all I get is an empty page with a title NEWS and nothing else. Apparently what is happening is that it’s retrieving the Page entry as the posts, but not the actual posts.

    You can see what I’m talking about at https://phoat.com/clients/messaritis/v4/news/

    I want all the blog posts to show up on this Page but it’s not working. I know it’s something to do with the Loop. How do I tell wordpress to not use the page_id and just retrieve all the available posts?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • drscn

    (@drscn)

    I am getting the same problem wiht my upgrade:

    https://blog.nodvin.net/

    Stephen Nodvin

    satoshi

    (@satoshi)

    I am having this EXACT issue on my site. I’m trying to get that page to display only posts from the reminder’s category, but it doesn’t display ANYTHING! When I tell it to display everything NOT from the reminders category it, it displays a link to the page I am on! But only when I tell it to exclude category 38. If I tell it to grab posts from all categories, it still displays nothing.

    satoshi

    (@satoshi)

    It is the bump!

    satoshi

    (@satoshi)

    Anyone? I can NOT find any information on this at all! I can get it to display an entry for the page itself, but I cannot get it to display entries for posts! It’s so annoying! Even if there’s a simple plugin to do this, that’d be wonderful. I have The Loop called and everything (it’s an exact copy and paste from my main template), but it’s not going! I can’t figure it out.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Including Posts in custom page templates’ is closed to new replies.