finid
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Bluehost has throttled my site. Need advice ASAP!I’ve had the same issues. I think it still happens but not as bad. Check the query logs just like the one you posted and see if a plugin is responsible for the queries.
If it will not break your site, disable the plugin and watch the trottle graphs from your cPanel.
That should give you a very good clue what’s going on.
Thanks for the tip. A curious thing is happening. With or without wp_reset_query();, the element I’m trying to add atop the custom footer shows up under the header instead.
So rather than add the element atop the custom footer, I just decided to place it within the custom footer. Works now. Not what I really wanted, but it’s better than nothing.
Sometimes the code will not display if written as in production, so all those spaces are intentional.
Thanks
Forum: Fixing WordPress
In reply to: Very slow db query timesI am using “Day and name” permalinks, and that is the way it’s been since the site went live more several years ago.
What type of AJAX errors did you get? Nothing in the logs points to any specific errors.
Forum: Themes and Templates
In reply to: Is this the right call for is_home?Thanks, it worked. For the benefit of others, here’s what I did:
I have two sidebars – sidebar.php, which I want displayed when the home page is being viewed, and sidebar-right.php, which should be displayed when a post is being viewed.
In the file single.php, replace
<?php get_sidebar() ; ?>with<?php if ( is_home() ) { // Display regular sidebar get_sidebar(); } else { // Display other sidebar get_sidebar('right'); } ?>You may view the result at LinuxBSDos.com
Forum: Themes and Templates
In reply to: Is this the right call for is_home?Thanks for the tip. Will tweak it and see how it plays out.
Forum: Themes and Templates
In reply to: Is this the right call for is_home?I’m actually getting the same sidebar all the time. The other sidebar is called sidebar1.php. The regular one is sidebar.php.
Forum: Fixing WordPress
In reply to: switching to php 5Thanks. Will try to get it done in a couple of days
Forum: Fixing WordPress
In reply to: WP messing up the <object> tagThank you very much
Forum: Plugins
In reply to: AskApache Password Protect – New Pluginonce enabled, how do you disable this? do you need to delete the folder?