• Resolved forestwordpress

    (@forestwordpress)


    I want megaslider to show on the Home page only.
    But at present it is showing on Posts as well – I would like to prevent that please.

    The page I need help with: [log in to see the link]

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

    You can use the restrict_to attribute.

    Please see the documentation https://www.metaslider.com/i-only-want-to-show-the-slideshow-on-my-homepage-how-can-i-do-that/

    Thread Starter forestwordpress

    (@forestwordpress)

    Thank you
    I entered [metaslider id=”3000″ restrict_to=”home”] on the Home page and then the slider did not appear on the Home page anymore and still appeared on the posts.

    Hi,

    The shortcode you copied won’t work because the id value 3000 is just an example. You need to change the 3000 to your actual slide id.

    [metaslider id=”your_slide_id_here″ restrict_to=”home”]

    Also, since you’ve added the wrong shortcode on the homepage, then it should not supposed to work on your posts page. I’m guessing a separate shortcode was added on your posts page.

    In that case, this isn’t an issue of MetaSlider. The issue is how the MetaSlider was embedded to your theme. Unfortunately, I don’t have access to your site nor have the idea on how your theme works. You might want to contact your theme developer to resolve the issue.

    Thanks,
    Arreane

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Prevent megaslider on posts’ is closed to new replies.