• Resolved theanalyst

    (@theanalyst)


    Hi,

    I think meta-slider is really great plugin and my issue might be more of a problem because I am new to wordpress php, css and java nevertheless I am stuck with this problem for weeks now so I hope someone can help me.

    The task:

    I would like to automatically create a new empty metaslider each time a new post is created. Later I want to automatically add the slider to the corresponding post, but at the moment I would just be glad if the creation part would work.

    The problem:


    I thought about calling the “create_slider” function in the single.php (only for testing reasons): with: <?php create_slider(); ?>
    But I always get the error [Xampp setup]:
    “Fatal error: Call to undefined function create_slider() in C:\path\single.php on line 1”

    My guess is that I need to somehow reference to the function file, but I have no clue about how to do that.

    Best wishes,
    Andreas

    • This topic was modified 7 years, 9 months ago by theanalyst.
    • This topic was modified 7 years, 9 months ago by theanalyst.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there,

    I’ve not come across this scenario before and not sure if it’s possible.

    It might be that you could create an empty slideshow but then you will run into problems trying to associate this with the post it was created with.

    Meta Slider Pro does feature a Post Feed slide but not sure if this would match your requirements:
    https://www.metaslider.com/documentation/post-feed-tutorial/

    Thanks,
    Dave

    Thread Starter theanalyst

    (@theanalyst)

    Hi Dave,

    thank you alot for the great plugin and your fast response.
    I will look into it!

    Best wishes,
    Andreas

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Create new Meta-Slider for each new post’ is closed to new replies.