Every Post in WordPress is filed under one or more Categories. Categories allow the classification of your Posts into groups and subgroups, thereby aiding viewers in the navigation and use of your site.
3
votes
2answers
591 views
How to add category to: 'wp-admin/post-new.php'?
I want to have a link to create a new post that sets the category also.
I have tried wp-admin/post-new.php?post_category=12 and wp-admin/post-new.php?cat=12, but neither worked. I also tried using ...
3
votes
2answers
509 views
How do I create a way for users to assign categories to a post from the frontend?
Basic idea is for any post on the site, I'd like users to be able to assign a category for it by selecting from a set of checkboxes on the frontend. This would be a kind of crowd-sourced ...
3
votes
1answer
529 views
How to set up sub-categories for author pages?
I am setting up Wordpress for a school. They want to enable teachers to have their own section of the site where they can create posts in different categories (assignments, events, etc).
I know that ...
3
votes
2answers
386 views
Categories Listing with “selected” category highlighted
Is there a way to draw the categories listing and highlight the current category being viewed?
In addition, it would be great to highlight the current category if a post or page that's assigned to it ...
3
votes
1answer
112 views
Saving two categories from two dropdowns in front end posting form
So, here's the deal:
I have two category dropdowns, the first for the parent categories and the second for the child categories. They form a chain so that when you select the parent category the ...
3
votes
1answer
678 views
How to convert regular categories to custom taxonomy?
I have a big list of categories/subcategories (around 60 in all). It now makes sense that instead of these categories being available to any post type's category list, these categories should be moved ...
3
votes
1answer
375 views
Redirecting specific category to subdomain
I have a problem in following situation:
I have 2 separate Wordpress 3.3.1 instances, main at domain.com and one of them (which consists of simple Q&A type site) is available from subdomain ...
3
votes
2answers
322 views
What could be causing my wp_query pagination to break?
I'm using categories and wp_query to create an "advanced search" feature on my website. It was working great until recently I noticed that the pagination was broken. The following 2 links should ...
3
votes
1answer
596 views
How can you make permalink work for custom post type and taxonomy?
I have spent days now trying to figure this out, StackOverflow is my last resort. All I want is the following:
...
3
votes
2answers
2k views
Display list of Sub-Categories and the posts they contain, within one main Category
I've found tons of code and plugins to do various things; from show posts for specific cats, subcats of a cat, etc.. BUT, I cannot for the life of me find, nor do I know the WP API well enough to do ...
3
votes
1answer
1k views
Display only the latest post from multiple categories
I have a jQuery slider at the top of my index.php, which works fine. The only problem is that I would like to use query_posts to only display the latest post from five different categories, and always ...
3
votes
1answer
666 views
Qtranslate displays empty categories with get_categories()
I am using qtranslate (Wordpress Plugin) on a website and I don't want to display categories that don't contain posts for a language.
So when I do get_categories() (without qtranslate) the ...
3
votes
1answer
152 views
Category page doesn't use category.php, instead it redirects to homepage
I am currently modifying a theme. This theme doesn't had a category.php I needed a custom category page. So, I made one. It works on my local server, but when I uploaded it to a real server, this page ...
3
votes
1answer
54 views
How can I create a loop to build slides based on multiple categories using Coda Slider
I'm using a loop to generate the slides I need for a Coda Slider slideshow. The slides should be pulling the most recent post from 5 different categories. The problem I'm having is that it's pulling ...
3
votes
1answer
207 views
WP_Query ignores post_type in category view
I have following query to select posts by my custom post-type. This works fine while being on the frontpage (the snippet is included in the sidebar). As soon it gets executed on a category page the ...
3
votes
1answer
180 views
How to show list of posts by author and category?
Let three categories and their IDs:
cat1 = 1 (parent)
cat2 = 2 (child of cat1, parent of cat3)
cat3 = 3 (child of cat2)
Let each category has 3 posts, they are: post1, post2, post3.
And each posts ...
3
votes
0answers
175 views
Best way to programmatically link to multiple categories (union/intersection)
This question assumes that you know about the various complex taxonomy queries available from the WP_Query API. I know about tax_query as well as about things like category__and, which allow you to ...
2
votes
3answers
3k views
add_action hook for completely new post?
publish_post Runs when a post is
published, or if it is edited and its
status is "published". Action function
arguments: post ID.
-Plugin API Documentation
I've added the publish_post ...
2
votes
5answers
3k views
Hide Category from Blog?
I am using the Boldy theme from Site5 on a v3.1.2 site.
The way this theme works, is that there is a portfolio, (which I am using as a case studies gallery) that pulls in posts from a specific ...
2
votes
4answers
2k views
Wordpress and isotope filtering
Im trying to use Isotope(http://isotope.metafizzy.co/) to filter my Wordpress posts,
http://i44.tinypic.com/fco55k.jpg this is how my site looks like, i would like to filter posts depending on a post ...
2
votes
2answers
524 views
Preventing index.php?category_name=something from redirecting
I'm trying to filter posts in a category by the year of the post's date. I also want to do this without being redirected to the year template so my ideal URL would be ...
2
votes
1answer
3k views
Group WP_Query by category
OK, here's my setup:
Custom post type called "issues" (for a magazine)
Posts with custom meta field matching the post ID of the corresponding issue.
When I'm on a single "issue" post page, I want to ...
2
votes
3answers
329 views
Is there a plugin that will completely remove the category system?
I have no use in categorizing/tagging my posts with anything, at all, and it doesn't look very good to have every post say "filed under: uncategorized."
Is there any plugin to do this, or do I need ...
2
votes
2answers
2k views
Removing the number in a category slug
I have a category that ends with -2, and there's no way I can change it back to the plain word. I know there are problems with numeric slugs, but this is just a word. I also know that a common answer ...
2
votes
2answers
69 views
Categories Template Assistance
I have found a tutorial online for creating a custom categories template for my archived posts within a particular category. This however is targetting a specific category ID (see below), is there ...
2
votes
4answers
337 views
How to hide certain categories in wordpress dashboard?
I have two categories which I dont want to show to my site's admin, I want them to be added automatically everytime a new post is creatd or updated. I have the code for it. But now i also want to hide ...
2
votes
4answers
629 views
Different number of posts in each category
I have categories driven site. I have different template for each category. I would like to set different number of posts – different for each category. Plus I would like to add proper previous and ...
2
votes
1answer
1k views
Get the first Category / Term only in single-custom-post.php
found close stuff but none that exactly answers my question.. so..
How do i get the only the first taxomony (category) of a custom post type...
i can get all - no problem.. this what i am using to ...
2
votes
3answers
4k views
How to display regular posts & custom post types that fall under a category using just the generic category template?
1) My site has posts, and 2 custom post types (news & essays)
2) They all share normal categories like sports & health (no custom taxanomy involved)
3) Using the generic category.php template, ...
2
votes
2answers
130 views
Server-side subscribe by email?
Is there a server-side email solution that will allow users to subscribe to updates via email and, specifically, also be able to do this by category?
I'm aware of Aweber and Feedburner being able to ...
2
votes
1answer
711 views
Create terms when registering taxonomy?
I'm registering taxonomy in my functions.php file:
register_taxonomy("our_gallery_types", array("gallery"), array("hierarchical" => true, "label" => "Categories", "singular_label" => ...
2
votes
8answers
7k views
Filter get_categories() for taxonomy term in WordPress
I want to show a category only if a (custom) post is in that category AND region = $name for that post.
So, e.g. I have a custom post (type "business") named "Mamma Mia" in child-category: ...
2
votes
2answers
292 views
How do I view a feed consisting of posts from multiple categories?
By default, my site's RSS feed URLs are in this format:
category/[category-name]/feed/
As far as I can tell, that doesn't allow me to view a feed using multiple categories. Is anyone aware of a ...
2
votes
2answers
130 views
Show pages and articles in category search result
I'm using "Map Categories to Pages" to add categories to pages.
When I call the link http://mypage.com/category/catA+catB I get all my articles, that are associated to the categories catA and catB. ...
2
votes
2answers
152 views
Remove / Rename Uncategorized Category In Wordpress
I have installed wordpress Muilit Site (NETWORK)
I need to Remove / Rename Uncategorized Category In Wordpress.
How is this possible?
2
votes
3answers
194 views
Assign an icon to a category post
Is there a way to assign an icon to a category post as well as the posts original image that's set in the featured images?
So if had a post about grapes I would have an image of some grapes in the ...
2
votes
2answers
145 views
How to show a category post to a specific registered user
I'm working a private blog and I'd like to know if this can be done with any other plugin or any other way:
Lets say we have 3 categories: CA, CB and CC, and 3 users, UA, UB and UC, all of them can ...
2
votes
2answers
52 views
Rewrite category wordpress
Is it possible to rewrite only one category ?
I have a category "Photos" and just for this category.
I just want to rewrite it from /category/photos to /photos
2
votes
2answers
1k views
List posts by category exclude current post
I'm trying to get a list of posts from one category, echo the title and the permalink of all posts on that category but exclude the permalink and the post name IF the current post is on that list.
It ...
2
votes
1answer
55 views
What Defines What Category A Post Picks (if in multiple)
If I have a post in multiple categories, what defines what category shows up in the URL? Assuming I have permalinks setup as /%category%/%postname% is it the ID or the name?
2
votes
2answers
334 views
Categories lose hierarchy order once assigned to post
I setup some hierarchical categories and when I assign them to a post the widget reflows and loses the hierarchy display. Example:
- Education Services
-- Arts & Archives
--- Fine Arts
-- ...
2
votes
1answer
217 views
How to override Category rendering mechanism
Currently for every category there is a separate template (category-1.php, category-2.php, etc..), in my case there is over a hundred of them. I want refactor it to 4, so for instance if $cat is in ...
2
votes
1answer
944 views
Categories not working as expected with custom post type
I have a custom post type set up like:
add_action('init', 'portfolio_register');
function portfolio_register() {
$labels = array(
'name' => _x('Photos', 'post type general name'),
...
2
votes
3answers
1k views
Display only one result from “get_the_category_list”
I'd like get_the_category_list to only display one or two categories instead of all the categories associated with the post. Haven't been able to find any results.
<?php echo ...
2
votes
4answers
11k views
Custom Post Types on Category Pages
I'm working with a custom post type that uses the normal WordPress categories.
I am able to modify my category template to display my custom post types exactly how I want them.
The problem is, once ...
2
votes
2answers
156 views
How to control template resolution if both Author and Category filter in place?
The following url resolves to the category template:
http://localhost/author/myusername/?category_name=somecategory
I have a category-somecategory.php template and just a generic author.php template. ...
2
votes
1answer
423 views
how do I filter single_cat_title to remove all instances of a particlular word
I have certain names in my category title (that need to stay there for other reasons). I am displaying all category titles with the blog name prefixed, but on categories that already have this name I ...
2
votes
1answer
109 views
How to create tabled index of posts in a certain category
I have a tech blog, what I want to do is to create an index page for articles in a certain category. For example, I want all the articles under the category "WordPress BasiX" to be arranged in an ...
2
votes
1answer
377 views
How to Make a Categories Meta Box with Hierarchical Checkboxes on Frontend?
My website allows uses to post posts of a custom post type ("place").
I would like to display the same "Categories" meta box seen in WordPress dashboard when you add or edit a post on frontend:
...
2
votes
1answer
212 views
How to generate and display widgets areas dynamically?
I want display different content in sidebar for every category, but as I create new ones I have to create the area for it. How can I have widget areas for every category and also display them on theme ...

