IvyCat AJAX Image Slider
[resolved] Suggested change (use return variable) (3 posts)

  1. rodgerholl
    Posted 3 years ago #

    I would like to see you wrap the code in the do_slider function so that it returns the generated html.

    You cannot control the placement of the html that the plugin generates within a page.

    Example. If you enter the following in a page,

    <p>Here is my cool slider</p>
    <p>Do you like it?</p>

    The way the plugin is generating the html, it will be inserted before the "Here is my cool slider". not between the text.

    you should add all the html to a variable, then use return $html; so that WP will insert the code in the correct location.

    Thanks for the code, it does a nice simple clean job.


  2. Daniel Gilfoy
    Plugin Author

    Posted 3 years ago #

    Thanks Rodger,

    We'll get this implemented and updated ASAP.

  3. ivycat
    Plugin Author

    Posted 3 years ago #

    New slider version has been pushed, feel free to update!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.