Created
January 21, 2019 21:38
-
-
Save seb86/4d5b15bf64b370b4b920fafab97c8608 to your computer and use it in GitHub Desktop.
This filters the template location for Auto Load Next Post according to your themes template location.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function my_template_location() { | |
return 'templates/'; | |
} | |
add_filter( 'alnp_template_location', 'my_template_location' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment