Skip to content

Instantly share code, notes, and snippets.

@rodica-andronache
Created March 20, 2017 08:37
Show Gist options
  • Save rodica-andronache/a40a66d20607320790126ca229d02667 to your computer and use it in GitHub Desktop.
Save rodica-andronache/a40a66d20607320790126ca229d02667 to your computer and use it in GitHub Desktop.
The hestia_pagination() function in inc/template-tags.php should be replaced with the core the_posts_pagination() function.
See: https://developer.wordpress.org/reference/functions/the_posts_pagination/
You can customizer the markup via this hook: https://developer.wordpress.org/reference/hooks/navigation_markup_template/
If what you want to do can't be accomplished with the core functions and hooks, be sure to make a note of that explaining it in your inline PHP comments accompanying the function. It'll help the .ORG reviewers know you need to do something custom.
Otherwise, I strongly recommend using the core function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment