Home Forums Free Themes Business Hub Insert a shortcode into Main Page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #42767

    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

    #42770
    wensolutions
    Keymaster

    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!!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.