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
0answers
17 views

Best method to make posts searchable, sortable and filterable - custom field, tag or category?

I'm wanting to create/modify either the existing post type, or create a new post type to be searchable, sortable and filterable by the following fields: Country from: Country to: Activity: ...
0
votes
1answer
26 views

Allow authors to post only in categories they create in WordPress

I'm looking for a way to allow users with an assigned WordPress role (in my case, author) to create new categories and then automatically be restricted to only posting in those categories or the ...
0
votes
1answer
19 views

Showing Categories for Page Edit - without plugin

I am building a theme without any extra plugins. Does anyone know the code needed to show the Categories in page Edit - without using a plugin?
0
votes
1answer
34 views

Javascript code for Category

can I check if scripting can be encrypted for specific categories? For example, I would like to encrypt only for http://www.example.com/category/news/education, for ...
0
votes
0answers
13 views

Create select dependent dropdown by meta values or categories

We had 3 custom fields Brand Model Features (multi input in an array ) need dependent drop down form when select Brand (or Category) > show drop down menu contain all Models (related to this ...
-1
votes
0answers
10 views

Category organization advice please [on hold]

I wonder if anyone can give advice on recommended approach to creating new categories. I have 10 different kinds of legal documents which are naturally grouped by year, some of the documents will be ...
-2
votes
0answers
15 views

Display posts on page template where category matches the page's custom field

I'm attempting to create a page template that displays posts that have a category that matches that page's custom field values. In the page template I have a custom field named "Page Category". If ...
0
votes
0answers
17 views

featured image rss feed in a category

I want to get the featured image in my RSS feed in a specific category. With the principal rss feed mywebsite.com/feed , I have no problem. Featured images are displaying. When I want to create a rss ...
-2
votes
2answers
40 views

How to pre-set Wordpress settings for specific posts?

The WP site I am creating requires creating diff posts for diff categories. What I like is that if someone chose to post under category A, i have a bunch of pre-set settings (tags, banner image etc) ...
0
votes
0answers
11 views

404s with /slug/page/2/ vs. /category/slug/page/2

All of my category pages seem to have the default URL of /slug/, so when I include them in my site's navigation menu, Wordpress renders the links as /slug/. So, the pagination links on the page ...
0
votes
0answers
12 views

Get all categories (ids) in array with hierarchy

How we can retrieve all categories into one array with only ids. And it should be hierarchical. I don't find similar API function...
1
vote
1answer
26 views

Articles are text-only in any “Category” instead of HTML

I run a Wordpress blog at http://toile.reinom.com/ and a lot of articles are using HTML codes (mainly <h*>, <p>, <a> and <figure>). Those tags are correctly displayed on the ...
1
vote
0answers
23 views

Exclude Category filter from Portfolio section

I am stuck with this since hours and found lots of forum entries about NOT IN, WP_Query, category__not_in portfolio, editing JS/ CSS in Theme options or having bits of code to add to portfolio.php, ...
0
votes
1answer
30 views

Prevent function from triggering again when post in specific category gets another category?

I have created a function to send out an email to authors when there post is added in the popular category for custom post type. IT WORKS but there is 1 major issue. If the post that is in the ...
0
votes
0answers
10 views

dynamic table for post?

I want to display a list of items with pictures and a short description in a table on a wordpress page. The problem is that I want to the main future editor to be able to add new items at the start ...
-1
votes
0answers
16 views

Convert wordpress tags & categories to woocommerce tags & categories?

With the ref of Convert WordPress posts to products in WooCommerce I have learnt how to change wordpress posts to woocommerce products. How can i change wordpress categories to woocommerce ...
0
votes
0answers
20 views

get_posts ( $args) failing when called by AJAX

Here's my code: function ajax_test(){ $default_workout_category = 61 //Hardcoded category for testing $args = array( 'category' => $default_workout_category, 'orderby' => 'title', ...
0
votes
0answers
9 views

search result in category url

I want to make a link that shows search result in category links like this link site.com/category/booklets/?s=image I mean when I search "image" word I want to see all results in search file and also ...
0
votes
1answer
13 views

get_the_terms_list output last child only

I'm using get_the_term_list on an archive page which currently outputs all categories that a post is in with links. My question: Is it possible to only display the last child category, not any ...
1
vote
0answers
23 views

How to show custom taxonomy in the permalink?

I used the Portfolio Post Type Plugin to create custom tax and post type. I would like to show the custom taxonomy on the portfolio projects. portfolio/customtaxonomy/project while now is ...
-3
votes
0answers
18 views

Comment form in my sidebar section [on hold]

I want a comment form in my sidebar section (theme solar)When the user clicks send, they are immediately transported to a page that hosts all of the comments that everyone posts, arranged by ...
1
vote
1answer
29 views

How to export/import categories and keep their IDs?

Using a plugin doesn't keep the IDs of the categories and exporting/importing of the wp_terms and wp_term_taxonomy tables only works on categories without parents, it seems. The admin panel still ...
0
votes
2answers
30 views

How do I add a category to my post_type

I have a section in my dashboard called "services". I have 4 services I have 2 categories for these services: residential and commercial 2 of the 4 services have the category "residential", and the ...
0
votes
1answer
34 views

How to remove category titles?

When I go into certain categories, there is a page title that says "Category: category_name", like this: I would like to remove the "Category" from that title. I've already looked around quite a ...
0
votes
0answers
19 views

Custom Post Type (CPT) list/archive/category setup help

I've added a CPT: "projects". I'd like to be able to land on /projects and have a list of my categories. When clicking on a category it would bring you to /projects/category-name. That page would ...
2
votes
1answer
23 views

Add custom taxonomy under the category title

I've added a custom taxonomy to my product category page in the admin. I can call the custom field using the following: $queried_object = get_queried_object(); $t_id = $queried_object->term_id; ...
0
votes
0answers
18 views

Add a URL prefix to permalinks of one category of posts only

I have the permalink structure http://domain.com/%postname%/, which is what I want to keep for most of my posts, however there is one category of posts that I would like to move from ...
0
votes
0answers
31 views

WooCommerce - Add Category Id Class to List of Categories on Archives

In WooCommerce I have my Shop & Category pages set to display a list of categories rather than products. Within that list of categories, I'd like to add the categories id (or slug) as a class to ...
1
vote
0answers
12 views

Menus don't work after 4.4

After I updated to Wordpress 4.4, I noticed that the menu links on the front page of my website don’t work anymore. The website is: http://rantaboutfilm.com/ the theme is: swagger When the user ...
1
vote
1answer
12 views

Search Posts / Pages with multiple options?

Here is what I am trying to accomplish. Need to design a website for Alcoholics Anonymous (local Chapter) to search for meetings. Need to search for multiple choices of meetings for example. Men's ...
0
votes
0answers
11 views

WooCommerce - Display Grandchild Categories on Archives Rather Than Child Categories

In WooCommerce I have two main categories that both have subcategories that go two levels deep. As such the two categories have child categories and grandchild categories. I currently have ...
0
votes
0answers
12 views

How to assign a new template for a new category?

I am using pagelines template .Custom template works for blog as the template file is saved as category-blog.php . But i try to do the same for a new category category-newcategory.php , it did not ...
0
votes
2answers
36 views

How do you bulk remove a category from posts?

I just imported a Blogger site to Wordpress, and it put the category "Uncategorized" on all posts. I ended up converting all of the tags (which did come over from Blogger) to categories, but now I ...
0
votes
1answer
31 views

Exclude posts with certain tags in category archive

When we click a category link we find all posts under that category. I would like to hide posts from specific tag within that category, and to show a link which enable us to show the posts on that tag ...
0
votes
2answers
26 views

Get Category Archive Template Name Dynamically

I'm making a category archive template that works for all my categories. I need to dynamically set the 'category' parameter of WP_Query inside of this template to make it work. How do I dynamically ...
1
vote
0answers
15 views

Display Posts Loop for each parent and for each Child

i have a custom query to display relation with posts (post 2 post plugin) my existing code display : foreach terms as terms i need to display for each Parents Display Child then Posts Titles ...
1
vote
1answer
17 views

category permalinks

i am quite confused about the permalink stuff. So here is whats up... I have a page called tours as well as custom post type called mc_tours. At first i just changed page permalink to ...
0
votes
3answers
41 views

How to provide value for 'selected' on wp_dropdown_categories() for 'multiple' options

I'm using wp_dropdown_categories() with multiple="multiple" in this way, bypassing WordPress core. Till now (WP 4.4.1) doesn't support multiple on that select field. (Core Ticket) I'm struggling with ...
1
vote
1answer
40 views

WP_Query arguments to fetch custom post type posts which are in certain category?

I've played around for hours but still can't wrap my head around the right arguments for a secondary WP_Query which shall fetch all posts of my_custom_post_type that are in the queried category. ...
1
vote
0answers
23 views

Prepending %category% onto default posts fails

I have been attempting to change the rewrite slug on the default posts. This is my post_type re-registering code (Taken from another post on StackOverflow) with the simple intent of changing the ...
0
votes
3answers
96 views

How to Mysql select a list of posts with meta_values AND all relevant categories?

I am trying to produce a list of posts and display a report which shows both some meta_values for each post, but also a list of all categories to which each post is attached. I am using the nifty ...
0
votes
2answers
30 views

Template tags to display custom post type posts in category template?

I am developing a custom theme with custom post types involved. Custom post types have been defined via plugin 'Pods' (http://pods.io). When writing a category.php, I realized, that the standard loop ...
1
vote
0answers
26 views

Create menu / submenu from category subcategory and posts

I have a custom menu made up of pages and categories and I am trying to output the category and subcategories as well as the last 4 posts from each category/ subcategory. In trying to use a walker ...
1
vote
0answers
21 views

Custom Loop through category menu to include sub categories

In my custom wordpress theme I currently have the below loop to the main categories <?php $menu = wp_get_nav_menu_object('navigation'); $items = wp_get_nav_menu_items($menu->term_id); ...
1
vote
0answers
12 views

Categories as main menu items and subcategories as nested lists

I am new to WordPress and am trying to make my website. Would it be possible to list categories and subcategories as a nested list with links in the main navigation menu. What am i trying to achieve ...
0
votes
1answer
23 views

How to insert category name above post title in a featured pages plugin?

I'm trying to hack a plugin to insert the category name of the post above the post title in a plugin/widget that displays three posts in a single row on the front page. The hack I tried is as ...
1
vote
1answer
21 views

How get permalink for the current category or tag?

There was a problem in which it was necessary to get permalink of the category/tag viewed. I have not found standard functions, everything other authors offered was only for categories. I resoved the ...
1
vote
0answers
29 views

ajax category filter

I know this is a big ask for you guys, but i can't seem to figure this out. I found this page : http://www.bobz.co/ajax-filter-posts-tag/#comment-28112 it shows how to make a dynamic filter for post ...
0
votes
0answers
7 views

About making a category-site in the menu

How do I make a category a site in the menu? Like for example "everyday pictures" (a category) to be one site?
0
votes
1answer
22 views

Hide category name using mod_rewrite

I have a website with at least 3 categories. I have set one of them as the default category. Next step was that I need to have the category slug of the default category to be hidden from the URL ...