Okay
  Public Ticket #310356
Recent Projects Autorotate
Closed

Comments

  • Gareth started the conversation

    Hi - Is it possible to have the Recent Projects carousel auto rotate?

    Thanks

  •   Tahir replied privately
  • Matt replied

    I am interested in having the Recent Projects auto rotate too. Is this possible?

  • Matt replied

    I found an answer here: https://themenectar.ticksy.com/ticket/158470 . Is there anyway for me to control speed of rotation, stop on hover, etc?

  •  8,994
    Tahir replied

    Hey Matt,

    You will likely have to edit the \"salient/js/init.js\" file and add in the initialization in there .

    Thanks


    ThemeNectar Support Team 

  • Matt replied

    Hi Tahir,

    Ok, I\'ll look into it. Thanks!

  • Matt replied

    Hi Tahir,

    I\'m trying to copy the init.js file to my child theme so my changes will stick through updates.
    like this, but without the comments:

    //function mod_init_load() {
    //if ( !is_admin() ) {
    // wp_dequeue_script( \'nectarFrontend\' );
    // wp_register_script(\'nectarFrontendChild\', get_stylesheet_directory_uri() . \'/js/init.js\', array(\'jquery\', \'superfish\'), \'5.5.4\', TRUE );
    // wp_enqueue_script(\'nectarFrontendChild\');
    // }
    //}
    //add_action( \'wp_enqueue_scripts\', \'mod_init_load\' , 100);

    While it dequeues the original script find and loads the modified version from my child theme folder, alot of what this script touches breaks. Is this because I\'m screwing with some relative links in there? If so, this is probably a bad idea to try to preserve my changes to it, right? Is there a better way to touch this part of the init.js file?

    Thanks,

    Matt

  •  8,994
    Tahir replied

    Hey,

    Please refer to this : https://themenectar.ticksy.com/ticket/260338/ .

    Thanks


    ThemeNectar Support Team 

  • Jan replied

    Hey,

    I want my Recent projects to autorotate, like normal carousel. Can you tell me how to do that? Link bellow is not working.

    Cheers,

    Jan

  •  8,994
    Tahir replied

    Please see:

    https://themenectar.ticksy.com/ticket/260338/
    


    ThemeNectar Support Team