- This topic has 1 reply, 2 voices, and was last updated 9 years ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.


Home › Forums › Free Themes › Business Hub › Insert a shortcode into Main Page
Where should I insert a piece of shortcode in main page? I would like to insert a shortcode to be shown under slider? Thank you
Hello @serdarangungmail-com,
The theme does not have the widget area under the slider . However there are other widget area like sidebar and footer widget area where you can add the short code through the text widget .
To insert the short code you have to add text widget in one of these widget area .
Now you have to insert the below given code in your child themes functions.php file :
add_filter('widget_text','do_shortcode');
You can also create the child theme using the plugin below:
https://wordpress.org/plugins/wp-child-theme-generator/
Hope this helps.
Best Regards!!
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |



