The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
592 views

get_categories only getting categories in the main language

I am trying to retrieve in the "content composer" the categories of projects based on the active language. But i only get the categories off the main language, never on the other. My code is: ...
1
vote
1answer
59 views

Trying to add cat_ID to array for showing an image for specific Category

So OK....I might be way of but here goes. Im using a plugin that gives the post a Featured Image if its not set. So Im trying to make it that depending on in which category the post is in the Featured ...
0
votes
1answer
16 views

Re writing Category Argument

I have a theme which has a category argument, however its displaying them in the wrong order <?php $categories= get_categories('taxonomy=types&title_li='); foreach ($categories ...
0
votes
1answer
73 views

get_categories() for only CPT

On the site that I am working on I have Jobs as a custom post type and Locations as custom taxonomy. The Locations are used by Jobs, Posts, and other CPTs. I am working on a small filter for the ...
0
votes
1answer
341 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
1answer
86 views

Indenting Category list

I am using the get_categories() function combined with a foreach loop, to create a list of all the catgorys in a form. like so: $args = array( 'type' => 'post', ...
0
votes
1answer
28 views

get IDs from links categories

How I can get the IDs of all my links categories? I'm writting a plugin to bookmark more easy using wp_insert_link() function. Any ideas?
1
vote
0answers
41 views

List posts in a category grouped by other categories?

I have posts of stores and restaurants in my area. Each post is marked by category of type (e.g. Restaurant, store) and town. What I am trying to do is create a page for each town (with intro text ...
0
votes
0answers
18 views

Custom widget using get_categories select menu dropdown

I have created a custom widget that is supposed to display a select menu with all the categories the blog has. I have used get_categories to compile the list. This works fine and all categories appear ...
0
votes
0answers
52 views

Dynamic Subcategories in dropdown list

How do I Create Dropdown list of subcategories? Example: Category1 -Subacategory1(dropdown list) --SubcategoryA --SubcategoryB --SubcategoryC -Subacategory2 -Subacategory3 my code ...
0
votes
0answers
18 views

Dynamic category load

I know basic wordpress coding. <?php $category = get_the_category(); echo $category[0]->cat_name; ?> this returns the current cat name in single.php. Now i want to load 'category_name ...
0
votes
0answers
53 views

get post types category links

I'm trying this to output the links from the post_type category. <ul class="inline-catalog" id="i-cat"> <?php $args = array( 'type' => 'product', ...