I got a message from Hostgator about my account being suspended because of the load it put on their servers. This is about the fifth time this has happened....
function get_nb_offres( $typeOffre ) { global $type_bien_correspondances; $args = array( 'post_type' => 'annonces', 'meta_query' => array( 'relation' => 'OR' ) ); foreach( $type_bien_correspondances[$typeOffre] as $typeBien ) { $args['meta_query'] =...
There are many WordPress plugin or themes with nearly same functionality and features but, how can I measure the performance of any plugin or WordPress theme other than using...
I have been trying to figure out a way to make this work for awhile. I have a site, pizza shop. It has a promo, two pizzas. The product...
Closed. This question is off-topic. It is not currently accepting answers. Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or...
I have about 10k posts and I made a page that lists all posts but it is paginated every 54posts. It gives 131 queries in 6.730 seconds which is...
I know I am a newbie here, but I’m just wondering, if you keep extra themes in your WordPress setup, will it add bloat to your site? Can these...
I installed WordPress on my Ubuntu server. I only have 3 blog posts but it reaches max_connection within an hour. So whenever a user visits my blog it shows...
I randomly get high spikes in CPU and Memory. I have deactivated nearly all plugins trying to find the culprit. I have been turning on a few at a...
I am writing some functions to display Custom Fields across multiple templates. Rather than getting each CF like so: $var = get_post_meta($post->ID, 'my_cf_key', true); and then checking if the...