Data hirachy Category-Cloud-Template (base) and particular Category-Template

Posted in: Newspaper
Post count: 6

Hi,

we are new to the Newspaper theme and have an issue with cloud templates. We downloaded an example template, duplicated it and assigned it to 3 different categories.

After setting up the cloud-template we go to the category page (frontend) in the browser and click “edit with tagdivComposer”.

The problem:
While we can edit for example Headlines for that category without problems the issue is that settings we make that way regarding category-filters in for example “Block 3” (kind of post loop) are synchronised in every category using that cloud-template. We want to use the same “Layout” on all 3 category pages but of course we need to set different settings on modules. We could duplicate the cloud-template a few times and only change the filter settings in the “loop-modules” but that doesn’t feel right. In case we want to rearrange positions of modules we would have to so it multiple times.

Hope you can clarify how to do this in a clean way.

Best regards,
Karsten

PS:
Just in case I was not clear:
Let’s say we have the categories “city” and “lifestyle” – to both assigned the same cloud-template.
In the cloud-template we have included the “Block 3” module. When going to the “city” category page (frontend but logged in) and edit the Block 3 module via “edit with tagDiVComposer” and set the filter like “display 8 posts having category city or cars”, after saving we have the same results in the Block 3 module when visiting the lifestyle category page in the frontend, while headlines we edit exactly that way stay different. Both category pages need the Block 3 module (just an example) but different filters applied to.

  • This topic was modified 5 years by mikabo. Reason: Was not sure if I described the problem properly
Post count: 27744

Hi,

I think you set the wrong filter on the block set on a category page template if you want to display posts from a selected category you need to use the specifical filter => https://www.screencast.com/t/Tn5eTUmhR
If you use other filters on category page the blocks will display posts on each category.

Thank you!

Post count: 6

Hi,

so if I set any category filter other than “current category” the filter is not working independently on different category pages? If that is the case, is it possible to write hooks in PHP to overcome that issue?

Post count: 27744

Hi,

If set any category filter other than “current category” the filter then will be displayed on all category pages the same posts from a selected category (will not be specific for the current category).
I think it is possible, but this will require custom work which is not covered by the support team.

Thank you!

Post count: 6

Hi,

and thanks for your reply! I understand but: usually theme developers provide a little bit information about available WordPress/ theme hooks that we customers can use. Of course I don’t expect you to program anything special for us but can you provide some documentation that explains how to customize PHP code? Would be nice if you can send me a link because I couldn’t find anything on you website.

Best wishes
Karsten

Post count: 35449

Hi mikabo,
We have some documentation about standard templates from our theme, this can be find here -> https://i.imgur.com/ji8ajXC.png -> https://forum.tagdiv.com/api-footer-template-introduction/ unfortunately this documentation is not covering cloud templates, those are custom post types made by our developers to can be use with our theme builder and create new elements and style from basic elements. The new elements are store in database. All files that are use for wp-content/plugins/td-cloud-library for example the elements from each cloud template, author, category, single … are set here -> wp-content/plugins/td-cloud-library/shortcodes
Thank you for your understating!

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