Create Blogs

create websites and blogs with WordPress and Nucleuscms

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

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);

FancyBox 2

[fancybox2] Now FancyBox v2.1.5 is out, I’m experimenting 2.0.6.1, to me the old 1.3.4 is working quite well, the only thing I like about this FancyBox 2.0.6.1 is the full size image display with the helpers.js which is great. The buttons for gallery are very useful and jquery is the best for all users platforms.