Home Forums ArileWP Pro Shortcodes in “Before Content” section

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3252
    Nicolas Göbel
    Participant

    Hi,
    is it possible to use shortcodes in the “Before” and “After Content” section options? I would like to use google maps and some other shortcodes on the front page, but the shortcodes are just displayed, not the shortcode module.

    Thank you in advance,
    Nicolas

    #3255
    themearile
    Keymaster

    Hi Nicolas

    Thanks for contacting us.

    You can use the Html code in the “Before” and “After” content option. But these options are not allowed any shortcode.

    If you want to use any shortcode for the front page then you need to use like the below code in the code file.

    <?php echo do_shortcode('[name_of_shortcode]'); ?>

    If you have any query please let me know.

    Thanks
    ThemeArile

    • This reply was modified 5 years, 2 months ago by themearile.
    • This reply was modified 5 years, 2 months ago by themearile.
    #3283

    Hi,
    I added the code you’ve posted here in the after content and filled in my contact form shortcode, but it doesn’t display my contact form…

    #3296
    themearile
    Keymaster

    Hi

    We have customized some code of the theme now you can able to add the contact form shortcode as you display on the homepage. So you don’t need to add the above code as we given.

    We released a new update of the theme so please go to your themearile account and get the new version of the theme then update your ArileWP Pro theme.

    Now you can add the shortcode after theme update and it will show on the homepage.

    Thank you.

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