Recent post in the middle of the content

Since you add all the html in the post by hand, have you tried filtering the content? Similar to WordPress’s <!–more–> tag, you could just add <!–my_headline_content–> Then: add_filter( ‘the_content’, ‘my_headline_function_12378′ ); function my_headline_function_12378( $post_content ){ /* * get your recent posts’ data. You’ll find the code with a simple search. * say $headline contains … Read more

Next post in category

You should be able to just use the default get_next_post_link with $in_same_term set to true. Have you tried that? Instead of your <?php next_post_link( ‘<div class=”nav-next”>%link</div>’, ‘%title <span class=”meta-nav”>’ . _x( ‘&rarr;’, ‘Next post link’, ‘sixteen’ ) . ‘</span>’ ); ?> try this <?php next_post_link ( ‘%link &rarr;’, ‘%title’, true, ”, ‘category’ ); ?>