Add Excerpts To WordPress Themes

excerpt codes

There are 2 WordPress themes that I like to use, Twenty Ten and Twenty Thirteen for WP 3.6. The Excerpts is only applied to search by default. If we want excerpts to all main page, categories, and archives, we have to add some conditions in “content.php” for Twenty Thirteen and “loop.php” for Twenty Ten. Twenty

WP Super Cache Plugin Helps Reduce CPU Usage

All Web Hosting Services have different TOS (Term of Services). In 2011 we moved our blogs from justhost.com to inmotionhosting.com due to nodes limitation. Now with Inmotiohosting.com, we have another TOS warning “CPU usage” – Dognmonkey.com now has about 400-500 page loads daily and the CPU usage is over 100% average. So, we went to

How To Upload More Than 2Mb Default Limit By WordPress

04/26/2014 Update with version 3.9 – sample .htaccess where /wp39/ is /blogname/ # BEGIN WordPress <IfModule mod_rewrite.c> <IfModule mod_php5.c> php_value upload_max_filesize 30M php_value post_max_size 30M </IfModule> RewriteEngine On RewriteBase /wp39/ RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wp39/index.php [L] </IfModule> # END WordPress for version 3.9 just edit the .htaccess and

Warning: Missing argument 2 for wpdb::prepare()

With all the new database version and WordPress updates, sometimes I get the warning from the footer scripts. This time with the WP 3.6 update. Warning: Missing argument 2 for wpdb::prepare(), called in C:\xampp\htdocs\wp36\wp-content\themes\i2010techs13\footer.php on line 28 and defined in C:\xampp\htdocs\wp36\wp-includes\wp-db.php on line 992 The fix is to add the code to config.php file – anywhere. @ini_set(‘display_errors’, 0);