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.

learn more… | top users | synonyms (1)

1
vote
2answers
851 views

Exclude Category From Home Page, Display Posts on It's Own Page?

I created a new category with the ID of 57, how do I exclude this category from the homepage/blog and then list the posts from this category on its own page? this is what my index.php looks like ...
0
votes
1answer
197 views

Is custom menu name and category name linked in wordpress?

I have created a custom menu for each of my categories (to show subcategories of each category on that category page) and that menu will have the exact same name as the category name. The weird ...
0
votes
2answers
758 views

latest post showing up twice on posts page

Can someone please help me alter my coding to eliminate my problem? I am using this line before the loop: <?php query_posts('cat=3&showposts='.get_option('posts_per_page')); ?> for ...
3
votes
2answers
278 views

Filtering Wordpress Contents based on URL

This is just a theoretical question for now. Given a website that has items of content that are tagged into categories, for example "Coding" "Writing" "Gaming", it is possible to configure the site ...
1
vote
1answer
480 views

Display Only One Category

On my WordPress theme, it displays all of the categories a post is in on the homepage for the post block, I only want to display one category even if a post is under multiple categories. i.e. ...
1
vote
1answer
10k views

How to show related posts by category

In my gallery site i want to show other pictures under the current picture (in single post). I seen more codes but it i asks to specify the category, but i dont want want specify the category manually ...
0
votes
3answers
176 views

How do I include the category next to the title of a post?

On the main page in WordPress all I want is the category to come before the title of the article posted. So for example if it's a Review, I'd like the article name to be Review: Super 8. Okay so if ...
2
votes
1answer
69 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?
0
votes
1answer
266 views

How to include first assigned category in the post URL?

What are the options for creating URLs like: site.com/category-name/post-name Where, "category-name" is the first category that the post was assigned to (in the event that the post is assigned to ...
1
vote
2answers
811 views

Wordpress check if user is logged in from non wordpress page

I am using wordpress and I normally use: if (!is_user_logged_in()){ //something here } to detect if the wordpress user is logged in or now. My problem is that I need to detect if the user is ...
-1
votes
1answer
977 views

How to control order when displaying child categories

I'm working on displaying a series of child categories in the meta of each post. For instance, after the post appears an array, depending on category selection, describing the post content: Color: ...
0
votes
2answers
3k views

How can I show the subcategories content on the parent category page?

I have a WordPress website that has a category with two subcategories. Now, how is it possible to show the content (the subcategories items/content) on the parent category?
0
votes
1answer
302 views

Relative number of post in category

For a post x in a category y, how can the following output be achieved: Post x is the nth out of m posts in the category y. where m is the total number of posts in the category, and n is the ...
1
vote
1answer
3k views

How to hide a specific category posts in my monthly archive?

I am using the twenty eleven theme in my wordpress site. In posts, I have two categories. One is blogs and other is News. The monthly archive displays the posts of all categories while I want that ...
0
votes
1answer
228 views

Give Children Unique ID's

Is there a way I can give each wordpress children (subcategory UL lists) unique ID's? I'm creating a dropdown list for subcategories and I want to position them but :nth-child isn't supported by ...
1
vote
1answer
651 views

Show add_meta_box by selecting a specific category

In my plugin I want to display an add_meta_box under the WYSISWYG in the new post page, which is no problem and works fine. But the box should only appear when a specific category (example: category ...
1
vote
1answer
144 views

Force category-slug.php to show page, even if it doesn't exist

I have a custom query in category-slug.php, which works fine unless the category doesn't have that number of pages itself. If the category only has 5 pages of posts, but the query I put in has 7, ...
1
vote
1answer
2k views

Display WordPress Parent Categories Only?

I have the following code on a custom wordpress page: <?php $cat_array = array(); $args=array( 'post_type' => 'post', 'post_status' => 'publish', ...
0
votes
2answers
161 views

Change div background acording to the selected category

I'm coding a graphic menu that consist in five divs with a background each. On mouseover the background changes and the child div disappears. On click, each one works like a link to the correspondent ...
1
vote
1answer
112 views

How do I add a function on a specific post category?

I am using theme Twenty Eleven and am trying to add a vote up script in the content.php which only displays on a certain category.
0
votes
1answer
230 views

Can't assign another category other than Uncategorized int he following front end post submission form?

I'm using this front end post submission form that I took from this question: <?php $postTitle = $_POST['post_title']; $post = $_POST['post']; $submit = $_POST['submit']; $category = ...
0
votes
2answers
962 views

wp_list_categories() Exclude All Categories Except One

Is there a way to exclude all categories except one? I want to show a category and it's sub-categories as a dropdown menu, but the admin might add more subcategories to it so I don't want to limit ...
1
vote
2answers
552 views

How do you add a category to a post in code

We do a lot of post maintenance outside of the WordPress interface and as a result we need ways of categorising posts. Obviously Wordpress has categories (aka taxonomies) on posts and I plan on using ...
-1
votes
2answers
115 views

What defines a post as portfolio page content?

I have three types of content, Posts which I have defined as Blog and categorise accordingly, Slider Images defined by a specfic category, and Pages. I want to have content as portfolio on a profolio ...
0
votes
1answer
1k views

WP Category Meta plugin fix? [closed]

Does anyone know of a fix for WP Category Meta http://wordpress.org/extend/plugins/wp-category-meta/ or a similar solution to add images and meta data to categories? With the latest version of WP it ...
1
vote
1answer
806 views

Wordpress list posts from sub categories

has anyone an ideea how can you do something like this: So if the user is in a category, let's say Mainand this categories has some subcategories and I want to list them and also list the posts, ...
1
vote
2answers
1k views

How can I enable a TINYMCE rich text editor in the admin interface?

I'd like to add some text above my category archives, and I'd like to use the built-in Wordpress TinyMCE editor to do it. I've seen some plugins like black-studio-tinymce-widget which does a nice job ...
0
votes
2answers
355 views

WP SQL Categories Export and Import

I want to export and export only the Categories and their description using SQL. For now I've managed to retrieve them using this: SELECT wp_term_taxonomy.description, wp_terms.term_id, ...
3
votes
2answers
440 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 ...
0
votes
2answers
142 views

Restricting certain blog posts by date?

I'm building my friends blog and he asked me a rather odd request. He wants the latest five blog posts to be visible to non-registered members but not to others. I'm using s2Member for membership ...
-1
votes
1answer
384 views

How can I get on the same row two post of different categories?

Let me explain better, I have two categories and I want to show a page with two columns one for each category, after this I like to show in the same row each post of each category on each column, just ...
0
votes
1answer
259 views

How to make search for the custom post type?

i tried to figure this out but i can't until know i have new custom post type of questions and i have other post types also like job listing, resumes etc what i want here to make search for the ...
0
votes
1answer
52 views

Need help deciding on a taxonomy

I'm working on a project that mimics a product Catalog, all products belong to a Collection and they all have a Type and Attributes. For instance, a shirt belongs to the Apparel Collection, so I ...
0
votes
1answer
2k views

how to call the category of the post

I jus want to create a gallery which shows either all or certain number of posts in that category under each post and i found a working code <?php $displayposts = new WP_Query(); //get posts ...
0
votes
2answers
134 views

Categorie parents and childs displayed

I'm trying to create a menu directly hard-coded, basically I need to display the parent category and below its child categories, however I have to do this several times meaning something like this: ...
4
votes
1answer
646 views

Control term order on a per-post basis

I have a taxonomy in which term order matters, but varies from post to post. So I want to be able to set the order that terms are displayed in on a per-post basis: My first post | Tagged: Apples, ...
0
votes
2answers
326 views

How do I use just one category' posts on my home page?

I have mainly protected categories, but I have one open category, how can I set it up so I load only the open catgeory posts to show on my home page
1
vote
1answer
697 views

hide specific categories from showing

I'm trying to hide specific categories from showing up on a portfolio home page. I was told that this was the concerned line of code on the php template file <span ...
-1
votes
2answers
594 views

Differentiate Between Parent & Child Categories

So I'm working with a non-wordpress theme called "Misty" and it uses this code to pull categories: <li class="sidebox"> <h3><?php _e('Categories','ml'); ?></h3> <ul ...
0
votes
1answer
89 views

How do I hide posts in a category from all listings but still allow the posts to be viewed?

Let's say I have a category named "Hidden". I'd like to prevent all posts in "Hidden" from appearing within The Loop on the main blog listing page. Also, I'd like to prevent those posts from ...
1
vote
1answer
344 views

How to show posts of an columnized different categories on the same line or row?

I use a custom query retrieving the two categories of the post type, each column show only 6 posts of the category, if was more use pagination. Than I like to do is to show each post on each column ...
0
votes
2answers
3k views

How to get the category of the post and link it to the archive (of the category)

I am trying to design a button in the sidebar which is related to the post displayed. The button is basically a "other news in CAT1". i have this piece of code: <div id="pagine"> <?php ...
0
votes
2answers
98 views

Are tags different than categories?

I'm having a really weird issue where certain tags and categories seem to be linked: "Linux" in Tags: "Linux" in Categories: If I try to lowercase the Linux tag (I prefer tags to be in ...
1
vote
1answer
480 views

How to prevent parent being choosen in wp_dropdown_categories

I have a grand-parent-category with several parent-category. Each groundchild means a specific method to process later. Parents should not be selected, it merely means to group the children together. ...
1
vote
1answer
300 views

List Sub-Categories of a Parent Category

I need to be able to list categories that are the sub-category of a specific category that is a sub-category of a primary category. So something like this: Print Categories where ParentCategory = ...
0
votes
2answers
658 views

Custom Post Type, Two categories, Two columns with Pagination

I searching a lot to found a way solves that and no luck at least. Sorry for my unpulish english, I do my best explaining my issue. I have a Custom Post Type called 'Events' this have two categories ...
1
vote
2answers
645 views

Are Category or Tag Archive Pages Possible?

Currently /category and /tag 404 if you hit them directly. Is it possible to create a theme template to handle what would display on it? Mark Jaquith - ...
1
vote
1answer
98 views

Woo Framework: woo_cat_featured not populating

In framework settings: $options[ 'featured_cat' ] = array( "name" => "Featured Category", "desc" => "Featured Posts will display in the main rotator on the homepage.", ...
2
votes
2answers
2k views

How to remove categories filter from wordpress admin?

I removed the categories column from "All posts" page by applying this code. add_filter("manage_edit-post_columns", "my_post_edit_columns"); function my_post_edit_columns($columns){ ...
-1
votes
1answer
2k views

Make a Custom template for a specific category in wordpress

I am having issue with a custom category template. I want to create a new template for my specific category "VIDEOS" so that all posts under this category show in new style. Basically, i want to show ...