• Resolved suburbtosuitcase

    (@suburbtosuitcase)


    Hello – Since the recent theme update, my featured slider is not appearing to function properly. I recently removed the “Navigation” header that appeared using the custom CSS fix in a different post so that is working again. For the featured slider, I verified that I do still have the posts for the 7 slides I previously had in my slider and each is still pointing to the correct slide post number. However, only the first slide number is displaying. Any ideas on how to fix this? My site is below:

    http://suburbtosuitcase.com

    Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter suburbtosuitcase

    (@suburbtosuitcase)

    I’m not sure if it’s important to note, but I have a parent and a child theme. When I did the update, only one of these fully updated to the new version (from 1.3.7 to 1.4.3). Unfortunately, it’s not easy for me to determine if it was the parent or the child that did not update. I’m a relative beginner with WordPress and don’t have much in the way of coding skills, so hoping you can help. The message I receive upon trying to update that last theme is below:

    Unpacking the update…
    Installing the latest version…
    Theme update failed.
    An error occurred while updating Travelify: The package could not be installed. The package contains no files.

    Theme Author Silkalns

    (@silkalns)

    This update couldn’t affect slider functionality. There weren’t any changes around slider.

    You did updated your main theme installation and Child Theme remains untouched.

    Make sure you have slider setup properly via Theme Options and make sure if your other slider your are using for your theme is not conflicting with Travelify slider.

    Thread Starter suburbtosuitcase

    (@suburbtosuitcase)

    Thank you for clarifying that this unrelated to the update! It’s probable just a timing coincidence. Thank you for also confirming that my main theme is up to date. I can easily ignore the WordPress reminder to update the child theme because I’m guessing it never get/needs updates pushed anyway.

    On the featured slider options within Travelify, I verified that the “disable slider” option is not selected. I double checked that all 7 slides are identified correctly with valid post numbers specified in the options area. The “exclude slider from homepage posts” does have a checkmark on it but that’s because I do not use any homepage posts so I think that is functioning correctly.

    ON the potential interaction with the active Cyclone Slider 2 plugin that generates short code to include on individual pages, I do not see any obvious settings that would be conflicting with the Travelify featured slider. Is there any code that I could include in a child theme by any chance that could ensure that the Travelify featured slider take precedence on the home page to override anything that might be happening behind the scenes? I’m really a beginner so I’m just guessing right now. Any ideas you can offer would be much appreciated.

    Theme Author Silkalns

    (@silkalns)

    Try to disable Cyclone Slider 2, just to see if that doesn anything. From website source there is nothing suspicious about your website.

    If Cyclone Slider 2 will be the one causing problem you could just enqueue its scripts to now show in front page since you are not using it there.

    Thread Starter suburbtosuitcase

    (@suburbtosuitcase)

    When Cyclone is deactivated, your theme’s featured slider on the main page resumes. When it is reactivated, your featured slider once again stops so I think there is a conflict.

    I am guessing that your suggestion will work perfectly but since I am a beginner, I am not quite sure how to proceed. When you say, “enqueue its scripts to now show in front page,” is that some sort of code that can be included in a child theme? I did create one for another small modification, but I am not sure how to do this for the slider as you mentioned. Any suggestion would be appreciated. Thank you again.

    Theme Author Silkalns

    (@silkalns)

    I am not sure if this is the best practice for this plugin or anything but I am sure that it will work.

    Open plugin file called class-cyclone-slider-scripts.php located in plugin folder – classes.

    Now find the line 99 that says “Core Cycle2 Scripts”

    And add this right after that comment.

    if ( is_single() || is_page() ) {

    Now after all wp_enqueue_script add extra bracket “}” to close the previously created “if” statement.

    It should be right after

    wp_enqueue_script( 'cyclone-client', CYCLONE_URL.'js/client.js', array('jquery'), CYCLONE_VERSION, $in_footer );

    Now save changes and you will be ready to go.

    Before you start make sure you backup plugin files in case you screw something up.

    Thread Starter suburbtosuitcase

    (@suburbtosuitcase)

    Thank you! As a beginner, I was still able to follow these instructions and as you mentioned, it does work perfectly now. I appreciate the support you and others have provided promptly in these forums. Love the theme and have credited it in my FAQ as well. Cheers!

    Hy,
    I have also same problem, but obviously there is conflict with social gallery. It started to work as soon as I deactivated plugin.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Featured Slider Only Displaying 1 Photo Since Theme Update’ is closed to new replies.