WP-PageNavi is definitely one of the most popular WordPress plugins and in fact, it is very useful. But did you know that since version 2.1, WordPress had a built-in function called paginate_links(), which can be used to create to paginate your blog without using any plugin? Today, let’s see how to use this handy function to create a pagination for your WordPress blog.
Many WordPress users uses parent pages and subpages to order the informations displayed on their blogs. A heavily requested recipe is how to be able to redirect to the first child page if the current page have children pages? here is the answer.
If you use pages and subpages or posts and parent posts on your WordPress blog, it should be a good idea to display parent page/post title while on a child page. Here’s a code to do that job easily.
Imagine that you’re running a blog, but also have an online shop, a phpBB forum and some static pages. Do you’d like to be able to include theses pages in WordPress navigation, just like slamdunk asked in the forum? If yes, just read on.
In this recipe, I’m going to show you how to get a list of pages along with a custom key from each page, used to create a description.