Previous Up Next – Pun

Up a level : Programming
Previous page : A bit of PHP
Next page : The first (a tad larger) bit of JavaScript on this site

A link between pages plugin

I found my previous solution to be slow and inflexible.  What I instead did was to write my own little plugin.  In the version 0.2 I succeeded with doing an fens post error, and miss the link in the next to last page. Sigh.

 

The shortcode part is as follows:

 

I have also changed the functions.php file in a child of the Theme I am using. This adds shortcode to the the beginning and the end of each page. Those shortcodes will then be turned to calls of the previous_up_next function.

 

Up a level : Programming
Previous page : A bit of PHP
Next page : The first (a tad larger) bit of JavaScript on this siteLast modified: Nov 11, 2017 @ 20:25