Conditional Tags inside a wordpress plugin
-
function wp_no_content($text){ global $wp_query; if(is_front_page()){ $text =""; return $text; } } add_filter('the_content','wp_no_content');To be very brief: Why this doesn’t work?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Conditional Tags inside a wordpress plugin’ is closed to new replies.