0
votes
1answer
22 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
18 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
93 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
27 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
44 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
98 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
138 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
54 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
27 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
47 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
57 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 ...
2
votes
2answers
111 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
86 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
242 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
238 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
216 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
1k 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
131 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
79 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
0answers
222 views

Multiple categories filter

I am creating eshop based on woocommerce and I would like to create multi-category filter. Lets say that I have this products structure: Category 1 Category 11 Category 111 Category ...
0
votes
1answer
148 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
2k 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
165 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
75 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
0answers
278 views

Woocommerce Category hierarchy

I am building a store with different brands. I want the flow to go Store > (Brand) > (Gender) > Product. I know I could set each brand as a product category and then create Gender as a subcategory for ...
0
votes
1answer
22 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
681 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
40 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
884 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 ...
0
votes
0answers
29 views

How do I pull all of the current category images and titles in WooCommmerce?

I have been wracking my brain for two days trying to figure this out. The widget with Woomcommerce to show Categories only shows the titles but I need it to also pull the category image. On top of ...
-1
votes
1answer
2k 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
78 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
679 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
32 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
729 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
0answers
88 views

JSON API plugin exclude categories

When I use http://www.example.org/?json=get_category_index it shows all categories. I want to exclude some unnecessary categories from get_category_index list from the site output. How can i achieve ...
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
164 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
61 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
249 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
136 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
673 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
109 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
533 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
352 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. ...
0
votes
1answer
366 views

How to display product categories and number of sales on WooCommerce

I am currently working on a WooCommerce site.I managed to set it up,do some configuration according to my plan.Now i want to display product categories alongside each products in product catalog,and ...
1
vote
1answer
7k views

WooCommerce: List All Categories

I'm using the WooCommerce plugin with WordPress and within my theme I'd like to list all categories within a navigation menu with PHP. I've tried using woocommerce_product_categories(); but I don't ...