• Resolved jose36

    (@jose36)


    Hello all

    I’m kinda a newbie to this and I need help. I’ve been creating a webpage theme from ground up and I would like to use Meta Slider on the front page, but I can’t get it to work. The slide won’t work no matter what I do, I’ve used these and it won’t work.

    <?php echo do_shortcode(‘[metaslider id=”74″]’); ?>

    [metaslider id=”74″]

    Feels like it’s missing some code from the “functions.php” file, please tell me how can I make this work.

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @jose36,

    You might just need to use echo do_shortcode(‘[metaslider id=”74″]’);

    It depends on if you are already “inside” the opening and closing php tags

    <?php ?>

    And [metaslider id=”74″] would just go into a standard WordPress post type or widget.

    Let me know if that doesnt work still.

    Thread Starter jose36

    (@jose36)

    Thank you for the help, but I was able to solve it with my teachers help.

    He told me that I was missing from my header.php and footer.php these snippets of code and the slider started to work just fine.

    <?php wp_head(); ?>

    <?php wp_footer(); ?>

    That way the slider could do it’s own JQuerry stuff

    Hi @jose36,

    Glad you got it working! Yeah leaving those out will cause some issues ??

    By the way, if you’re enjoying the MetaSlider plugin please leave us a 5-star review. They really help us out. Thanks!

    https://www.ads-software.com/support/plugin/ml-slider/reviews#new-post

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Creating a Slide’ is closed to new replies.