• Resolved ldixon789

    (@ldixon789)


    Is there any way to define the id of your metaslider?

    I’m working on a multisite, where the metaslider is coded into the theme header.

    I’m using <?php echo do_shortcode(‘[metaslider id=”1234″]’); ?>, but that will only work for one site as other sites have different metaslider ids

    I would like to be able to set the main metaslider on all sites to have the same ID so that they them will work on all sites.

    Thanks for your help

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @ldixon789,

    It might be possible in a different way but I would need more information. Who will create the MetaSlider? Each user will create their own?

    Do you have programming experience? You could instruct your users to give the name “Home” to the slider they want to use, then you could write a script to find the ID of the slideshow that has an name of “Home”. It would take some trial and error but it can be done.

    Let me know if that helps.

    Hi @ldixon789,

    I’m going to mark this as resolved as we didn’t hear back,. but please feel free to comment or open a new issue if needed, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Define metaslider id’ is closed to new replies.