Archive of all posts without standard pack

Posted in: Newspaper
Post count: 209

Hello!

I have a page with an archive of all my posts. For this, I set up a page with the template “pagebuilder +latest articles + pagination”. Works good.

But now I want to get rid of the “standard pack plugin”. But by disabling this plugin the template is gone and the archive looks like a mess. I found no way to apply an archive-template to the page.

How to set up an archive page (latest articles) with all articles and a normal linked pagination and paged-urls (…/page/23)?

Post count: 18283

Hello !

You will have to edit that page using tagDiv Composer and replace all the blocks in there with flex blocks. You can try and disable the standard pack, open the template with tagDiv composer and look at all the elements that you will have to replace.

Thank you !

Post count: 209

Hello Vlad,
I need a normal paged, numbered and linked navigation through the archive with links as ../page/2/ ../page/3/
With which flexblock offers this navigation?

Post count: 35449

Hi be2name,

If this is the archive page, then you can import it from cloud template and assign it in theme panel -> https://i.imgur.com/FaERFeG.png -> https://i.imgur.com/Fr0zdjw.png these templates can be edited using tagDiv Composer -> https://i.imgur.com/5MYYnUZ.png and you can use the post loop for pagination -> https://i.imgur.com/LPx34mr.jpg

Hope this will help you!

Post count: 209

Hello Calin!
Great! Thank you! This works for posts.
But I’d like to show not only posts, but also the CPT podcast. There seems to be no filter-option for post-types in the post loop like in a flex blog. How can I show CPT podcast also?

Post count: 35449

Hi,

Unfortunately the post loop at this moment can display only posts, as you said will not work for CPT, for these you need to use a flex block, these elements has a filter for CPT -> , but do not has a pagination option.

Thank you!

Post count: 209

Hello Calin,

can I somehow modify/hack the post loop, to make my CPT “podcast” appear?

It would be good to have a post-type filter in the post loop in the next version of Newspaper (or have a normal linked pagination for a flex bleck). By design it should be possible to disable the standard-pack-plugin and rebuild the same functionality. Now it’s unfortunately not.

Post count: 35449

Hi,

Unfortunately for the moment this can be achieve only with custom work, but I noted your suggestion on out list for improvements.

Thank you for your understanding!

Post count: 209

Could you point me to the file to edit?

Post count: 35449

Hi, if you want to make change for flex block 1 you need to check this file wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes/td_flex_block_1.php also the files for post loop can be found this path -> wp-content/plugins/td-cloud-library/shortcodes/common/tdb_loop.php
Maybe you can integrate the pagination from posts loop on flex block.
Hope this will help you!

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