Display most recent post in category instead of archive?
I’ve successfully redirected my blog page to my most recent post – i.e. so when you click the ‘blog’ link in the nav … Read more
I’ve successfully redirected my blog page to my most recent post – i.e. so when you click the ‘blog’ link in the nav … Read more
I’m stuck in a rather simple task: to get the category title for the current post, within the loop, to be used in … Read more
I’ve included the code I’m working with below. I had some custom work done on a wordpress site of mine. This is a … Read more
Is it possible to allow HTML to be rendered in Category descriptions? My theme uses them quite a lot, and I’d like to … Read more
I’m trying to find a way of disabling the selection of the parent category within WordPress 3.5.1 (post editor screen) only when that … Read more
I have this in my category.php to show sub-subcategories: <?php if (is_category()) { $this_category = get_category($cat); if (get_category_children($this_category->cat_ID) != “”) { echo “<ul>”; … Read more
I just imported a Blogger site to WordPress, and it put the category “Uncategorized” on all posts. I ended up converting all of … Read more
Is there a way to avoid WordPress “flattening” the category tree when a child category is selected? This applies to both custom taxonomies … Read more
The question is simple. Imagine that I have a post named ‘Single Post’ which is inside the category ‘sub-cat’ which is a child … Read more
My post has only one category. The following code: $categories = get_the_category(); gives me this result: Array ( [0] => stdClass Object ( … Read more