How to replace text links of navigation menu with icons

Navigate to wp-dashboard > Appearance > Menus. If you have not created any menus, the theme locations will be empty (note, the Mobile Plugin navigation is not relevant for this tutorial).


Continue reading

WordPress Pagination without plugin

The default WordPress pagination only comes with the “Older posts” and “Newer posts” links at the bottom of the page when you want to navigate to the older entries. This works fine for sites with few entries, but isn’t very user-friendly for blogs and sites with dozens or even hundreds of pages worth of entries. To enable your visitors to quickly navigate your site and browse through your content from page to page, a list of numbered pages would be more useful, like Google’s search results.


Add the following function to your functions.php file:
Continue reading

Pagination: Split WordPress Post into Multiple Pages

This simple trick will let you split a single page or post into multiple pages. Just switch to the “Text” screen in your editor, and then add the following code wherever you’d like to add the paging.

Continue reading

80 jQuery interview questions and answers



Below is the list of latest and updated jQuery interview questions and their answers for freshers as well as experienced users. These interview question covers latest version of jQuery which is jQuery 2.0. These interview questions will help you to prepare for the interviews, for quick revision and provide strength to your technical skills.

Q1. What is jQuery?
Ans: jQuery is fast, lightweight and feature-rich client side JavaScript Library/Framework which helps in to traverse HTML DOM, make animations, add Ajax interaction, manipulate the page content, change the style and provide cool UI effect. It is one of the most popular client side library and as per a survey it runs on every second website.

Q2. Why do we use jQuery?
Ans: Due to following advantages.

  • Easy to use and learn.
  • Easily expandable.
  • Cross-browser support (IE 6.0+, FF 1.5+, Safari 2.0+, Opera 9.0+)
  • Easy to use for DOM manipulation and traversal.

View original post 4,608 more words

Return a list of sites on the wordpress multisite network

A simple function that returns the list of all wordpress child websites in the network. The code below just shows all the URL and unlinked.

 $blog_list = get_blog_list( 0, 'all' );
 foreach ($blog_list AS $blog)
     echo 'Blog '.$blog['blog_id'].': '.$blog['domain'].$blog['path'].'<br />';

and you’re all done !!