Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #615598

    I have spent the evening updating all of my clients’ websites. Not only for Enfold but for Word 4.5 too. So far all have gone perfectly well (about 10 perhaps) then I have got to this one:

    http://peteranderson.net/test/

    Everything appeared to go ok and nothing in the Dashboard says anything wrong, but for some reason none of the images in EasySlider are displaying. There is one showing on the home and one on the Contact page, but these are just added using Add Media Elements – image.

    As a test I have created a new page (test) then added a straight forward image (girl with chicken) and then below it should be displaying the slide show, but nothing is visible – only the controls when rolled over.

    I have re-installed WordPress again but that made no difference. Tried disabling all of the plug ins – no change.

    Do you have any idea what is at fault and how to fix it?

    • This topic was modified 8 years, 8 months ago by ColinWalton.
    #616122

    Hey Colin,

    Clearing your browser cache and reloading a few times might help. If not, then please try adding this to the bottom of your functions.php file:

    function modify_jquery() {
    if (!is_admin()) {
    	wp_deregister_script('jquery');
    	wp_register_script('jquery', 'https://code.jquery.com/jquery-1.11.3.min.js');
    	wp_enqueue_script('jquery');
    }
    }
    add_action('init', 'modify_jquery'); 

    Regards,
    Rikard

    • This reply was modified 8 years, 8 months ago by Rikard.
    #616852

    HI Rikard,

    Thank you for the reply. When I add this function using Dreamweaver the script hinting says there is an error where the two closing curly brackets are (line 27 in my document).

    Uploading the document then says this:

    Parse error: syntax error, unexpected '}' in /data06/anderson/public_html/wp-content/themes/enfold-child/functions.php on line 27

    Should the two curly brackets be the other way round? I have tried different variations but haven’t managed to fix the problem as I don’t know enough about the correct syntax.

    Can you check and possibly see where the mistake might be?

    #616853

    PS – Rikard, I have now taken this function off otherwise my client’s website won’t display at all !

    #616870

    Hi!

    Do you mind posting FTP and WP admin logins here privately so we can look into it?
    Code is fine. Please make sure to copy it from the forum

    Best regards,
    Yigit

    #616895

    I am now getting loads of errors in the admin too, so have put back my original functions.php file and marked the other as faulty.

    #617243

    Ok have deleted the whole lot and just put the code from the forum, I now get this error:

    function modify_jquery() { if (!is_admin()) { wp_deregister_script(‘jquery’); wp_register_script(‘jquery’, ‘https://code.jquery.com/jquery-1.11.3.min.js’); wp_enqueue_script(‘jquery’); } } add_action(‘init’, ‘modify_jquery’);
    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /data06/anderson/public_html/wp-content/themes/enfold-child/functions.php:9) in /data06/anderson/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 32

    #617245

    I have now updated the theme to the latest version and thank goodness the problem is fixed. Phew!

    I will leave the user live in case you need to look at the back of the site, but otherwise it is now fixed THANK YOU.

    #618883

    Hi Colin,

    Great, glad you got it working. We’ll leave the thread open in case you should run into any more trouble.

    Cheers!
    Rikard

    #619041

    Thank you. Actually I AM having more problems with the same website:

    Hopefully you can work a miracle on this?

    Thanks

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Upgraded but now images in sliders do not display?’ is closed to new replies.