How to include pages in post loop

Posted in: Newspaper
Post count: 17

Hi,

I created a category template with a post loop to show the articicles of the current category. How to include also static pages belonging to the same category?

Thanks
Gianpiero

  • This topic was modified 1 year by gc_envato.
Post count: 27744

Hello,

A workaround is to set a block with the posts and other block with the pages.

Thank you!

Post count: 17

So I cannot include both post type in the same loop. May be a future release?

Thanks

Post count: 27744

Hello,

You can set both post types, but it will be displayed on all pages and custom post types, not only on a certain page.

Thank you!

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