Tag Info

Hot answers tagged

1

Don't forget to remove the content type filter after you use the wp_mail function. Following the accepted answer naming you should do this after wp_mail is executed: remove_filter( 'wp_mail_content_type','wpse27856_set_content_type' ); Check this ticket here - Reset content-type to avoid conflicts -- http://core.trac.wordpress.org/ticket/23578


1

Do this to output only links for previous and next pages: <?php previous_posts_link ( 'Previous' ) ?> <?php next_posts_link ( 'Next' ); ?> Then add filters to your functions.php to add a class to each link: function next_posts_link_css ( $content ) { return 'class="next"'; } add_filter( 'next_posts_link_attributes', 'next_posts_link_css' ...



Only top voted, non community-wiki answers of a minimum length are eligible