/ Published in: PHP
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
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"';
}
URL: http://wpcanyon.com/tipsandtricks/adding-attributes-to-previous-and-next-post-links/
Comments
 Subscribe to comments
                    Subscribe to comments
                
                