I am writing a simple script php.
This script has to know if a specified category passed via $_get exist in wordpress cms.
exist.php?cat=xxx
I have read this but I am not sure if it can help me.
http://codex.wordpress.org/Function_Reference/is_category
Can anyone help me?
How can I do?
Thanks.
Since it looks like you are trying to access it from a separate PHP file, connect to the WordPress database in your script and run this query: