Firebug and Chrome rendering two body tags

I managed to fix this issue by commenting out the first body tag and placing a second body tag below like this: <!– <body> –> <body <?php body_class( $class ); ?>> Now the site is working correctly. However the strange character is still appearing in the first body tag. Hope this helps someone.

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