Advanced WP Page Navigation with Page Numbers

Show page numbers in a wordpress archive template’s page navigation.

 

Add support for excerpts in Pages

 

Add custom posts types to wp_get_archives()

Wp_get_archives() controls the display of monthly archives, amongst other things. It may be important to display not only regular posts, but also your custom post types in your monthly archive pages. Add this code snippet to your functions.php file.

Continued

Get the_excerpt() outside of the loop using post ID

WordPress’s the_excerpt() can be useful outside of the loop, for example, with the wp_recent_posts function. Here is a function you can add to your WordPress theme’s functions.php file to get your excerpts to load!

  You can call the … Continued