Homepage latest articles – pages?

Posted in: Newspaper
Post count: 31

1.0 – Under “Filters for the loop” I see that under “Post type” I can use pages it says. However, doing so, nothing happens. I can’t get pages to show up this way.

2.1 – With Visual Composer I sort of get it to work with the “Post Grid” function – even after I made my own “Item Design” I can’t get it to work just like the normal “Homepage latest articles” – the pagination is very different – almost like a slider.

2.2 – Also, I can’t for the life of me figure out how to limit pages to for instance children of a specific ID.

0.0 – What I am after is looping children of the page I am on, just like articles. Imagine a page called “All items A-C” and I wan’t all pages that are children of this (items starting with A, B or C) to loop like articles.

  • This topic was modified 9 years by rjohansen.
  • This topic was modified 9 years by rjohansen.
Post count: 23312

Hello rjohansen,

1.0/2.1/0.0 Unfortunately, I do not exactly understand what you mean, sorry! Please provide more details about what you want to achieve, give me some useful screenshots so I can identify your section which you are referring to and also, so I will be able to provide a more accurate response.

2.2 Here, do you are referring to how you can limit the pages for latest articles if you are using the page template? (Pagebuilder+Latest Articles+Pagination). The theme does not have any such an option that allows you to limit these pages by a specific ID, sorry! If is not what you mean, provide more details.

Thanks for the message!

Post count: 31

It would be easier if you could attach images here. But I managed to get this working through a plugin that gave me the option of adding categories to pages. What I wanted was to instead of looping posts, I wanted to loop pages with pagination.

When you are on a page, and choose the template “Pagebuilder + latest articles + pagination” – you also get the block “Homepage latest articles” – it has three tabs: General, Post loop setings and Unique articles. Well, under “Post loops settings” you get a lot of options and filters, one of these is the option to use different kind of post types. In my case, I wanted to use pages, but I could not figure out how to for instance use only pages that where children of another page – so it just looped all pages.

But it feels like a “hack” to have to use categories for pages, in order to specify what pages I want in a loop, it would be much better if it also was a filter based on “Children of ID” for instance.

The site I am talking about is ondogbreeds.com – On the homepage I loop both pages and posts in the “Homepage latest articles” section, in the top grid I loop only posts. In the block below the top grid, I loop only pages from certain categories.

In the sub-pages like this one ondogbreeds.com/dog-breeds/a-c/ I then loop only pages with the category “a-c” and it’s working.

But if there is another way, other than adding categories to pages, in order too loop specific pages I would be very much interested. As I said, it just feels like a hack if you need an extra plugin to do it. Also, what if that plugin stops working at some point.

Post count: 22421

Hello,
Unfortunately the theme was built to show categories as they are not a post type. A category is a taxonomy which is very different from a post type. You cna show posts or pages or events or other custom post types in our theme blocks using the post type filed from block settings or the latest articles section under post loop settings as you mention above, but there is no option for showing a category page on the homepage. Sorry. I do not know of a plugin that can do this.
Thanks.

Post count: 31

I am not sure what you mean now. As I said earlier, I managed to get it to work by using categories for pages – with the aid of a plugin. However, as you already can loop pages from within the theme (and other custom post types for instance) – it really should be other options there as well, other than category or tag to sort them out by. For instance by using “children of” as a mechanism.

Post count: 22421

Yes, we are aware of the limitations but unfortunately, for the moment there are no options as you require. Sorry. Our theme blocks will not work with a custom taxonomy.

Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.