How to parse shortcode absolutely everywhere in Themler theme

Stagger Lee
1833 Posts
Stagger Lee posted this 15 May 2016

Just small snippet. You can add it to Docs, very useful.
Settings - Additional CMS Code.

add_filter('theme_body', 'do_shortcode');

Just small snippet. You can add it to Docs, very useful. Settings - Additional CMS Code. add_filter('theme_body', 'do_shortcode');

Last edited 15 May 2016 by Stagger Lee

Vote to pay developers attention to this features or issue.
5 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 16 May 2016

Hi,

Thank you for the input.
I've created a doc page:
- WP Tips and Tricks

And this is for Woocommerce and Virtuemart if needed:
- Woocommerce Tips and Tricks
- Virtuemart Tips and Tricks

Thank you,
Olivia

Hi, Thank you for the input. I've created a doc page: - [WP Tips and Tricks](page:57268) And this is for Woocommerce and Virtuemart if needed: - [Woocommerce Tips and Tricks](page:67129) - [Virtuemart Tips and Tricks](page:67028) Thank you, Olivia
Stagger Lee
1833 Posts
Stagger Lee posted this 16 May 2016

Oilvia, you can solve many Items from Wishlist with filters & actions. Just check how Customizr theme framework does it.

For instance your coders did not need to lose time on making an GUI option for showing icons in menu if parent item has subitems. They lost its time and this one is classic example for filters/actions for Settings - Additional CMS code.

Just write it in Docs and who needs it they are there.

Oilvia, you can solve many Items from Wishlist with filters & actions. Just check how Customizr theme framework does it. For instance your coders did not need to lose time on making an GUI option for showing icons in menu if parent item has subitems. They lost its time and this one is classic example for filters/actions for Settings - Additional CMS code. Just write it in Docs and who needs it they are there.
Support Team
Support Team posted this 19 May 2016

Hello Stagger Lee,
thank you for your suggestion.
However now it is not possible to allow end users to customize and change more in Themler as they could do. It is related to Themler specific. But we'll pass the suggestion to our developer team to consider it

regards,
Aileen

Hello Stagger Lee, thank you for your suggestion. However now it is not possible to allow end users to customize and change more in Themler as they could do. It is related to Themler specific. But we'll pass the suggestion to our developer team to consider it regards, Aileen
john106
39 Posts
john106 posted this 14 June 2016

Just small snippet. You can add it to Docs, very useful.
Settings - Additional CMS Code.

add_filter('theme_body', 'do_shortcode');

This crashes Themler in our Joomla 3.5 template. After adding the code, we get
"Call to undefined function add_filter() - Joomla". Then a "PHP fatal error in the functions_additional.php on line 4. Call to undefined function add_filter()..."

> Just small snippet. You can add it to Docs, very useful. > Settings - Additional CMS Code. > > add_filter('theme_body', 'do_shortcode'); This crashes Themler in our Joomla 3.5 template. After adding the code, we get "Call to undefined function add_filter() - Joomla". Then a "PHP fatal error in the functions_additional.php on line 4. Call to undefined function add_filter()..."
Support Team
Support Team posted this 17 June 2016

Hello,
this is the WP specific code

add_filter('theme_body', 'do_shortcode');

You cannot add it to Joomla themes.

regards,
Aileen

Hello, this is the WP specific code add_filter('theme_body', 'do_shortcode'); You cannot add it to Joomla themes. regards, Aileen
You must log in or register to leave comments