Category page in homepage

Posted in: Newspaper
Post count: 44

Hi,

I would like to use the output of a category page on the homepage, including the page navigation.
I’m trying to get the effect of the “Homepage with article list” template, but in the “Homepage blank” template because I want to have something before and after the article list.

btw, I’m using Newspaper v4.

Any idea on how to get this done?
Thanks!

Post count: 3343

Hi,
You need to use the Homepage with article list. To add content after the pagination you need to add it manually in page template php using do_shortcode https://developer.wordpress.org/reference/functions/do_shortcode/ and add your content created from VC.

Thanks for the message!

Post count: 44

Thanks Marius, I’ll look into that solution.

Post count: 44

Marius, is it not possible at all to incorporate a category loop into the “Homepage blank” template?
I’ve tried using Homepage with article list but I’m not really getting what I would like…

Thanks.

Post count: 7909

Hi,

Using Homepage blank you can use a block to display articles from a specific category, but numeric pagination won’t work on blocks, only Next/Prev, Load more, Infinite load pagination work on them.
The only way to have a similar look like category template on a static page is to use Homepage with articles list template(you don’t have to use pagebuilder), like already Marius suggested, set the category and the module to display articles.

Thanks!

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.