Tag Info

New answers tagged


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 ...


Two methods: Edit the template file: Find the template file that renders your posts (most likely index.php) and find the place where the post loop starts. Something like: <?php if (have_posts()) : while (have_posts()) : the_post(); ?> Any content added before this code will be shown before your blog posts. Insert via hook: add_action( ...

Top 50 recent answers are included