synchole
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Moving plugin javascript to bottom of bodyThanks again for taking the time to look at my site.
I still don’t see where this extra script is coming from, when I look at yslow it shows that I only have 11 scripts in my head none of which are duplicates.
The only code I have for my slideshows on each page is a shortcode calling the gallery [galleryview id=#] That’s it, and only within each post. So I have no idea how to stop it from loading all those scripts on my front page as smooth slider, the content slider I’m using, is not reliant on NextGen gallery.
I was able to reduce the 8 images in my slider down to 168kb, which I can live with because any lower and I see the quality being effected by the compression.
The ultimate reason why our site is so slow (the backend is also incredibly slow as well) is because we’re on a shared server, we are switching over to a virtual server this week, I just wanted to make the site as clean and efficient as I could.Forum: Fixing WordPress
In reply to: Moving plugin javascript to bottom of bodyHi,
Thanks so much for your response.
These are the scripts that I’m linking to in my header:<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> <script type="text/javascript" src="wp-content/themes/centurion/style/js/loopedslider.min.js"></script> <script type="text/javascript" src="wp-content/themes/centurion/style/js/functions.js"></script> <script type="text/javascript"> function unhide(more_details) { var item = document.getElementById(more_details); if (item) { item.className=(item.className=='hidden')?'unhidden':'hidden'; } } </script>
I can’t see how the js for the next gen gallery is installed twice, also I thought I was linking to the Google API copy and not my own. The loopedslider script is for the picture slider in my sidebar which is using 8 photos which when uploaded were only 655kb.
The plugins that I’m using are:
Smooth Slider (for the content slider on the home page)
NextGen Gallery (To allow each product to have its only gallery)
NextGen Galleryview (To style the gallery slider for each product)
I would love to not have to use any of these plugins, but sadly with my limited javascript knowledge I don’t know how to get all the features I need. The only script I can move to the bottom right now is my hidden div script which doesn’t really make a difference to the speed.eqhes you are a genius!
This is brilliant, thank-you!Forum: Fixing WordPress
In reply to: Default dynamic sidebar code invalidating my pageBrilliant! Thank-you!
Forum: Fixing WordPress
In reply to: Permalinks break picturesJust in case anyone else has this problem, I eventually did find a solution, however it only works if your images are wrapped in an anchor tag, which luckily mine were.
add
<base href="<?php echo get_settings('home'); ?>" />
to your head tag.Forum: Fixing WordPress
In reply to: Removing 'Continue Reading' from ExcerptsBrilliant! Thank-you very much.
Forum: Fixing WordPress
In reply to: Removing 'Continue Reading' from ExcerptsYes, both the functions.php in my wp-includes folder and the functions in my theme folder, the first one broke my site completely so I decided not to mess with that file any more and the second one made no difference what so ever.
Forum: Fixing WordPress
In reply to: Page sorting issueWow, thank-you! I would never have thought to look at my floats. That solved it.