Skip to content

Instantly share code, notes, and snippets.

@szbl
Created November 8, 2017 20:31
Show Gist options
  • Save szbl/72ecc6e3484b61b59e009fb44e3873ad to your computer and use it in GitHub Desktop.
Save szbl/72ecc6e3484b61b59e009fb44e3873ad to your computer and use it in GitHub Desktop.
<?php
add_filter('next_posts_link_attributes', 'posts_link_attributes');
add_filter('previous_posts_link_attributes', 'posts_link_attributes');
function posts_link_attributes() {
return 'class="styled-button"';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment