0
votes
0answers
18 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 ...
1
vote
1answer
50 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 ...
1
vote
2answers
45 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 ...
0
votes
1answer
25 views

Wordpress Categories from Plugin

I've got the Owl Carousel plugin installed, inside of it I can create some categories. Now I'd like to have these Owl Carousel categories displayed on the site, not the regular categories. What you ...
-1
votes
1answer
36 views

Save post to category with gravity forms (post_data) [closed]

I'm trying to save my posts, generated with gravity forms, to a specific category. However whatever I try, it's not working. The post must be saved to sepecific category, dependent from a gravity ...
0
votes
1answer
42 views

Automatically set posts to NoIndex depending on category?

I'd like all new posts with a specific category to automatically have NoIndex applied. There are various plugins - e.g. Wordpress SEO - which make it easier to manually select posts for NoIndex. But ...
0
votes
1answer
83 views

Show all posts of all categories but excluding a category on custom blog page with pagination of my theme

<h3>Recent Posts</h3> <?php // Display blog posts on any page @ http://m0n.co/l $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $temp = $wp_query; $wp_query= ...
0
votes
0answers
29 views

Plugin for choosing categories in steps in admin, parent first then display childs

Situation: I'm setting up a CPT (multiple doing similar thing) where there will be a custom taxonomy only for that cpt... and it will have two levels; parent/child. So like this: CPT = Vehicles -- ...
0
votes
1answer
25 views

Showpost and last

I need your help. I would like to bring up the last (number) from my template classified ads. Here's the code: <?php $the_query = new WP_Query( array( 'showposts' => 10, ...
0
votes
1answer
156 views

404 not found problem with URL rewrite custom category

I have category called "us". I am trying to change link structure from : http://www.example.com/us/post-name to http://www.example.com/post-name I have inserted code in functions.php : ...
0
votes
0answers
37 views

Is it possible to setup Category wise Subsciption?

Is there any plugin in Wordpress, which will allow visitor to subscribe my WP Site category wise? Like when a user will enter his/her mail address to subscriber, (s)he will be asked to select ...
1
vote
1answer
54 views

Solutions to repost categories into multisite blogs?

I have done a search on this topic but was unable to find a solution to this specific question involving wordpress multisite. I currently have a wordpress network where domain.com is our main site ...
1
vote
2answers
199 views

Display content from custom post type if match to main post category

I solved the problem of displaying from a custom post type in a post with this solution, however, I want to filter even more and only display the posts from custom post type that match the main post's ...
1
vote
0answers
200 views

How to display taxonomy images with wp_list_categories?

I am trying to display only sub taxonomies with images of current taxonomy in taxonomy page. I have created custom taxonomies for a custom post type and using the plugin Categories Images to add a ...
0
votes
1answer
70 views

How to use categories in the URL with Advanced Custom Fields?

Using the Advanced custom fields plugin: 1) I want to post to the ACF and use a category just like a regular blog post, but the URL would be: mysite.com/customPost/category/post-name Is this ...
0
votes
0answers
30 views

How to set a category by day name?

I have a category for each day. Sunday, Monday, Tuesday, etc. I want to show this category fixed depending on the day of the week. I'll also have other categories to filtering. So, the category day ...
0
votes
0answers
70 views

Category and Sub category

There are two main categories such as Job by Education and State wise jobs, if a Job related post is posted how the post can be listed in both the two main categories and sub categories,
0
votes
0answers
72 views

WP No Base Permalink only works with logged user (admin)

(My apologies for my poor English, I'm french) I just want to have a shorty URL for all page of my WP Site: www.example.com/wordpress-answers-is-a-good-site for my posts insteads of ...
3
votes
2answers
119 views

Restrict individual category combinations

While assigning multiple categories to a post, I need to restrict the category choices on a post depending on what other categories have already been assigned to the particular post. For example, ...
0
votes
0answers
131 views

Change permalink based on post category

I am looking for a way to change the permalink structure based on the category a post is in. If the post is in the "blog" category I would like the permalink to be /blog/%postname%/ and if it is any ...
0
votes
0answers
278 views

Woocommerce display parent child category

I am using the WooCommerce with the Kallyas theme and have setup the following categories: Parent Category 1 - Sub cat 1 - Sub cat 2 Parent Category 2 - Sub cat 3 - Sub cat 4 On the shop ...
0
votes
1answer
330 views

WooCommerce Hiding A Certain Category From Being Displayed On Single Product

If I go to wp-content/themes/theme-name/woocommerce/single-product/meta.php then I see this code:- <?php /** * Single Product Meta * * @author WooThemes * @package ...
0
votes
0answers
222 views

Woocommerce slider for related products based on category

I'm using the theme scrollider on a Woocommerce site. I want to display a slider with related products at the top of each category page, before the content. At the moment I've done it manually by ...
0
votes
0answers
2k views

How do you remove display of WooCommerce product category on single product page?

On my single product pages, I would like to change the meta data so that the Category button for the product does not display. I can't seem to figure out where this is called. I've looked in various ...
0
votes
0answers
17 views

Unwanted Product Name Appearing Above Category on Main Shop Page

Have just created this shop and still getting used to woocommerce. On the above link, above the category headings and images, are the words "Backsaver – Classic RV Towaid" which is the first item ...
0
votes
0answers
174 views

Get product category name in Jigoshop

I am using the Jigoshop plugin and I try to modify single_product.php file as: <?php $pcatname="category-of-current-product" ?> <?php echo do_shortcode('[jigoshop_category per_page="12" ...
0
votes
0answers
105 views

Filter EVERY category link with my plugin

Im writing a plugin to let users customize the colors of their category links. But in order to make this work, Ive gotta figure out a way to target all category links regardless of theme. So clearly ...
0
votes
1answer
184 views

Show button only for certain Woocommerce Product Categories

I'm trying to add a button to my product pages which allows the user to request a sample, however I only need this to be seen on products within certain catagories. I've managed to get the button ...
0
votes
2answers
3k views

WooCommerce - Display product child categories from specific parent

I want to edit the following piece of code: <?php if ( (!$theretailer_theme_options['category_listing']) || ($theretailer_theme_options['category_listing'] == 0) ) { ?> <!-- Show ...
-2
votes
1answer
220 views

Add product category to post_class

In the content-product.php template, this is the section of the code I am working with (line 43): <li <?php post_class( $classes ); ?>> I need to find a way to include categories as ...
0
votes
1answer
84 views

Category archive in menu

I am looking for a solution to show the archives for a specific category in my main menu. The first level menu entry would show the label of the category, say "News Digest", without linking to ...
0
votes
1answer
23 views

How can recognize post's category?

I want my plugin to recognize post's categories before post is loaded. i wrote this code but it works in category page not in post's page with the category is specified from me. function checkUser() ...
-1
votes
1answer
785 views

Get Products within Current Product Category

I'm currently playing around with WOOCOMMERCE V2.0.13 and I'm trying to display each product from the current product category (e.g. Construction Products when on the Construction Page), I've managed ...
0
votes
1answer
45 views

CSV file header

What would be the CSV file header, (to import into WordPress), to show the category and subcategory of each post, and how would be the content, for that header? I´m using the plugin "CSV Importer".
1
vote
1answer
1k views

Woocommerce - Get product category 2nd level category

I have 3 levels deep product categories like following : A |--B |---C I want to get B, but don't know how to do. I can get all product categories, but don't know how to filter out. Here the code I ...
-1
votes
1answer
3k views

Display all subcategories for a product category in woocommerce

Is there a way to add a shortcode to a page, in order for that to display the subcategories of a category? (not the products themselves) I know that you can configure Woocommerce to display it, but I ...
1
vote
0answers
90 views

Using arbitrary paths in page urls

I have been looking all over the place and maybe I'm just searching the wrong terminology but I need to be able to allow an end user (completely non-technical) to add an arbitrary path to the url ...
1
vote
1answer
858 views

How to add categories to products in woocommerce programatically? [closed]

I have studies the database intensively and know which all tables are updated when a category is added to a product. Is there any inbuilt woocommerce function to add categories? It updates 2 or 3 ...
0
votes
1answer
33 views

Find And Add Category to Posts

My WordPress site is a mess. Previously, it had 80+ categories, with 1-2 sub-categories. After creating blueprint for this site (I'm restructuring the site completely), I have new 6 categories and ...
0
votes
1answer
994 views

Show Featured products in product category pages

I would like some help with the following issue with woocommerce. I am using wordpress 3.5.2, woocommerce 2.0.13 and sommerce theme. I have a product category page, in which I display 5 ...
0
votes
1answer
48 views

Retrieve post thumbnails

I am trying to build a wordpress blog from scratch. I am looking to retrieve all the articles from a specific category. I then want to also include the SQUARE thumbnail(not a stretched version, a ...
-1
votes
1answer
211 views

Narrow Down a Shop Page Results Based on a Product Tag in WooCommerce

I have a shop page that displays a product (chairs) for a retailer in multiple cities. Each city is a tag for each product. What I want to be able to do is narrow down a category page like (chairs) or ...
0
votes
1answer
74 views

Synch Custom Post Types (and Custom Fields, Cats, etc.) Between WordPress Sites

I've built two WordPress sites. One is public site--people go to it, view my content, etc. The other site is a private course catalog. In the course catalog I have 3 custom post types. The content of ...
1
vote
1answer
290 views

Category's Description field as editor remove <p> tag

I have tried both plugin to make Category's Description field as editor with below plugin. but when i update the text it's remove tag http://wordpress.org/plugins/rich-tax-description-editor/ ...
0
votes
1answer
155 views

Pagination in category

Updated: I have 50 categories and i wants to show each 5 category on one page and next 5 on next page and next 5 on next page. and so on. with pagination. I have 50 categories in a WordPress site. I ...
0
votes
2answers
41 views

How to add character to content of post?

In per posts, there are "oo/x/". How to add "0" before "x" if length(x) < 10 ? Examples: x=12345678 ; length(x) = 8, so add "00" before x ===> x=0012345678 x=1234567 ; length(x) = 7, so add ...
1
vote
1answer
798 views

Combine two taxonomies in a hierarchical tree

For example, I have WooCommerce products that have taxonomies: brand (e.g. Converse, adidas, D&G) (taxonomy id: product_brand) category (e.g. Boots, Sneakers, Sandals, Heels) (taxonomy id: ...
0
votes
1answer
116 views

Editing “Kahi's Highlight Used Categories” plugin code - highlighting parent and child category in post page

I´m trying to highlight (using css), the child and parent categories in use in the selected post. So I´ve found this plugin "Kahi's Highlight Used Categories". Plugin´s website: ...
-1
votes
1answer
569 views

woocommerce retriving category name as div class?

I am trying to retrieve the category name of a WooCommerce product displayed in a WordPress loop and use it as the class for an li (also inside the loop). I've tried this: <div id="isocontent" ...
-1
votes
1answer
389 views

WooCommerce Product Search Error

I wanted to display product category,in product catalog on my WooCommerce site.I asked another question earlier to make this code working.I added this code on my content-product.php file. ...