The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
29 views

How to show subcategories using loop?

i am using wp_list_categories('child_of=54&title_li=') method to display all the subcategories, but it is showing only one, how can i use it with loop to show all the subcategories properly.
0
votes
1answer
26 views

“show option all” on list categories doesn't display taxonomy

I have a wp_list_categories list set to display my custom taxonomy. Everything works fine, and now I want to add a show_option_all link. However, when the link is clicked it displays all default ...
0
votes
1answer
17 views

Output categories in something different than a list

I wanted to output all my categories in the sidebar of my wordpress theme. Now I use the function wp_list_categories(); which works fine. However it always displays the categories in a list and I ...
0
votes
1answer
23 views

Display current category without an active link in wp_list_categories

I appreciate your time in looking into this for me. I'm using wp_list_categories tag to display a list of categories in my navigation menu and I'd like to disable the link to the current category ...
0
votes
1answer
29 views

Three Column Loop

I have a theme that creates two columns of categories with child posts from that category. I've tried messing with the code that inserts the after two posts are listed, but it's not working (because ...
0
votes
0answers
36 views

get the categories of current post (in loop) that are child of a specific category [duplicate]

I have a small issue Need to get the categories names of my current post within the loop. But i need only those that are child of a specific category that is not assigned to my post. I have tried ...
0
votes
1answer
46 views

Display page of custom posts?

I have a custom post type, "design_asset". I am displaying them on a page template, with the loop <?php rewind_posts(); $paged = ( get_query_var( 'paged' ) ) ? get_query_var('paged') : 1; $args = ...
1
vote
1answer
22 views

Strip a word from wp_list_categories

With the following code I am showing a list of sub categories: <ul class="subcats-blog"> <?php if ( is_category() ) { $current_cat = get_query_var('cat'); ...
0
votes
1answer
36 views

Modify text after post count

On my Archives page, I list categories with post counts. I've modified the post count by removing the parentheses, wrapping them in a span that floats them to the right, and putting the word "Entries" ...
0
votes
2answers
51 views

How to list all categories in three divs dynamically based on the quatity of categories?

I have 15 categories. I list this using <div class="category_list"><ul><li><?php wp_list_categories();?></li></ul></div> Now it's listing all 15 categories ...
0
votes
0answers
19 views

how to get wordpress categories list with thumbnails?

i am trying to get thumbnails list with their thumbnails images .i tried code below but it only gives categories list . i know there a could do using feed_image but i can't figure out how to do it ...
1
vote
1answer
38 views

Insert HTML inside link in a walker

I've got a custom nav walker that (theoretically) pulls the featured image from the most recent post in a custom taxonomy, and displays the the image after the link in a wp_list_categories. The ...
-1
votes
2answers
71 views

Category Alphabet List Broken

I need help in making this work in the latest version of wordpress. On Version 3.6.1 and down works well when I tested but when i decide to update WordPress well it breaks it. Ex: Version 3.6.1 looks ...
0
votes
2answers
72 views

Display a list of subcategories a post belongs to

I have this code: <?php // List subcategories of category '4' $subcategories = get_categories('&child_of=4'); foreach ($subcategories as $subcategory) { echo sprintf(' <a ...
0
votes
1answer
22 views

Post of a specific category - not to be seen in paging previous/next post

i have a specific post category, eg. id=x which is not shown in category list. These posts are password protected and should be visible only to those provided with the link. However current version ...
0
votes
0answers
33 views

walker_category doesn't walk?

I'm trying to use the walker_category class in order to modify the HTML output of the wp_list_categories for several custom taxonomies, but the walker doesn't seem to 'work the tree'. Here is my ...
0
votes
1answer
26 views

How to show main category related to that post

On my main page I have a few post from two categories, but I only want it to display only one Here is my code <?php /* translators: used between list items, there is a space after the comma */ ...
0
votes
1answer
28 views

Display unused categories in dropdown

I have created a front end post with a form and I would like to have several categories for the user to choose between. But the problem is that the dropdown category only show those categories that ...
0
votes
1answer
18 views

Custom category link in wp_list_categories()

I simply want the link to be /catname instead of /category/catname for all the links listed using the wp_list_categories() function. Any ideas for this?
0
votes
0answers
39 views

Change permalink from wp_list_categories

UPDATE: This helped me: $cat_name = 'onde-encontrar'; $category = get_category_by_slug( $cat_name ); $taxonomies = array( 'category' ); $args = array( 'parent' => $category->term_id ); $terms ...
0
votes
0answers
14 views

pad_count with custom taxonomies and attachment post type

I use hierarchical custom taxonomies with attachment post types, and am trying to display a hierarchical terms list with the pad_counts argument set to 1 but children counts are not added to parent's. ...
0
votes
1answer
47 views

wp_list_categories() with attachment post types

I'm working on a pictures gallery, where there is no 'regular' post, only images with several custom taxonomies, some of them being hierarchical. I use wp_list_categories() to display hierarchical ...
-1
votes
2answers
47 views

How to list out post category name and description in page

I want to display this all categories and description in home page and for each category the division will be like this: Category name ...
1
vote
1answer
81 views

List all blog categories

I have created a blog plugin. I have the blog category in my blog. I would like to get the list of all the blog categories and list it in my www.domain.com/blogs/ page. My blog category name is ...
1
vote
0answers
48 views

show count is out of the anchor tag in wp_list_categories

I'm using wp_list_categories with 'show_count' enabled on that, i styled my <a> tag, but the category count doesn't show up under anchor tag.(it's under li) $args = array( ...
0
votes
1answer
29 views

Get whole <li> linked with wp_list_pages

I'm using wp_list_pages for my sidebar and it works fine to me, i just wanna add new feature which seems is not listed on codex or i don't know how to use it. $args = array( 'child_of' => ...
0
votes
0answers
54 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
1answer
141 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, ...
0
votes
0answers
23 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
119 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
83 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
174 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
27 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
0answers
16 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
27 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
40 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
55 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
19 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
54 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
45 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
110 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
62 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 ...
1
vote
1answer
110 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
177 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
48 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
60 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
804 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
1answer
151 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
39 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
72 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.