Cloud Template overriding queried posts

Posted in: Newspaper
Post count: 162

We are using welaunch’s plugin to provide custom descriptions, headers, footers etc. for each category. In a manner similar to the way Woo Page Description module is working but the welaunch team have produced this plugin https://www.welaunch.io/en/product/woocommerce-advanced-categories/ that adds complimentary definitions in each category that further improves the SEO of the shop.

The integration is rather simple: You just add shortcodes like these:
[woocommerce_advanced_categories_footer_text term_id=””]
You can set the term_id or, when not set, it will try to get the current term (category or attribute) data automatically.

Well this is happens to most wordpress/woocommerce template but not on TagDiv. So we have to implicitly specify the term_id for the content to be presented. This means writing (in our case about 100 different category templates!).

Following the examination of the situation by the welaunch engineers they asked us to convey to you their findings:

“it seems the “cloud template” plugin is overriding the queried object (see attached). Normally the current quried object should be the category but they change it to this post: https://femmefatale.ecode.gr/wp-admin/post.php?post=28380&action=edit

Tell the plugin devs to not override queried posts OR at least return the queried post to original state.



It will be great if you can guide us on how we can bypass the override.

  • This topic was modified 4 years by dimitrisv. Reason: spelling
Post count: 21065

Hello @dimitrisv!

I understand the benefits of this kind of plugin, but we have not tested this welaunch’s plugin. I will pass this issue to our developers, so I hope we could find a way to fix this.

Thank you for understanding!

Post count: 162

Thank you Bettina.
Just to say that this is not happening in all cloud templates. For example in the product cloud template we added their shortcode for adding a product to wishlist and the shortcode “gets” the ID of the product without having to explicitly define it.

https://femmefatale.ecode.gr/product/azzaro-chrome-edt-200ml/

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