Support » Plugin: WP LinkedIn » Changing Recommendation Scroll Speed

  • Resolved sparkleflavor



    Thanks for this awesome plugin! Sorry to bother you with this.. but I’m a JQuery newb… my quotes are a bit long, and I’d like to slow down the scroll speed.

    Assuming this is the right code to alter from recommendations.php file:

    (function($) {
    	var h = 0;
    	$('#<?php echo $divid; ?> .items blockquote').each(function() {
    		h = Math.max(h, $(this).height());
    	$('#<?php echo $divid; ?>').height(h);
    	$('#<?php echo $divid; ?>').scrollable({circular:true}).autoscroll({autoplay:true,autopause:true});

    If not a simple fix… if you have any resources you direct me to — I’ve done a bunch of searching… The closest I’ve come is a recommendation to use a window.setTimeout(nextSection, 1000, $(this));from this link:

    But I’m not sure how to integrate it. Any advice would be greatly appreciated.


Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Claude Vedovini



    The documentation for the scrollable is here:

    Basically you just need to add a speed speed argument like:

    $('#<?php echo $divid; ?>').scrollable({circular:true,speed:200}).autoscroll({autoplay:true,autopause:true});

    Plugin Author Claude Vedovini


    There’s now a interval argument to the shortcode to set the time interval between the scroller moves.

    Where do I add the above code? Please see my site, I cannot slow down the scroll and am not an expert coder.

    Thank you.

    Plugin Author Claude Vedovini


    Stephanie, the interval attribute in the shortcode is what you are looking for, something like:

    [li_recommendations interval=”4000″]

    the interval value is in ms

    Okay, thanks. Do I add this to the recommendations.php file? Sorry, I am trying to take a crash course on shortcodes. 🙂

    Plugin Author Claude Vedovini


    For a crash course on shortcodes you can try this:

    Shortcodes are to be put in posts and pages. Widgets in sidebars.
    From what I see on your link you put the recommendations widget in a sidebar which is fine, the scrolling speed is to be indicated (in milliseconds) when you setup the widget.

    Now you setup 700ms which way too fast, you’re looking for seconds so something like 7000 will be better

    Thanks so much. I have changed to 7000 and even 20000 and it still won’t slow down. The Theme, vcard, is only giving me the option to add the widget to the sidebar, though it appears in the page. Thanks for the shortcode link. I will keep trying. 🙂

    I added the shortcode to my page and remmoved the widgets. I have the interval set at 12000 and still flying by. I guess this is learn in babysteps? I sure appreciate your patience Claude.

    I followed the above and modified the .js file. It worked!!! Yeah! It is going slower, now I just want to increase the characters displayed.

    Thank you!

    Plugin Author Claude Vedovini


    I don’t know what you are doing but it’s definitely wrong.

    don’t change the plugin’s files, any modification you do will be overridden when you next update to a next version.

    shortcode usage is fairly simple, you just need to write down the shortcode in your post or page content. like so:

    [li_recommendations interval=”4000″]

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Changing Recommendation Scroll Speed’ is closed to new replies.