Return only certain (html)-elements of the_content()
There are two ways to achieve it. $args = array( ‘post_type’ => ‘post’, ‘posts_per_page’=>1 ); $mj_query = new WP_Query( $args ); By the_expcerpt(), You can use excerpt field to display the content for post listing page.You can enable excerpt field by screen option through current post edit page.Just put html element to that excerpt field … Read more