• Resolved sertefi

    (@sertefi)


    Hi Guys,
    Thanks for the awesome plugin.
    I need to display the list of sliders created by Master Slider, only a list of ID and/or alias to include them to my theme’s options panel.

    I looked through the whole code and googled it but noway, can you please help me with the piece of code??

    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor averta support

    (@averta_support)

    Hi,

    Thank you for choosing Master Slider.

    Please check out the below documentation:
    https://docs.averta.net/pages/viewpage.action?pageId=1737350

    If you need any further information, please let me know.

    Best,

    Thread Starter sertefi

    (@sertefi)

    Thanks alot for your help.
    I used this code bellow to display all the arrays data from sliders
    <?php
    global $mspdb;
    $master_sliders = $mspdb->get_sliders();
    print_r( $master_sliders );
    ?>

    is there any little snippet to display only the list of ID using the code bellow.I tried all the ways possible(for me since I am not that devy)
    I would appreciate if you can help me with that.

    Thread Starter sertefi

    (@sertefi)

    Found it,it was as easy as I thought, if anyone needs it.

    global $mspdb;
    $master_sliders = $mspdb->get_sliders();
    foreach (  $master_sliders as $slider_id ) {
    echo $slider_id['ID'];
     }

    Thanks guys

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display list of slides names’ is closed to new replies.