• Resolved nbh

    (@nbh)


    Hi,

    I’m a developer and i would like to use your plugin to create sliders programmaticaly and execute their shortcodes.
    I have add the slider and its meta settings also images as posts on the database, but when i return to Metaslider admin interface, it has not import items (images) related to the slideshow.

    can u help to solve this? what i need to add also to make it works?

    Thanks

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

    If you look in metaslider.class.php and the get_slides method you can see the query we use to get the slides in the admin area. You can start there and make sure that query is picking up your slides from the database. There’s also a filter there if you need to alter the query.

    $args = apply_filters('metaslider_populate_slides_args', $args, $this->id, $this->settings);

    Thread Starter nbh

    (@nbh)

    Thank you @kbat82, that’s help me, i solve it.

    Hi @nbh,

    That’s great to hear! I’ll mark this as resolved. By the way, if you’re enjoying MetaSlider please leave us a 5-star review. They really help us out. If you don’t think we deserve the 5 stars please let us know how we can improve. Thanks!

    https://ww.wp.xz.cn/support/plugin/ml-slider/reviews#new-post

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

The topic ‘how to add new slideshow programmatically’ is closed to new replies.