WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. rodgerholl
    Member
    Posted 1 year 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>
    [ic_do_slider]
    <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.

    http://wordpress.org/extend/plugins/ivycat-ajax-slider/

  2. Daniel Gilfoy
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks Rodger,

    We'll get this implemented and updated ASAP.

  3. ivycat
    Member
    Plugin Author

    Posted 1 year 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

Tags

No tags yet.