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

Page with the same name of a category

I've a category, let's say "testcat". I want to create some pages which the final url should be "http://example.com/testcat/pagename". To do this, I should create a page named "testcat" and then a ...
1
vote
1answer
20 views

Categories list into registration form

I'm trying to create a custom user registration form used for Educational website. Is it possible to automatically retrieve categories of posts (custom posts) in the registration form. The form ...
0
votes
1answer
15 views

I have many different products on my website how can I get them to display under specific categories?

How and where do I put code to get products assigned to categories. I bulk imported categories after I already had products setup. Now I was wondering how I can move all the different products to the ...
0
votes
1answer
15 views

How to Customize the category list page

i use evolve theme for my site. here is the screenshot of category list the page display the raw code of the page content which contains a gallery. How can i customize the category display?
-3
votes
2answers
22 views

Post list category plugin alphabetical order [on hold]

Is there a way we can set these to list the posts in the category by alphabetical order?
2
votes
0answers
12 views

Multisite - create a category in specific site

I have a multisite I want to create a category but in a specific site. I used this functions below: wp_create_category('mycategory', 0); but this will create a category on the main site. I keep ...
0
votes
1answer
33 views

Category Template for Custom Post Type

I'm driving myself crazy with the following issue, hope you can help me! I'm working on a WordPress theme for a business directory so I decided to make some custom posts types on functions.php file ...
0
votes
1answer
13 views

Help with SQL query, how to add taxonomie terms with value stored in options?

i need your help in making SQL What i have: custom post type ( company ) taxonomie ( category ) applyed to cpt ( and has ct section select field ) custom taxonomie ( section ) applyed to nothing ...
0
votes
0answers
12 views

post by Category not working after setting 4 post per page

I am trying to show 4 posts on my homepage that is working fine but whenever i click on sidebar post categories it still shows the 4 post from homepage i.e the filter doesnot works and it shows 4 post ...
0
votes
1answer
19 views

Adding a block with query in homepage

i want my 2 post blocks to show by Categories not recent And not by category. <!-- Latest posts --> <div class="home-section"> <div class="container"> <div class="row"> ...
0
votes
0answers
15 views

How to get category id's which are added in main menu?

I called post categories in my main menu using menu section and set them as child menu items now when I click that category menu items I need to make parent menu item active.I know doing this with ...
0
votes
1answer
29 views

Query posts by views on category page

I'm having trouble trying to create a second query on the category.php pages, what I'm trying to achieve is displaying the most popular posts from the current category archive page being viewed. ...
1
vote
1answer
13 views

Authors in menu, template list post by author

Can i get a specific author in main menu and when you click on it to see all the post buy this author. Also i need to see all posts ordered by authors too in the menu. In what template should it ...
1
vote
1answer
23 views

get_categories() returns “Uncategorised”

On the front-end of my WPMU site all categories vanished and every post is marked with "Uncategorised". This is however only on the single.php and not on home.php. The same error occurs on ...
0
votes
0answers
4 views

Admin Categories validation

i am trying to validate user input when adding new category through WP , i use jquery.validate() and validation error appeared successfully , but after pressing add new category , the category is ...
0
votes
0answers
27 views

how to capture the value of the selected parent category

I am very new to WordPress as well as coding and I am stuck with one of the form field, which has a select box for listing all categories and sub-categories (taxonomies) in it. But I would like a ...
0
votes
1answer
40 views

Front end page submission form does not attach custom post type

This side of WordPress is completely new to me, but is also extremely important. I have created a form that allows me to upload a page, with all the parameters I need, however a custom taxonomy is not ...
0
votes
0answers
14 views

Multiple Post Repeat for Related Post Loop by Category

This is my code: if ( is_single() ) { $categories = get_the_category(); if ( $categories ) { foreach ( $categories as $category ) { $cat = $category->cat_ID; ...
0
votes
0answers
7 views

Change categories count to include media attachments

I am creating a gallery that will automatically display new images from a chosen category and its subcategories. I have set up the categories so that they will apply to media using: ...
0
votes
1answer
20 views

Extract image url associated to a category

I found a function that allows me to attach a category to an image in media uploader function add_categories_to_attachments() { register_taxonomy_for_object_type( 'category', 'attachment' ); ...
0
votes
1answer
20 views

Admin Panel - Disable Moving Selected Terms To Top of Metabox

By default whenever you select a category it moved it to the top of the term list, which in most cases it pretty user friendly. I want to disable this featured and leave my term list in the default ...
0
votes
2answers
40 views

getting post data in functions.php

I have done this before but it doesn't seem to be working in this case. I am trying to get the category ID from the supplied slug and then add a metabox to the page if the page id matches the category ...
0
votes
2answers
25 views

Loop Through Categories in Custom Field

Specifically, I am using the add_image_attachment_fields_to_edit function. I have my declaration of label, input.. $form_fields["custom4"]["label"] = __("Custom Select"); ...
0
votes
1answer
21 views

How to exclude a specific categogy from a custom page template

I have a custom page template that uses the wordpress loop to display all my posts like usual: <?php if (have_posts()) : while (have_posts()) : the_post(); There is a category that I don't want ...
0
votes
1answer
16 views

/blog/ permalink prefix causes category pages to 404

I've followed the instructions in this post: http://wordpress.stackexchange.com/a/21208/51164 - And it worked but now category pages (/blog/news) don't show up, they 404 instead. Although on that post ...
0
votes
1answer
26 views

How to “group” (categorize) the Pages together?

I have a lot of Pages which can be (need to be) grouped under a number of different Categories. ** Then the more important thing is, i need to control those pages (of different groups) programatically ...
0
votes
0answers
18 views

Force an image upload form field to display as checkboxes

I'm using a plugin called Media Library Categories which adds category taxonomy to media files, so I can give images a category denomination. It works and displays as checkboxes in the Edit Media ...
0
votes
2answers
38 views

How to assign different categories to pages in wordpress?

I am beginner in wordpress, I want to assign my categories that contain multiple posts to particulate page. So please, anybody guide me?
0
votes
0answers
9 views

Diplay all posts and subcategories from a category sorted by title of both (posts and subcategories)

I would like some help to post all the posts and subcategories of one category with ordring by the title of post and title of subcategory ,it will be somthing like AAAA(post) cccc(post) ...
0
votes
0answers
31 views

Template for portfolio, posts existing but still “not found”?

I'm updating a website which wasn't made by me initially. The website has a portfolio-template which is used on severel sub-pages in the menu, and each sub-page has its own category. Now I want to ...
0
votes
0answers
29 views

WordPress generating 2 URLs of single post

I have created my own wordpress site , I have assigned category called "mycat" to post. Now wordpress has generated 2 URLS : 1 - mysite.com/mycat/post 2 - mysite.com/post It is good that ...
0
votes
1answer
21 views

add custom option to get_categories dropdown

I have a dropdown menu for selecting categories in a widget that I am working on. Everything is working and options are being saved in the database. What I am trying to do now is add a blank option ...
0
votes
0answers
24 views

Additional custom loop on the “category” page?

i'm having trouble trying to add an additional loop of my CPT inside my "category" page. What im trying to do: first display the latest post of my CTP, then show the posts from the category normally. ...
0
votes
1answer
47 views

How to have a static category/author page?

I'm using a static front page with my theme and it's convenient and just nice. I'd like to do the same for the category and author pages as well. I can't find this asked yet... My reasons are... • I ...
0
votes
0answers
9 views

get_categories that have 12 extra fields

I add extra fields for all category. like this :- //add extra fields to category edit form hook add_action ( 'edit_category_form_fields', 'extra_category_fields'); //add extra fields to category edit ...
0
votes
1answer
42 views

How to select single category in menu if post have two categories?

My website's post have one, two, three etc categories depends on articles. My menu is made of categories. when i select post (open whole article) it shows post category in menu. Problem : when i ...
0
votes
0answers
13 views

show the post and respective category name?

Here, I'am able to fetch the category name but I want that the each category name should be printed once and then all post related to it. For example: Category1 - here is posts and its content ...
0
votes
1answer
17 views

Category as subdomain

I am new to wordpress I need my categories as subdomains i,e. domain.com/category/post to category.domain.com/post I have tried using wp-subdomains , subdomains, main category subdomains plugins but ...
0
votes
0answers
8 views

Sidebar Categories Questio

I added five categories through widgets on my primary sidebar. Under each of them, all of my main categories that have posts in them are coming up. However, I only want certain categories to come up ...
0
votes
1answer
36 views

Custom Post Type with modified permalink structure results in 404

I've defined a custom post type, 'Review', that I'd like to utilize with a custom permalink: /reviews/year/postname. The below code correctly creates the CPT and the custom permalink appears correctly ...
1
vote
4answers
132 views

how to use a different domain/subdomain for authors/catagories on single site?

I'm not sure if I phrased this question correctly... My wife and I have one blog, family.com in this example, that we both contribute to. I would like family.com to show all blog posts. ...
1
vote
1answer
21 views

How can I get categories IDs if multiple categories requested via URI?

Let's say, I have two categories, 'color' and 'temperature'. Each one has a number of sub-categories. Wordpress does great job displaying posts in requested categories when I go to URL like this one: ...
0
votes
0answers
12 views

How to convert this snippet to taxonomies instead of categories

How would I change this snippet of code so that it outputs a list of the child taxonomies from the current custom parent taxonomy rather than categories. This will be outside the loop in taxonomy.php ...
0
votes
1answer
40 views

Meta data (Tags and Categories) for Custom Posts not showing.

I registered a custom post type ("movie") with tags and categories. Now, I'm able to filter and search for the custom post with these tags and categories, so I know they're present and working, but ...
1
vote
1answer
25 views

Assign automatically and manually modify category

I assign automatically a category to a post when published. But how can i modify this category in admin? function add_bookcategory_automatically($post_ID) { global $wpdb; ...
1
vote
1answer
57 views

Custom permalink structure leads to be 404 on pagination

I have a permalink issue. For your information, there are a few different categories within a website and there are many posts in a single category. My permalink setting is: Custom Stucture: ...
0
votes
0answers
17 views

Multisite - global categories [duplicate]

I have a multisite network set up (where each blog actually represents one language). The contents of each site can differ (since it's handled by different people with different focus). BUT: We want ...
1
vote
1answer
74 views

how to get value of wp_dropdown_categories

I am making a widget and I have used the wp_dropdown_categories() function in that widget. What I can't figure out is how to get the selected value from the dropdown. What variable is the selected ...
0
votes
0answers
8 views

Loop tags with specific design

Forgiveness for the title, I can not think of anything to describe it. First I have a basic loop: <?php $args = array ( 'category_name' => 'juego-de-tronos', 'orderby' ...
0
votes
1answer
29 views

How to create an array with category ids order by the one that has the most recent post

I can't find a proper solution to this. I have an array of categories for example: $slidercategories_array = array(3,5,6,9,10,11,12,23,24,27); I need to reorder the array like this first the ...