The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
814 views

How to make a drop down menu with categories

I'm building a website in which there is a navigation menu with various links; in this menu there is the link to the blog section. My goal is to create a drop down menu that appears when the cursor ...
0
votes
0answers
11 views

How to list categories/tags as a list in meta tags

I was wondering if there's any way to list all tags and categories of a posts in the header of that post. I want to list all the tags/categories via a plugin as a list in meta, similar to this: ...
-1
votes
0answers
7 views

Woocommerce 404 Error when trying to administer Categories [on hold]

We have Woocommerce installed on our Wordpress site. We can successfully administer all aspects of the site except "Categories" When we try to go to the admin template it gives us a 404 file not ...
2
votes
2answers
3k views

How can I customize the wp_list_categories

I have a list of categories in woo-commerce which I'm trying to customize to be displayed to look like the following image. I created the above image using normal HTML and css however I would like ...
-1
votes
1answer
25 views

Display Categories Assigned to a WooCommerce Product

I am using WooCommerce with SuperStore theme. In meta.php file is this line, echo $product->get_categories( ', ', '<span class="posted_in">' . _n( 'Category:', 'Categories:', $cat_count, ...
1
vote
1answer
244 views

Changing post category from dropdown

I am showing a list of posts on the front of my wordpress site which each have a dropdown next to them with a list of category's, which are pulled in as follows. As you can see the form submit button ...
0
votes
1answer
527 views

Add class to items in wp_list_categories()

I have this in my category.php to show sub-subcategories: <?php if (is_category()) { $this_category = get_category($cat); if (get_category_children($this_category->cat_ID) != "") { echo ...
0
votes
1answer
542 views

Listing Specific Categories from Current Post with Depth

I've been on this for sometime and been having a ton of issues to find a proper way to do what I'm trying to achieve. An Example would be as follows: I have a featured Image with a rollover and I ...
0
votes
0answers
15 views

Loop spesific category title + Foundation reveal

I would like to make a list of a spesific post category title. In this list I want the reveal function from Foundation to open the post + its title. How do I make this? I'm kinda new to making loops ...
0
votes
1answer
20 views

How to display post title and link within wp_list_categories()

I'm testing something which needs to display posts within wp_list_categories(). Basically I want to display all content for a taxonomy. I'm pretty sure that to make it happen I have to alter the WP ...
0
votes
2answers
23 views

Break down output of wp_list_categories

Im looking at how to breakdown the output from wp_list_categories. Currently it shows: <a href="http://www.oddpandadesign.co.uk/shaun/cat-band/drummer/" title="View all posts filed under ...
0
votes
1answer
84 views

Get categories list with category name in custom WP_List_Table class

Im building a plugin and i made custom wp_list_table class to suit my needs and display items with native wordpress look. The problem is that i can't get to list categories with categories names. I ...
0
votes
0answers
16 views

Show the child categories of current category on category page including other parent category

I want to show list like: category 1 sub cat 1.1 sub cat 1.2 sub cat 1.3 category 2 category 3 My code is: <div class="f1" ><p class="heading">Links</p><?php ...
0
votes
3answers
3k views

Woocommerce Product Category Widget - hide categories that have no products in stock

I'm using WooCommerce on my Wordpress site, and have a widget in the sidebar showing all product categories. It's setup to hide empty categories, and that works well. However, it still shows ...
0
votes
0answers
12 views

wp_list_categories output /defaultcategory+category2/

I need output this /default_category+ and add after that comes all site categories and then list those. I need to list this so I can make ready list, so user can search post that are in under default ...
0
votes
0answers
16 views

Category not displaying in add post, edit post, and categories page.

I have faced one problem after updating WordPress to 3.8.1. When I try to add or edit a post the category list at right side panel is blank, even though I have several categories on the site. Please ...
0
votes
1answer
28 views

Custom taxonomy list in Worpdress

I just registered following code in my function add_action( 'init', 'create_resources_taxonomies', 0 ); function create_resources_taxonomies() { $labels = array( 'name' ...
0
votes
1answer
239 views

Category count inside the link

Is it possible using wp_list_categories set count of post in category in the href?
0
votes
1answer
42 views

How to show post from category select

This code is in my functions.php: array( "name" => "Headline", "type" => "section"), array( "type" => "open"), array( "name" => "Headline Categories", "desc" => "Choose a category ...
0
votes
1answer
17 views

Placing generated list into drop-down on custom menu

I'm trying to add categories and authors automatically into the custom menu as they are created (avoiding having to do it manually for each one). I've modified Alex Mill's code and got to display a ...
0
votes
2answers
49 views

Post Image not displaying in category view

I tried adding an thumbnail sized image in the very first line of the post so that I want my category list search should display with this thumbnail and some text with "read more" button but this ...
1
vote
1answer
35 views

Arrange Combined List of Pages and Categories

I'm using the code below to display both top-level pages and categories in my menu. (If this is the incorrect way to do so, please let me know). I would like to arrange the items alphabetically. The ...
0
votes
0answers
81 views

Exclude Categories from wp_list_categories()

in before: I already searched for this answer her but couldn't find a thing that worked for me. I have a Lot of Categories and Child Categories. I use them to give a Location, Country, Type of ...
0
votes
2answers
53 views

Add html word before category

I'm trying add "Tuppersex" text before categories but it's impossible! Everyone can help me please? Now, final code is this: <ul id="cat-col-1" class="cat_col"> <li class="cat-item ...
0
votes
1answer
72 views

Modification to wp_list_categories

I dug this up to help me modify wp_list_categories and place the featured image from the latest post in that category, inside the generated li. class CategoryThumbnail_Walker extends Walker_Category ...
0
votes
2answers
69 views

Style wp_list_categories

I think this is a fairly simple question and im sorry if it is but how would I add a <div> to each individual category within this code: <?php $taxonomy = 'category'; // get the term IDs ...
0
votes
1answer
30 views

Need help using a filter on the default Categories widget

I need to add the "All Categories" item to the default WP categories widget. I can see that there's a filter that I can hook into in the core (line 485 default-widgets.php). ...
0
votes
1answer
44 views

How to remove uncategorised posts from WordPress

I am using koresponsive theme. I am displaying name of categories as my menu bar just below my header. Now I need to remove 'Uncategorized' category from displaying it in the menu bar. How can I do ...
0
votes
1answer
408 views

Highlight current category in wp_list_categories

I am using wp_list_categories to display all terms of my custom taxonomy 'categories'. The function is outputting all my terms successfully but the current category is not being highlighted, even ...
0
votes
0answers
153 views

How to add dynamic text to the product page in Woocommerce [on hold]

I'm looking to add text to the product page aside from the 'short description' text, that will not appear on the category page. I cannot determine the best way of going about this. I thought about ...
0
votes
1answer
1k views

wp_list_categories pagination

I was wondering if I can paginate wp_list_categories? I had a go with paginate_links but no luck. Or is there a good workaround? Thank you!! <?php $orderby = 'name'; $show_count = 0; ...
0
votes
1answer
104 views

Displaying different posts Via wp_list_categories()

I believe this problem to be quite simple but can't seem to get my head around how to solve it. So I'm pulling in all the category with posts in using wp_list_categories(); My problem is when I ...
1
vote
1answer
35 views

List of Posts and Categories

I have a custom taxonomy of Species and a custom post type of Animals. I would like to display them in a tree view like so: All Animals Fish (taxonomy term) Shark (Custom Post Type) Sun Fish ...
-1
votes
1answer
50 views

Replace the post count on wp_list_categories with “Has Posts” instead of number and “No Posts” if none

How can this be achived? Replace the post count on wp_list_categories with "Has Posts" instead of number and "No Posts" if none.
2
votes
1answer
258 views

How to highlight all current categories when viewing a single post?

When viewing a single post, the wp_list_categories function already marks the current category of this particular post by assigning the current-cat CSS class. If the post is mapped to multiple ...
0
votes
0answers
67 views

Build Categories List for Posts with specific meta_value

I've a set of Posts under custom post type that has a specific custom field (meta_value). This posts are categorized with a simple Common Parent->Child#N relationship. The question is how to list ...
0
votes
1answer
618 views

Adding ul class with wp_list_categories Custom Walker

I am trying to achieve something that seems like it should be simple but is causing me headaches. I am listing my categories out using wp_list_categories which gives me this... <ul> ...
0
votes
1answer
68 views

Exclude a specific category link from archive / front page

I create posts that are used just to create an index item to show an existing post has been updated. The post I create 301 redirects to the updated post. I add these index posts to the category ...
0
votes
1answer
77 views

Delete Term via edit-tags.php

I might get rep'ed down on this - but is there suppose to be a "Delete" link on the edit-tags.php page? Note: not the WP-List-Table, but the actual page where you specifically view the terms ...
0
votes
0answers
152 views

wp_list_categories() to link to list of posts from one custom post type and one term

Sorry for this title. I've created 2 custom post types called 'audio' and 'video'. I share them a taxonomy called 'category' with 4 terms 'cat1', 'cat2',... In my 'audio' template page, I'd like to ...
0
votes
3answers
754 views

How to hide child categories from displaying

I am using this code to show a list of all categories in sidebar <?php wp_list_cats('list=0&sort_column=name&optioncount=0&hierarchical=0&optioncount=1&children=0'); ?> ...
0
votes
1answer
38 views

If searched in a category show different 404 page

Is this possible? I have a searchform that searches for certain categories. If there is no post, it will show me a 404 page... Can I change this page to something else? If so, how do I do that?
0
votes
0answers
26 views

Hiding any option or menu from menubar

Just after logging in through the 'Login' menu when any valid user will reach to the profile page that time the 'Login menu will be hidden in a wordpress theme. That means after logging him/herself in ...
1
vote
1answer
16 views

How to display all the categories a post is in

How do I display all of the categories that a post is in, in sentence format. eg. cars, boats, aircraft, bicycles.
0
votes
1answer
40 views

Display Taxonomy Terms in an option tag with value being the slug

I have a custom taxonomy filled with terms that I wish to display in a fashion such as below. <option value="[SLUG]">[TERM]</option> <option value="[SLUG]">[TERM]</option> ...
0
votes
0answers
22 views

How Can I List Categories by Date?

This question isn't specifically about categories, but any taxonomy. I registered a taxonomy called issue. I want to list these issues by year. I'm currently using the function: wp_list_categories( ...
1
vote
1answer
656 views

Using wp_list_categories like the the_category (showing just current categories of a post)

fromi'm using wp_list_categories to get an unordered list with headlines (on single.php inside the post-loop): <ul><?php wp_list_categories('title_li=0');?></ul> the thing is: i ...
0
votes
0answers
93 views

WP Network - List Posts child_of plus include specific category

Alright, so problem I have is my client has 8 WP sites in a network. 1 specific site they want additional posts from another category to display other then child posts of thew News category. I have ...
0
votes
0answers
33 views

Custom URL writing with two taxonomies

I have two custom taxonomies: Brand and State If I'm viewing the "Browse States" page, I'm wanting to use wp_list_categories() to list all the states (I can do this). The urls for each State being ...
-1
votes
2answers
518 views

Differentiate Between Parent & Child Categories

So I'm working with a non-wordpress theme called "Misty" and it uses this code to pull categories: <li class="sidebox"> <h3><?php _e('Categories','ml'); ?></h3> <ul ...