June 2014

How to convert HTML to DOC – The Easy Way

Earlier I have posted an article that showed how to convert HTML to PDF,  recently I came to find out an extremely simple way to generate Microsoft Office Open XML Format Document file format (.doc format) from HTML code. This way can be a life saver when you want to generate  doc files dynamically. To generate a doc file from […]

Read more

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
<nav class="navigation pagination" role="navigation"> <h2 class="screen-reader-text">Posts navigation</h2> <div class="nav-links"><span aria-current='page' class='page-numbers current'>1</span> <a class='page-numbers' href='https://www.codeholic.in/2014/06/page/2/'>2</a> <a class="next page-numbers" href="https://www.codeholic.in/2014/06/page/2/">Next</a></div> </nav>