JQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript. Below you will find most powerful, the most creative and most versatile of jQuery plugins and tutorials built using jQuery. 1] [...]
When you want to display all the child pages title and excerpt of current parent page then you can display by adding following code in your page template file <?php $child_pages = $wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_parent = ".$post->ID." AND post_type = ‘page’ ORDER BY menu_order", ‘OBJECT’); ?> <?php if ( $child_pages ) : [...]
Recently I am working on a wordpress project where I want to display short description from clients about us page in footer.. then i find this solution to display short description from the page content. We can limit the number of words displayed. Add following code in your functions.php file inside your theme folder. <?php [...]