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
1answer
298 views

SQL Bulk Move old posts by one author to another category

I'm looking to move a number of old posts by one author from one category to another category and was hoping someone could help me do this? I figure the easiest way would be through an SQL command? ...
0
votes
2answers
43 views

How can I implement pagination on custom category page?

I have created a custom template page for every one of my categories. I am using a foreach loop in order to fetch the posts of this specific category in my page. if (is_page()) { ...
0
votes
1answer
39 views

A simple question regarding tags and categories

I was wondering if there was an easy way to display posts from a tag from a specific category. In other words, if I have Category1, Category2, and Category3, and these all have posts with a tag ...
0
votes
0answers
20 views

Categories showing up on wrong page

I do not run the site, but am doing some updates. One of the ones I was asked to do is remove the cats from the adopt a dog or puppy page. When I go into the dashboard and look at the posts, they all ...
0
votes
0answers
45 views

I cant get archive-gallery.php for custom post types

Hi to all I have just created a gallery with the codes below: //---------------------------------------------- //----------register and label gallery post type ...
0
votes
1answer
314 views

How to show related posts by category or custom post type?

I'm looking for the best way to go about creating, probably, custom post type where you can filter in the categories related to that custom post type in the sidebar. Here is the website I'm working ...
0
votes
0answers
20 views

Posts of Certain Category as Menu

I want to retrieve posts by certain category dynamically as a menu. What I need is: On the left-side of the page I want to display a menu as following | Category Name | | Post of This | | ...
0
votes
1answer
41 views

Link to a latest news item with correct url

I need to have a page, that displays the latest post in the category 'news' or sub category 'news->nen-news'. And I need to be able to link to from the main navigation (news->news article). My news ...
0
votes
1answer
43 views

Wordpress showing wrong category name

I'm using: $category = get_the_category(); echo $category[0]->cat_name; to display the current category as a header in an archive template (example of local url is ...
0
votes
1answer
40 views

List categories with custom code

Right now, and taking from http://codex.wordpress.org/Template_Tags/wp_list_categories we can use the following code to list categories in a wordpress page: <?php $args = array( ...
0
votes
0answers
24 views

Get custom type category from a category posts

I've been searching the way to do it but no good. The title may be confusing, let me explain my problem... I have the archive page (the main category), then I've posts inside that category and inside ...
0
votes
1answer
26 views

Change existing taxonomy settings when using custom taxonomy

For a plugin I have created a new custom taxonomy for attachments using the function register_taxonomy() and parameters like "show_admin_column". When this parameter is set to true, it shows the ...
0
votes
2answers
127 views

Category Alphabet List Broken

In version 3.6.1 and below this worked. After updating WordPress to version 3.9.1, my category list is broken In version 3.6.1, my category list looked like this A|B|C (A) (B) (C) Apple Bat ...
0
votes
1answer
43 views

Get latest post from categories

I have 3 categories: Travel, Destination and Tips. I've been trying to get the latest post from each categories then put them into an array. Here's what I have in mind. //GET CATEGORIES //I have this ...
0
votes
0answers
20 views

Bulk assign Categories by ID

I have several hundred posts that need to be recategorized. I have all categories established and know the category IDs that need to go with every post ID. Some posts need to be assigned multiple ...
1
vote
2answers
152 views

Sort posts by post_type in category.php template

In my category.php template I want to sort category posts by their post types dynamic. My block must have this structure Restaurant (custom post type) - posts Bars (custom post type) - posts ...
0
votes
1answer
39 views

Add category to all post by using sql query?

I have a thousand posts and all them don't have category. Do you know how to associate category with all posts by using sql query?
1
vote
1answer
275 views

Display category description instead of “nothing found” page

I'm using Wordpress 3.8.1 with the theme twenty fourteen. Unfortunately , when you click on a category with no post assigned to it for now , it displays a not found page. I've tried to create a ...
0
votes
0answers
70 views

Wordpress category filter update subcategory

I'm building a new theme and i need to have an option at the top where there are three dropdown fields which represent three unique categories. The three categories are basically ( Country, City, ...
0
votes
0answers
22 views

How to create archive page for items in custom taxonomies within custom post types

I'm working on building a portfolio system that's setup with a custom post type (portfolio_items) and a custom taxonomy (portfolio_category). One of the portfolio categories is called "Branding" and ...
0
votes
1answer
38 views

How to check if a post belongs to a category that has only 1 posts?

Although I've done some searches on Google, I have not found an answer to this question: Is there a way to check if a post belongs to a category that has only 1 posts (is the only one in its ...
1
vote
0answers
46 views

custom taxonomy archive by year

there is one custom post type News there are 3 taxonomy terms(like category). 1). press-release 2). in-the-news 3). events i have list out all this three category. now what i am looking for is ...
0
votes
2answers
37 views

How could I know all the categories from post?

I need know all the categories from post in wordpress, but my code only give me the first category and I don't know for why. For example: if one post have the category "category1" and "category2" I ...
1
vote
2answers
118 views

How to only show posts on last child category

By default WordPress will list posts on each category in its hierarchy. Example: Parent /- child /-- grandchild When viewing the "Parent" category you will see a list of posts from child, ...
0
votes
1answer
37 views

How to use a hierarchical taxonomy in permalinks?

I use permalink: /%category%/%postname%.html and want to have categories like this: Wheels Mercedes Toyota Brakes Mercedes Toyota I want their URLs like this: ...
0
votes
1answer
124 views

Issue on Listing Sub Product Categories In Woocommerce

Using Following code I am able to list all top level Categories on Woocommerce Product Categories $args = array( 'number' => $number, 'orderby' => 'title', 'order' => ...
1
vote
0answers
129 views

Remove subcategory and category with some rules from permalink

My current option for permalink is set to /%category%/%postname%/: I have a category 'stati' and parent category 'italian', 'german'. This parent category has some other parent category, for example: ...
0
votes
1answer
25 views

Hide categories from showing above a Post

Each Post on our blog has a subtitle on the right above the main content saying: CATEGORY: <category 1>, <category 2> How should someone that's unfamiliar with PHP, remove this entire ...
-1
votes
1answer
49 views

Enter a variable in the 'category_name' parameter

Is it possible to use a variable for the 'category_name' parameter? I have three pages: red, yellow, and blue. I have multiple posts that are categorized in three categories: red, yellow, and blue. ...
0
votes
1answer
43 views

How to create a playlist for audio associated with posts per category

I am trying to find out how to create a playlist on the category page. The playlist will play all the songs/audio files associated with posts linked to a given category. Example If i have a category ...
0
votes
0answers
44 views

Custom meta boxes ID prefix showing on first category but not others

I've created a custom post type and added some custom meta boxes using this great resource: https://github.com/WebDevStudios/Custom-Metaboxes-and-Fields-for-WordPress The problem, I've found, is that ...
0
votes
1answer
93 views

Custom taxonomy template for categories

I have just been reading up alot about custom taxonomy template files, I have a category within a custom taxonomy that needs its own template. I understand about the template heirarchy etc.. and seen ...
0
votes
1answer
63 views

How to exclude posts from category posts count

I have a custom loop to display posts based on a custom field. My problem is that if i have 2 posts and exclude 1 from the loop the category posts count (categories list widget with show count enable) ...
0
votes
0answers
17 views

How to add superscript to a taxonomy?

Like the ones for the tags or the categories' term names? and values? <sup></sup> doesn't work... Please help, thanks! edited: img uploaded, these are the tags
0
votes
0answers
13 views

Twitter Links to WP Posts with Summary

I don't have enough time to write full posts on my WP site anymore, but I tweet lots of links that earlier I would've written posts about. So I'd like for WP to consume my tweets and automatically ...
0
votes
2answers
234 views

Get all custom_post_type posts + blog posts from one category in a single query

Is there a way to query posts from multiple post_type's and filter the normal blog posts by a category? I am trying to display the 10 latest custom_post_type posts and blog posts on my homepage in a ...
0
votes
5answers
258 views

Wordpress for Podcast Network

Is there a theme or some hack of the categories system that I can use to create a site for a podcast network? I want it similar to This Week in Tech in that all the podcasts will appear on the front ...
0
votes
0answers
64 views

If taxonomy has child-category then show child else taxonomy post

i have a custom post type name 'post_type' => 'albums' and taxonomy 'taxonomy' => 'albums_cate'. i have 4 parent taxonomy name -"personal,happy,smile,cry" and "personal" have 2 children(sub-category). ...
0
votes
1answer
14 views

Custom Catagory not found

I created a custom post with a custom category like so function fitters() { $labels = array( 'name' => _x( 'Fitters', 'Post Type General Name', 'text_domain' ), ...
2
votes
1answer
185 views

Display all posts from all categories with pagination

Alright, this might be a tricky one to explain but I'll do my best. At the front page I want to display all the posts from all the categories. However I want them to be divided. Take this for an ...
0
votes
2answers
1k views

Custom-Taxonomy as categories: Remove “most-used” tab?

I created a custom-taxonomy for a custom-post-type which functions as kind of categories for this post-type. The Metabox for my taxonomy has two tabs. One for my Categories and a second tab called ...
-1
votes
1answer
452 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 ...
1
vote
2answers
2k views

Display all posts under child sub category in sidebar on post page?

I am trying to make a custom sidebar for my posts in certain categories. It will look something like this. My category structure looks like this: Parent 1 Child 1 Sub Child 1 Sub Child 2 Child ...
0
votes
1answer
49 views

how to show the post category name

I'm novice on wordpress development and I have this problem. How can I show the post category name? Example: Post Title: Wordpress Rules! Post author: Irwin R. Post Date: 22/09/2014 Cat Name: ...
0
votes
1answer
33 views

Exclude categories from search query

I have two categories that I want to exclude from my search results, so far without luck. I have tried adding the following piece of code but it didn't work. $search_query = ...
0
votes
1answer
42 views

How to exclude the 'featured' category from posts feed in the homepage?

I have two sections in my home page - featured and the default recent posts feed. The featured posts container displays all the posts under the category 'featured'. But it is also displayed in the ...
0
votes
0answers
34 views

Force Category Sidebar To Show Just One Level Sub-category?

Here is an example of normal categories displayed in the sidebar: - MAIN 1 -- Sub One --- Sub Sub One --- Sub Sub Two -- Sub Two - Main 2 -- Sub Two This is the default structure. Here is ...
-1
votes
1answer
47 views

Add an Exclusive or featured tag line to article titles

I want to display a big exclusive tag or image next to my articles headlines,when they are posted to in this case featured category. An example of what im trying to achieve can be seen on tmz.com or ...
0
votes
1answer
658 views

wp_nav_menu not highlighting the current category when viewing a single post

My WordPress site has a bunch of posts, all filed by a top-level category and a bunch of subcategories therein. I have the main site nav rendering the category pages, which, when clicked, get all ...
0
votes
1answer
17 views

Lowest catagory link

I am trying to display lowest child category link.At this point I can only display the child category name but I want it with permalink.So far my approach $categories = ...