Last active
May 31, 2021 16:38
-
-
Save leavlzi/52e66c2215dd51354b6956edc1606e70 to your computer and use it in GitHub Desktop.
Custom the_post_navigation at Wordpress from https://stackoverflow.com/questions/43999014/changing-a-next-previous-link-to-display-post-title
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, great snippet.
Here is my slight alteration:
Updated the variables for consistancy
Wrapped the Next and Title in a single