Wordpress trigger 404
How about this? this should work.
status_header(404);include( get_404_template() );exit;
instead of this
get_404_template();//not workinginclude( get_query_template( '404' ) );//not working...
How about this? this should work.
status_header(404);include( get_404_template() );exit;
instead of this
get_404_template();//not workinginclude( get_query_template( '404' ) );//not working...