• Resolved fran330

    (@fran330)


    Hello,
    My theme is Divi.

    The slider works when I insert it in a page but it doesn’t when inserted in a template (header, index, etc). When I try, my website gets totally blank.

    The code I inserted (as advised in your doc):
    <?php echo do_shortcode([huge_it_portfolio id=1]); ?>

    I hope you can help, since your plugin seems great !
    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter fran330

    (@fran330)

    Me again 😉

    I went around this problem by creating a widget area in the header template, and by using your widget “Huge-IT Slider”. That way it works perfectly.

    I’ll then mark this as resolved.
    Thanks a lot for a great plugin 🙂

    Dear fran330,

    Thank you for contacting us.

    That is great! We are very happy you could manage to solve the issue you had.
    Thanks a lot for keeping us updated.

    If there is anything we can help you with, please, let us know.
    Regards,

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Doesn’t work when inserted in template’ is closed to new replies.