Add Different Optin Form Short Code Per Post Category?

Posted in: Newspaper
Post count: 33

Hello I need to add different optin shortcodes to different categories.
How can I do this, for example I have categories 1 thru 5
Category 1 Requires optin form short code 1
Category 2 Requires optin form short code 2
Category 3 Requires optin form short code 3
Category 4 Requires optin form short code 4
Category 5 Requires optin form short code 5

I just want place the optin short codes directly under each post..

~Thanks

Post count: 27744

Hello,

If I understood correctly, you need to duplicate the category template for each category and set the shortcode in column tet or text with title -> https://forum.tagdiv.com/topic/can-not-add-a-shortcode-for-a-form-on-pages/
Check this topic: https://forum.tagdiv.com/topic/different-logo-in-categorypage/ here is explained step by step how you can duplicate a template.
If this is not what you mean, please let me know!

Thank you!

Post count: 33

No not really I mean that, I don’t want to duplicate the category template at least I don’t think I do..

Well For Example, Lets say I have these sub categories

http://www.mysite.com/video/subcategory1/post-name
http://www.mysite.com/video/subcategory2/post-name
http://www.mysite.com/video/subcategory3/post-name
http://www.mysite.com/blog/subcategory1/post-name
http://www.mysite.com/blog/subcategory2/post-name
http://www.mysite.com/blog/subcategory3/post-name

I need to place a optin short code in each sub category post
but for each subcategory the optin code (short code) is different
due to the different sub categories and email subscribers opting in to different email lists..

So how can I make it so that the different optin short codes can be placed to display in each sub category or category/subcategory?

Post count: 27744

Hello,

For what you want to achieve you need to assign an individual cloud template for each subcategory where you want to apply the shortcode because you said the code is different.
so if you have a global template, the code which you set for a subcategory will apply for all subcategories which use that template.
I hope the information is more understandable now.

Thank you!

Post count: 27744

Hello,

For what you want to achieve you need to assign an individual cloud template for each subcategory where you want to apply the shortcode because you said the code is different.
so if you have a global template, the code which you set for a subcategory will apply for all subcategories which use that template.
I hope the information is more understandable now.

Thank you!

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