Tag Info

New answers tagged

0

You can try this to show the full post content only in the JSON API: function remove_more_wpse_96740($content) { if(get_query_var('json')){ global $post; $content = preg_replace('/<!--more(.*?)?-->/','',$post->post_content); } return $content; } add_filter('the_content', 'remove_more_wpse_96740',1); by targeting the ...



Top 50 recent answers are included