WordPress.org

Ready to get started?Download WordPress

Forums

UnPointZero Slider
plugin display issue (2 posts)

  1. Tanner Moushey
    Member
    Posted 2 years ago #

    Hello! I just started using your plugin and love it!

    I did experience a problem with the plugin positioning when using the shortcode, the plugin would display above the content no matter where I put the shortcode.

    I did a little hacking at line 439 on upzSlider.php and found that this fixed the problem:

    ob_start();
    include(WP_CONTENT_DIR .'/plugins/unpointzero-slider/Slider.php');
    $output_string = ob_get_contents();
    ob_end_clean();
    return $output_string;

    I came to this solution from this post: http://wordpress.org/support/topic/plugin-called-via-shortcode-appears-at-the-wrong-place-on-post?replies=5.

    Anyway, thanks for the great work!

    http://wordpress.org/extend/plugins/unpointzero-slider/

  2. UnPointZero
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Tanner,

    Thank your for this ! I'll edit the code on next version :).

    Happy to see you enjoy the plugin !

    Feel free to ask if you need something.

    C ya !

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic