SPEED UP YOUR WORDPRESS DEVELOPMENT CYCLE WITH GIT

If you have developed WordPress sites for clients this process might sound familiar to you: Get a new client that wants a wordpress site Download the most recent wordpress Find a good current blank wordpress theme to start implementing the design Upload to a staging server to for client to see Client requests changes You … More SPEED UP YOUR WORDPRESS DEVELOPMENT CYCLE WITH GIT

How to Move WordPress Blog to New Domain or Location

For blogger who self-hosts the WordPress blog publishing system on a web hosting server with own registered domain name, sometimes, you may decide to reorganize the blog link URL to make it tidier or to reflect new focus or theme of the blog. If you decide to change the URL or link location of your … More How to Move WordPress Blog to New Domain or Location

The Difference between do_action, add_action and add_filter

The Foundation: do_action do_action creates the hook for things to hang. This is at the core of WordPress and even frameworks like Genesis and many other themes and plugins. do_action is the first domino in the chain of events with hooks. However, alone, it means nothing and does nothing. Simply, it tells WordPress to search … More The Difference between do_action, add_action and add_filter

Insert post via Frontend

<?php /** * post-process.php * make sure to include post-process.php in your functions.php. Use this in functions.php: * * get_template_part(‘post-process’); * */ function do_insert() { if( ‘POST’ == $_SERVER[‘REQUEST_METHOD’] && !empty( $_POST[‘action’] ) && $_POST[‘post_type’] == ‘book’ ) { // Check what the post type is here instead // Setting the ‘post_type’ => $_POST[‘post_type’] in … More Insert post via Frontend

New WordPress Power Tips For Template Developers And Consultants

It has been a big year for WordPress. If there were still some lingering doubts about its potency as a full-fledged content management system, then the full support forcustom taxonomies and custom post types in WordPress 3.0 core should have put them to rest. WordPress 3.1 took those leaps one step further, polishing custom taxonomies with multi-taxonomy query support, … More New WordPress Power Tips For Template Developers And Consultants

MYSQL useful snippet

Table name = tbl1 or tbl2 Table row   tbl1 = 4 , tbl2=3 ———————————————————————————— (A) INNER JOIN :- 1. simple inner join :- SELECT * FROM tbl1 INNER JOIN tbl2 ON tbl1.class=tbl2.class ——————————————————————————— 2. Table Field According joining : – SELECT tbl1.id,  tbl1.name , tbl1.class , tbl2.fee  FROM tbl1 INNER JOIN tbl2 ON tbl1.class=tbl2.class … More MYSQL useful snippet