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)

0
votes
2answers
619 views

Get id of category from drop down menu

Im trying to get the category ID from wp_dropdown_categories();and then pass the ID into a loop to have it output posts titles from that particular category. I currently have this: <form ...
0
votes
1answer
605 views

Listing Specific Categories from Current Post with Depth

I've been on this for sometime and been having a ton of issues to find a proper way to do what I'm trying to achieve. An Example would be as follows: I have a featured Image with a rollover and I ...
0
votes
1answer
294 views

How do I query_posts in cat=1 AND not in cat=2

Let's say I have 3 categories, College (cat=1), Corporate (cat=2), and Idea of the Week (cat=3) There is a home page for College and a home page for Corporate. On the College home page, in one ...
-1
votes
5answers
8k views

Get all categories and posts in those categories

I am looking for a solution that allows me to print the following: Cat 1 Cat 2 Cat 3 Post 1 Post 1 Post 1 Post 2 Post 2 Post 2 Post 3 Post ...
1
vote
1answer
307 views

Additional form options based on category selected not working

I have a conditional statement to show certain images to choose from (radio buttons) based on the category chosen, however when the category is chosen, the radio buttons don't show? What am I doing ...
1
vote
1answer
775 views

How to call custom category field data in theme?

I am trying to add two custom fields to my categories (which I have done thanks to this answer - Any examples of adding custom fields to the category editor?) And now I need to call them within my ...
0
votes
1answer
48 views

Querying Multiple Categories With Different Offsets

On my website I have a "Breaking News" section which shows the most recent 4 stories in the "Breaking News" Category. Under this I have a featured news section which displays 5 more stories from the ...
-2
votes
1answer
24 views

How do I add tags to categories? [on hold]

Can I add tags to my categories? For example, my category is "Funny Video" and I'd like to tag it with "movies", "cartoon", or "animation". Is this possible? I'd also want tagged posts to display on ...
1
vote
1answer
12 views

Wordpress JSON API remove posts from a specific category

I have installed Wordpress JSON APi plugin, the idea what I want to do is to retrieve all posts from a websites except a specific category for example with ID: 434. I need all posts except from this ...
2
votes
2answers
238 views

prevent post to have multiple categories in my plugin

I'm writing a plugin, I want to prevent posts have multiple categories (i.e same product having category "Samsung" & "Apple"). Any idea on how to use some actions/filters to achieve this using my ...
1
vote
1answer
396 views

Checking for two categories in query_posts

How can I check two category_name values in the following query_post? <?php query_posts('category_name=recent-work&posts_per_page=1'); if (have_posts()) : while (have_posts()) : ...
0
votes
1answer
387 views

Display category-specific comments in sidebar

I'm trying to display comments in the sidebar from only the current category. So far I've got this: <?php // Posts per page setting $ppp = 8; //get_option('posts_per_page'); // either use ...
0
votes
1answer
25 views

Page to show custom posts and one category

I want to show all my custom posts and category ID=15 in a page. I managed to call my custom posts as follows: $type = 'my_custom_posts'; $args=array( 'post_type' => $type, ...
-2
votes
0answers
189 views

Clone categories?

I have a category with 70 posts in it that I use as a landing page. How can I duplicate that category to have the same posts in it, but with a different category name/slug?
-1
votes
0answers
14 views

Cannot pull up posts of category on category page!

I have an extremely simple loop which I've placed in header.php: $my_query = new WP_Query('category_name=home'); while ($my_query->have_posts()) : $my_query->the_post(); whatever(); endwhile; ...
0
votes
1answer
8 views

How to use an array of categories as a dropdown?

I need to use an array of existing categories as a dropdown option value then use the selected category ID. More exactly, I try to make a custom module to display the latest posts form selected ...
1
vote
0answers
12 views

How can I edit the 'Most Used' tab in the categories meta-box to show another custom taxonomy?

The 'Most Used' tab in the categories meta-box is the one that can be seen in the Edit Post section. I want to replace the Most Used tab, with a tab that lists another Custom Taxonomy, or edit the ...
0
votes
1answer
15 views

Sub Categories Keep Redirecting to Pages With Same Slugs

What I want to do is have a news category with two sub categories (property-registration and property-revitalization). Going to /news works fine. However going to /news/property-registration or ...
0
votes
0answers
17 views

Related sub category posts with thumbanils

I want to show sub sub category posts and title Like Parent Cat Sub Cat Sub Sub Cat <--- I use the following code but shows me all posts from Parent cat , sub cat and sub sub cat posts. ...
1
vote
2answers
699 views

Display posts from Custom Post Type in category page on front-end

I created my Custom Post Type (bizdirectory), created a new post (Test Business) and created a new category (Business Directory). But if I add the Business Directory category (slug = business) to my ...
0
votes
1answer
308 views

How we add new categories by wp_insert_post

I am using fornt end form submission now i want to add new category and before adding this category i want to check whether it exist or not, if yes then simple add to that category otherwise add new ...
0
votes
1answer
1k views

Hide Post Meta Data on a specific category

I'm using the Canvas theme from Woothemes, and their framework (obviously.) I built a child theme and have my custom CSS segregated in a custom.css file in that directory. I've made some changes to ...
1
vote
2answers
38 views

Show matching categories in search page

my current search only shows POSTS as results. http://newslines.org/?s=george My site has categories for George Clooney, George R.R. Martin etc. How do I get a list of categories that match the ...
0
votes
1answer
14 views

Include Category With Tax Query

I'm using The Events Calendar plugin but I thought I'd post it here as I believe this particular function works the same as get_posts(). I'm trying to use the function to display only posts from one ...
0
votes
2answers
251 views

Use get_term_children to get the sub category of a parent category for the current post

In my WooCommerce theme I've created a root category: 'Brands' then for each product I've added it's brand as a sub category to the 'Brands' parent category. On the product page I want to display the ...
2
votes
3answers
252 views

How Can You Exclude Categories From Your RSS Feeds?

I've searched and found posts that have asked and answered how to merge different categories into an RSS feed. What I need to know is how to exclude specific categories from the RSS feed? ...
1
vote
1answer
2k views

ajax for filtering posts by category in wordpress loops

I've been looking around for a way to filter my posts on http://www.waziproject.com/wazimagazine/ without reloading the page. So my question is if anyone can help me out to turn the following into a ...
4
votes
1answer
294 views

Way to force media uploader use custom image size

I've implemented media uploader to my custom category image plugin and was wondering can I somehow force it use my custom image size I've set only for categories. ... So in screen shot above, I'd ...
0
votes
1answer
412 views

Show subcategories and hide posts or show posts if not exists subcategories

I'm trying to make a WordPress blog where in the index page only Parents Categories appear. In second page need to appear SubCategories and hide posts, if not exists SubCategories show posts for the ...
0
votes
0answers
10 views

Custom display post query by categories

I have like 50k posts in wp_posts and they not belong to any categories. Now i want to add another ~3k posts and i want to add them to a category so i can query and display them apart from the first ...
0
votes
2answers
291 views

Display post thumbnail for specific category outside the loop

I'm building a theme that features a section wherein I'd like to have the single most recent post's thumbnail of a single category displayed between the header and blog sections. Something like ...
0
votes
0answers
13 views

Cherry Framework Categorys not working on custom post type

I am using the Cherry Framework. In a child theme i have added a new custom post type and set it to use the built in category and post-tag taxonomies. I have added this to my theme.ini in my child ...
0
votes
0answers
12 views

Create Nested Categories On Import

WP all import trying to import data with multiple nested categories and paths. <id> A|A Sub|A Sub Sub|A Sub Sub Sub A|A Sub|AB Sub Sub|AB Sub Sub Sub A|A Sub|AC Sub Sub|AC Sub Sub Sub ...
0
votes
1answer
36 views

Exclude all subcategories in the_category (post)

I'm looking for a way to hide all the subcategories based in my post: It always displays in my posts like : Categorie, sub categories. So I'd like to exclude all of the sub_categories. I've been ...
-1
votes
2answers
71 views

Category Alphabet List Broken

I need help in making this work in the latest version of wordpress. On Version 3.6.1 and down works well when I tested but when i decide to update WordPress well it breaks it. Ex: Version 3.6.1 looks ...
1
vote
2answers
678 views

category filter doesn't work in WPML

I translate the categories to another language, but in the main page, the two language categories are all displayed. How can I filter another language? My WPML version is 2.4.1. I found all the ...
-1
votes
0answers
19 views

Widget to add an different image to sidebar (by category)

I want to add custom content (maybe using a widget) on my website's sidebar that changes by category. For example, if a user lands on the 'Cars' category, I want to show an image related to cars. In ...
0
votes
2answers
22 views

Show all sub categories?

Is it possible to show all child/sub categories of all parent cats? I have the following hierarchy: Parent Cat/Tax -- Sub 1 -- Sub 2 Parent Cat/Tax 2 -- Sub 1 -- Sub 2 I would like to be able to ...
0
votes
1answer
2k views

Category menu item and its last 10 posts as sub-menu

i have some posts categories as element of a main navigation menu, and i'd like to display the ten lasts posts of this category as sub menu. ex: Category1 Lastpost1 Lastpost2 The ...
0
votes
1answer
16 views

foreach,having wp_query inside, breaks after showing one result

I am trying to make category tabs that show posts from selected category tab. I have tried it my way but m getting only one post for each category, whereas it should return all post in that category. ...
2
votes
1answer
34 views

Does WordPress Offer a Way to Find All of the Categories that Don't Have Children?

Background As discussed in Is There a Difference Between Taxonomies and Categories, taxonomies refer to a generalized system of classification and organization of objects or data. In the case of ...
5
votes
2answers
392 views

Is There a Difference Between Taxonomies and Categories?

I've been reading the codex for WordPress closely and am confused about the vague definitions between what a Taxonomy is and what a Category is. For that matter, term is also a word that is used in ...
0
votes
0answers
12 views

Sticky wp_dropdown_categories on Front End Form

I have built a front end posting form and I am trying to make the entire form sticky. I have used wp_dropdown_categories but I can not seem to figure out how to make it remember the selection if there ...
1
vote
2answers
24 views

Easy Digital Download Sub category

I'm curretnly developing my web store using the Easy digital downalod plugin. Now my problem is that i'd like to show only the list of a subcategory and i can't seem to find a way to do so. I ran ...
-1
votes
0answers
10 views

How to change view of category product woocommerce to listview [closed]

when i click a page of category product, the category in grid view. how to change that to list view ? sorry for my spech engglish.
0
votes
1answer
25 views

Add code to header based on category for specific posts?

Hello all! I'm trying to add as you'll see in the image attached a small huffington post icon and accompanying text to some posts on my blog. I'd like to set up a category "Huffington Post" and when ...
0
votes
1answer
338 views

Category link redirect to custom template page instead of index.php?

I want to make template page for my custom taxonomy. I have custom taxonomy categories listed as navigation links. It's the country list (China, Slovenia, Serbia...). Every of this categories has ...
4
votes
3answers
711 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 ...
0
votes
0answers
13 views

Category Link to Post

I have a website with categories X, Y, Z...with the Search Everything plugin I can search based on the category name to return all the posts within a given category. I have the search results posts ...
0
votes
0answers
13 views

Combined Category+Tag Archive Page

I am currently developing a music blog. I am using Wordpress categories for the artists and the Wordpress tags for featured artists. I want to combine the archive pages for artists and features into ...