Hot answers tagged

5

Make use of the the_content filter. This way you can adjust/add/remove certain stuff from the content add_filter( 'the_content', function ( $content ) { // Make sure we only target the main query's content, adjust as needed if ( !in_the_loop() ) return $content; // We are targeting the correct content, so lets add what we need to ...



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