WordPress

CMS blog system

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.

Page Jumps – Splitting Content

Sometimes I write a very long post and I don’t really want to paginate it, I want to have a list of topics and each topic will jump to the correct content on the same page. This is the way to do it. 1. We need to create IDs for these topics (links) – place

Sliderkit 1.9.2

There are many jQuery Sliders out there, I found this Sliderkit 1.9.2 easy to use and configure. We can use it for displaying a post with captions and pictures. The only thing it doesn’t do is displaying iframe embbeded youtube video on the slider perfectly-need to set wmode=transparent . When I have time, I’ll write