Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #989233

    I have a custom post type that is assigned a category. On two pages, I’m using the ‘Blog posts content element’ to display the posts just from that category. The posts display fine but both pages are also displaying links to themselves amongst the posts. In other words, page A displays the blog posts but also displays links to page A and B. Page B displays the blog posts but also displays links to page A and B.

    I’m using the Blog posts content element elsewhere with a different category and it’s working fine.

    I’m stuck, any ideas?

    Cheers

    #989543

    Hey Rustybucket,

    Thank you for using Enfold.

    Did you create categories with the same name as those pages? You may need to remove or rename the categories or the pages.

    Best regards,
    Ismael

    #989630

    One of the pages shares the name but the other doesn’t. The commonality between the two is that both pages which are displaying IN the feed also display the feed ON them. I tried renaming the page which shares the category name and it didn’t make a difference.

    Shouldn’t it only display posts anyway? Any idea why it’s including pages at all?

    Would it be possible to write a function to override the query so it only returns posts?

    • This reply was modified 6 years, 4 months ago by Rustybucket.
    #989765

    Hi Rustybucket,

    Here is a thread for you to consider
    https://kriesi.at/support/topic/pages-showing-in-blog-posts-module-with-grid/

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #989773

    Thank you Victoria, those two pages had had categories added to them somehow. I will review my code to find what caused the issue but for now it is fixed.

    Thanks again. Excellent support as always.

    #990044

    Hi,

    Thanks for the feedback. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #990271

    Can be closed. Thanks again.

    #990551

    Hi,

    Great, thanks for letting us know. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Blog posts content element displaying pages’ is closed to new replies.