Show posts from all categories

You need get_categories() with an include argument: if (isset($_GET[‘cat’])) { $this_category = get_categories( array( ‘include’ => $_GET[‘cat’] ) ); var_dump($this_category); } You will get an array of stdClass objects containing category data. There are several ways to parse that but this might do: if (isset($_GET[‘cat’])) { $this_category = get_categories( array( ‘include’ => $_GET[‘cat’] ) ); … Read more

Detect PHP script usage in themes?

You can look at the source code and search for common URLs to such a script. But that will just show you something useful when a theme is using that script. If you find nothing, the script might still be part of the theme code. Themes on wordpress.org are not allowed to include TimThumb (as … Read more