List WordPress pages in custom order

Step 1: Paste this code in the template file where you want the list of pages to appear. [php] <?php $args = array( ‘authors’      => ”, ‘child_of’     => 0, ‘date_format’  => get_option(‘date_format’), ‘depth’        => 3, ‘echo’         => 1, ‘exclude’      => ”, ‘include’      => ”, ‘link_after’   => ”, ‘link_before’  => ”, ‘post_type’    => ‘page’, ‘post_status’  => ‘publish’, ‘show_date’    => ”, ‘sort_column’  […]

Read more

Magic of wp-config.php

If you are a WordPress dev, then there are high chances that you have heard about wp-config.php file. It is the heart and soul of any wordpress installation, still it holds the switch for large number of WordPress functionalists but only a few are know a niche user. Lets dig into wp-config.php, and see what treasure can we find for […]

Read more
<nav class="navigation pagination" role="navigation"> <h2 class="screen-reader-text">Posts navigation</h2> <div class="nav-links"><a class="prev page-numbers" href="">Previous</a> <a class='page-numbers' href=''>1</a> <span class="page-numbers dots">…</span> <a class='page-numbers' href=''>6</a> <span aria-current='page' class='page-numbers current'>7</span> <a class='page-numbers' href=''>8</a> <a class="next page-numbers" href="">Next</a></div> </nav>