Help displaying posts by custom taxonomy (Location) in Newspaper v12.7.1

Posted in: Newspaper
Post count: 4

Hello tagDiv Support Community,

I’m using Newspaper Theme v12.7.1 for my site https://www.diplopolis.com.

I’ve created a custom taxonomy called “Location” using the Custom Post Type UI (CPT UI) plugin. Based on all that I have read, the taxonomy is attached to standard Posts and set to be public, queryable, and has archives enabled.

My goal is to display articles grouped by their Location — for example, all posts tagged “Europe”, “Ukraine”, “Russia”, etc.

What I’ve tried so far:

Confirmed that the taxonomy appears in the WordPress admin and that posts are assigned to their respective Location terms.

Flushed permalinks by going to Settings>Permalinks and Saving Changes.

Enabled the taxonomy in Theme Panel → CPT & Taxonomy. I see Location listed there.

Attempted to use tagDiv Composer → Flex Loop / Loop Grid/Custom Field and couple of other elements, but I cannot find a clear way to filter posts to be displayed by my Location taxonomy.

I also created a Cloud Library → Custom Taxonomy template and assigned it to “Location”, and made it Global but the archive pages still do not display the posts as expected.

I’ve read the documentation on CPT, but I’m still unable to get posts to display per Location on either the archive pages or custom pages.

Could you please guide me step-by-step. It would be very helpful if you could provide me all the steps just in case I have missed something:

Which Element/Module to use for display and the correct way to configure the element/module to show posts filtered by the Location taxonomy.

Any additional theme settings or steps I might have missed to make the taxonomy available to Composer filters.

Whether there are any known compatibility issues with CPT UI in v12.7.1.

Any screenshots or references to the right documentation/video would be much appreciated.

Thank you for your help!

Best regards

  • This topic was modified 10 months by sunnypeter.
Post count: 35449

Hi,

For each block that is not a loop you can use tagDiv Composer and edit it, select the block and check the filter tab, there you can set the taxonomy to filter the articles by that taxonomy https://i.imgur.com/WKH62Zz.png https://i.imgur.com/UVt0aVn.png https://forum.tagdiv.com/flex-block-settings-guide/

If you are using a category/taxonomy template, then you can use the loop element this will filter automatically the articles after the current category/taxonomy, or in case you are using a flex block use the special filters and choose the one according to the template, for exampl,e if it’s a categor,y select current category, if is a taxonomy, current taxonomy https://i.imgur.com/YJmtNZR.png

Thank you!

Post count: 4

Thank you very much for your response. I will try to follow the instructions provided and report back

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