WordPress.org

Ready to get started?Download WordPress

Forums

WP Parallax Content Slider
Slider position with shortcode (6 posts)

  1. match858
    Member
    Posted 1 year ago #

    Hi, great slider just what I was after and after a little css adjustment it fits my look nicely too.

    Just 1 problem, when I add the shortcode to the bottom of a page's content, the slider appears at the top of the content. I need the slider to appear where I put the shortcode, how can I achieve this please?

    Cheers, Matt

    http://wordpress.org/extend/plugins/wp-parallax-content-slider/

  2. wp-maverick
    Member
    Plugin Author

    Posted 1 year ago #

    Hi match858,
    the #daslider CSS style define a relative positionning for the slider container so I guess you must have misplaced the shortcode in your page or maybe your theme use absolute positionning?

  3. wp-maverick
    Member
    Plugin Author

    Posted 1 year ago #

    Hi match858,
    Someone have told me that there was a wordpress support thread about that problem :
    http://wordpress.org/support/topic/shortcode-output-always-appearing-at-top-of-page-content

    Is this your problem?

  4. match858
    Member
    Posted 1 year ago #

    I'm not sure I understand.

    Do you mean is this me? The answer is no.
    Do you mean do I have the same issue? The answer is no, other shortcodes position as perfectly. This lead me to believe that the issue was with your plugin.

    I have told you of the workaround I a using on your web site http://jltweb.info/realisations/wp-parallax-content-plugin/ under the username Matthew

  5. wp-maverick
    Member
    Plugin Author

    Posted 1 year ago #

    Ok,
    I didn't know that you were the same person ;)
    I'll try to find out why my plugin has a problem with shortcodes but I don't have a lot of time right now :(
    Thanks again for using this plugin!

  6. Djurisko
    Member
    Posted 1 year ago #

    Here is the solution:
    Find function parallaxcontentslider_shortcode_call
    and then instead of this line:
    get_wp_parallax_content_slider2( $categ );
    insert this bunch of code:
    ob_start();
    get_wp_parallax_content_slider2( $categ );
    $output_string=ob_get_contents();
    ob_end_clean();
    return $output_string;

    Cheers

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.