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
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
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
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 = ...
0
votes
1answer
36 views

Ad line breaks in category description via enter

My client wants to ad line breaks in category description via keyboard enter. In the editor the white space is added, but it is not shown on the website. I can ad it with   but I have to be ...
0
votes
2answers
72 views

Wacky taxonomy in wordpress

I have my main site, www.whatsthatbug.com, and a test site, test.whatsthatbug.com. They are identical as far as I can tell - same version of wordpress, same plugins at the same versions, same theme ...
3
votes
3answers
310 views

Display all posts in category, with specific tag posts at top

Rephrase question I need to order posts inside the loop for my category car. What I need, if I visit the category page of car, I need all posts tagged BMW to display first, and then the other posts ...
0
votes
1answer
260 views

Display Categories or Subcategories with name & description in category.php in wordpress

I have the following issue for my customer. Can some suggest a possible solution to this issue? This website has Categories & Subcategories Cat1 -Subcat1 -Subcat2 -Subcat3 Cat2 -Subcat1 ...
2
votes
1answer
184 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 ...
1
vote
1answer
24 views

Find out which user created a category or tag?

We recently had an employee create inappropriate categories on our site as a way to retaliate against one of our managers. We are looking to figure out who is responsible. I have super admin, as well ...
1
vote
1answer
24 views

How to exclude the last post from a category(featured for example) from the main loop?

I am using 2 loops on the main page, one that shows the last post from the featured category and a general one with all the posts. The problem is that i get the last post in the featured category in ...
0
votes
2answers
67 views

If posts category is “cars”, display image

Can someone translate this: If posts category is "cars" show image For example: I have an article with category 'car' and another article with category 'banana'. No I'm looking for a way to add an ...
0
votes
0answers
40 views

Wordpress gallery shortcode - include author's images

I'm using the built-in wordpress gallery shortcode to display all images of a category -- documentation found here: Wordpress Gallery Shortcode Codex --- By using [gallery category="1"] How could ...
0
votes
1answer
83 views

New WP_query in template not working with CPT+category on some pages

I have three page templates, homepage, documentary, and corporate, each using the same CPT WP_query code with only the category name changed for each respectively. The homepage works fine, pulling and ...
0
votes
1answer
21 views

Get value of custom field in category admin

I am using cfs-custom-category-fields plugin. In their documentation it says that to get the value of a custom field in category you should use CfsTaxonomy::get('field_name') This works well when I ...
0
votes
0answers
51 views

how to Specifies an author / editor to edit one category only?

let me say i have a news website and it have many categories like sports ,politics and art . so i want to specify or select one of my authors "Bob" to be an editor for sports only for example .... how ...
1
vote
1answer
245 views

Display empty taxonomy terms with get_terms()

I have a function setup as follows: <?php $terms = get_terms("wpsc_product_category"); if ( !empty( $terms ) && !is_wp_error( $terms ) ){ foreach ( $terms as $term ) { ?> ...
0
votes
2answers
52 views

How do I add and display a custom image field to a category?

How do I add and display a custom image field to a category? I know I need to use the hook 'category_add_form_fields' however I am not quite sure how... I am relatively new to wordpress so any help ...
0
votes
2answers
57 views

How to disable access to category pages

I want my categories to be active and at the same time I want to make the category pages inaccessible. Is it possible? If yes, How? Why I want to do this? (Possibly this may help) I am working on a ...
0
votes
1answer
50 views

Best Way to Redirect Category to Page and Hide Category

I have a category archive page at: http://mysite.com/news It displays an archive of items from the category 'news-article' I'd like to redirect any requests for ...
0
votes
1answer
63 views

the_category() tag not styling HTML or CSS

I am having problems getting my the_category() template tag to style accordingly with the rest of my theme. I believe this is because the HTML isn't output the same way as the the_author() and ...
0
votes
1answer
94 views

Exclude category from foreach loop

How can I exclude one category from this loop wher I list my custom type projects by year ? <?php foreach(posts_by_year() as $year => $posts) : ?> <h3><?php echo $year; ...
0
votes
0answers
25 views

How to add Default Post Type “Custom” category to custom post type

Hi I have three custom post types 1- student 2 - teacher 3 - academy All three types share should have three categories 1 - subjects 2 - area 3 - qualification level First I thought I should add ...
0
votes
1answer
23 views

Cannot filter categories by parent category

I'm trying to get all direct child categories in category hierarchy. What I've tried: $args = array( 'child_of' => get_query_var("cat") ); $categories = get_categories($args); ...
0
votes
2answers
25 views

comments_number fails to print

I want to display the number of comments on a post using the template tag <?php comments_number( $zero, $one, $more ); ?> However, for some reason this tag does nothing and it is ...
0
votes
1answer
46 views

create category upon saving post and save post in that category

What I'm trying to do is similar to this one but we have a bit of difference in getting our info. Basically, when a user creates a post (under suggestions custom post type) on my site, it is not ...
0
votes
1answer
51 views

Display one post on category.php: Wrong featured image

What I want When a user opens a category link, there should be automatically displayed the first queried post. My query looks like this: <?php global $query_string; $posts = ...
0
votes
1answer
66 views

Random taxonomy category list

I'm trying to display one of my custom taxonomy lists on a page. I want to show five but have them in different random orders when the page is refreshed. I've tried using shuffle, but it just ...
2
votes
1answer
51 views

Limit function to specific post category

I have a function that wraps images in a custom div. It's placed in functions.php and modifies all posts. I'd like to know if there's a way to only apply it to posts in a certain category. Here's ...
0
votes
1answer
227 views

List child categories from parent category on custom taxonomy page

I making some updates to a theme I'm currently working on. I've moved a bunch of categories that have custom post items under them into a parent category that's all within a custom taxonomy. e.g.: ...
0
votes
1answer
28 views

Add posts of a certain category to a page

I have posts with a certain category(Blog Posts) and I would like to add these to a certain page(Blog). What can I do to add my category to a certain page? I really appreciate your help!
0
votes
2answers
68 views

Displaying One Custom Post Type's Content On Single Post of Another Custom Post Type

I'm currently building a college football blog and I have 2 custom post types: conference and team. Each conference post type will be a horizontal list consisting of each teams' logo and will be ...
0
votes
1answer
55 views

Add category attribute to custom recent post shortcode

I have a recent post shortcode to display a custom post. Everything works fine so far. However, I would like to add a category attribute so I can specify which category to display. My working code is ...
0
votes
1answer
88 views

Redirect year month day postname permalink structure to category postname structure

I have a Wordpress site with a /%year%/%monthnum%/%day%/%postname%/ permalink structure, and now the client wants it changed to /%category%/%postname%/. How do I do a generic redirect for the old ...
0
votes
0answers
81 views

Archive page display all posts which are listed under multiple categories or tags

Say I have some posts that I want to display which are listed under the categories "Video Games" and "Reviews". Or I have some posts under the tags "Mario" and Four-Stars". I initially came to ask a ...
2
votes
2answers
75 views

Get user's most published categories

I am working on listing all users similar to the Users page here on SE. When listing each user, I want to add their 2 categories they have published most into. All categories are within Posts. ...
0
votes
1answer
82 views

How To Remove Certain category Posts From the Blog Page

I'd like to know, Is there any ways to remove certain category posts from the blog page. Actually, I own a technology blog and I'd like to implement free software directory or marketplace in my blog ...
0
votes
0answers
18 views

Limit categories visible

How could you limit the categories displayed for a certain role when adding a new post? I would like to only list a few categories, but would rather not prevent them from seeing these categories ...
1
vote
1answer
99 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 ...
0
votes
1answer
51 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
39 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
0answers
32 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
77 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
31 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
1answer
46 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
14 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
0answers
66 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
46 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
68 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
51 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 ...
0
votes
0answers
17 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 ...