jQuery Vertical Scroller
[resolved] the_ID() is altered (3 posts)

  1. mulli.bahr
    Posted 2 years ago #

    I am using the plugin's shortcode in page content. Works fine.
    BUT, it losses the current $post data.
    Most likely a bug. The $post of current post must be restored
    at the end of the plugin's code.

    Any solution?


  2. mulli.bahr
    Posted 2 years ago #

    Here is the bug fix, as expected $post was not restored when using shortcode. You need to add a single line at the very bottom of:
    sg-jqvs-widget-plugin.php, just above the line with return statement.

    $post = $tmp_post; // restore $post
        return $myscroller;

    Good luck.

  3. Vamsi Pulavarthi
    Plugin Author

    Posted 2 years ago #

    Thank You for giving me the solution mulli.bahr. I will add this to the next version.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • jQuery Vertical Scroller
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.