• I’ve tried to use information from the forums to get my posts page working, but to no avail. All pages I create work fine except for the posts page:

    – The header will not appear on the posts page
    – I’ve replaced the “post excerpt” content block with “post content,” yet only an excerpt shows.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Kathryn Presner

    (@zoonini)

    Hi @windrag – you’ll need to add the Post Title block to the template controlling your Posts page, which is likely the “Home” template. While it’s called “Post Title” block, when it’s used on a page template, it should in fact display the page’s title.

    Let me know how it goes!

    Thread Starter windrag

    (@windrag)

    Hi @zoonini, I’ll try. As I said, it’s the page header (and navigation) that are not showing up. The post title does show up. Did you look at the page? https://communityuke.org/news/

    if you look at the home page you can see how the header is supposed to look: https://communityuke.org/

    • This reply was modified 1 year, 5 months ago by windrag.
    Moderator Kathryn Presner

    (@zoonini)

    Hey there – I looked at your page, but I misunderstood you, sorry! (Your Blog page is missing a page title – like the word “Blog” or “News” above your posts feed – but I understand your issue better now, so thanks for clarifying!)

    The display of the Posts page in this theme is normally controlled by the Home template, as you can see in the templates sidebar:

    Displays the latest posts as either the site homepage or a custom page defined under reading settings.

    To take a look at the Home template, please go to:

    Appearance > Editor > Manage All Templates > Home

    Does what you see there match what you see on your blog page?

    It looks like your Header template part is currently empty so at some points maybe you accidentally deleted its default content:

    <header class="wp-block-template-part"></header>

    There are a few ways to fix this. One way is to delete the empty Header template part in the Home template, and then go ahead and insert the Header template part that contains your logo, navigation, etc. – the Header template part that you’re using within your Page template, in other words.

    – I’ve replaced the “post excerpt” content block with “post content,” yet only an excerpt shows.

    It sounds like perhaps you were editing a different template, not Home? Could you go ahead and try replacing Post Excerpt with Post Content in the Home template and let me know how it goes?

    • This reply was modified 1 year, 5 months ago by Kathryn Presner. Reason: fix code formatting
    Thread Starter windrag

    (@windrag)

    Thanks, @zoonini. I’m getting closer. You were right about the header template part being missing. I added that to the Home template, but it doesn’t display correctly. I think it may have something to do with grouping, or with placement relative to the Query Loop, not sure. Really hard to maintain consistency with the other pages, though.

    Edit: I think I almost have it working now. My Delete Cache button was not showing up. When it finally did, I deleted the cache, and it’s getting closer. Thanks for letting me know that it is the Home template I needed to be working with. That made all the difference.

    • This reply was modified 1 year, 5 months ago by windrag.
    Moderator Kathryn Presner

    (@zoonini)

    Hey there @windrag – you’re very welcome, glad things are making more sense now.

    I took a peek at the header area on your News page and to my eye it seems to match your other pages well. Was there still anything you wanted to adjust there?

    I did notice that the main content area of your News page looks unbalanced because that you have an empty column to the right of your blog post. Maybe you had something in mind to put in that column, but if not, you might consider deleting it to balance things out visually a bit more.

    News Ryk s Uke Class

    I think it may have something to do with grouping, or with placement relative to the Query Loop, not sure. Really hard to maintain consistency with the other pages, though.

    If you ever want to compare the structure of two templates, I’d recommend opening each one in a different browser tab and looking at both templates via List view.

    While in List view, open up each nested element by clicking on the v character to the left of it. Then, compare the structures to make sure they match.

    Let me know if I can help with anything else!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t control posts page with static home page’ is closed to new replies.