Tagged: no images, not displaying
-
AuthorPosts
-
April 16, 2016 at 11:23 pm #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, 7 months ago by ColinWalton.
April 18, 2016 at 7:32 am #616122Hey 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, 7 months ago by Rikard.
April 18, 2016 at 10:33 pm #616852HI 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?
April 18, 2016 at 10:34 pm #616853PS – Rikard, I have now taken this function off otherwise my client’s website won’t display at all !
April 18, 2016 at 10:56 pm #616870Hi!
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 forumBest regards,
YigitApril 18, 2016 at 11:12 pm #616895I 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.
April 19, 2016 at 9:31 am #617243Ok 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 32April 19, 2016 at 9:33 am #617245I 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.
April 21, 2016 at 5:40 am #618883Hi Colin,
Great, glad you got it working. We’ll leave the thread open in case you should run into any more trouble.
Cheers!
RikardApril 21, 2016 at 11:16 am #619041Thank you. Actually I AM having more problems with the same website:
Hopefully you can work a miracle on this?
Thanks
-
AuthorPosts
- The topic ‘Upgraded but now images in sliders do not display?’ is closed to new replies.