September 28, 2016 at 12:42 pm
Hi Kadence, I’m trying to find the better way to set an After Header Banner for a category of posts only. This banner may be shown for all the single posts and the archives page templates for this category only. I made a banner for each language with Kadence Slider Pro, so I have a shortcode for each language.
I successfully did it but with a lot of CSS. I really would like to heard from the Kadence Team what could be a cleanest way. I’m considering to code it in php in the child theme templates, but I’m not sure how to do it, as I need to keep it user-friendly for the webmaster.
What I did for now (with a lot of css):
I added all the 3 shortcodes* (for the 3 languages) to the Sitewide after Header Shortcode (in Theme Options > Main Settings)
And I hid each banner using css for the other blog categories and the pages where I don’t want this banner.
*Note: I currently have the Virtue Premium version 3.7.4 installed (I will update soon) and the Sitewide after Header Shortcode string isn’t available for translation in the Polylang table. I didn’t find into the theme changelog or into the version 3.8.6 wpml-config.xml if that string was recently added for translation. If not, please could you tell what I need to add to wpml-config.xml into my child theme?
Thanks in advance