Every Post in WordPress is filed under one or more Categories. Categories allow the classification of your Posts into groups and subgroups, thereby aiding viewers in the navigation and use of your site.

learn more… | top users | synonyms (1)

0
votes
1answer
61 views

Wordpress “Categories to tag converter” not working on imported Blogger posts

I just imported a blog from blogger to wordpress recently. The blog consisted of about 3500 tags in total. On importing them into wordpress, they were converted to categories for some reason. I have ...
1
vote
1answer
841 views

Checkboxes in the category list?

I want the category list to have checkboxes so that the visitor can navigate much more easily, just like the way Amazon does it. Compare: left is my current layout, right is what I want to achieve ...
0
votes
1answer
36 views

Last x Posted Categories?

Is there a widget available that will list the latest x categories according to posting date, essentially providing a list of the most recently active topics?
1
vote
1answer
133 views

If statement for catergories

I was wondering if someone could explain how to roughly code this into php: if catergory = Cars && user is unregistered <my code> else <my code>
0
votes
2answers
790 views

Code that displays images - images get shown multiple times

On My category.php page i've got a list of categories with the title and the description. Here's the code: <?php $cat_id = get_query_var('cat'); $catlist = ...
0
votes
1answer
68 views

Not showing list if there aren't any categories to display

maybe you can help: Bellow there is a simple code listing my blogs categories. I need some code that will not display the *ul is there aren't any categories to display* <ul> ...
0
votes
1answer
323 views

How to have a category not show up in query post with page panigation?

Basically I have this loop that shows all post. Inside of it I want to exclude post's from categories including shirts and hoodies, also the gallery category. Here is what I have so far. the code ...
0
votes
3answers
338 views

How can I show posts for a single category?

Is it possible to show posts for a single category? I tried browsing to the URL http://mysite.com/category/foo which does show all of the posts with category foo, but the posts lose their formatting ...
0
votes
1answer
47 views

I need advice on how to structure the categories according to the layout i have

I'm seeking advice on how to structure the categories so it fits well my page structure: The main highlight is a single post and the secondary highlight boxes will probably contain a slides showing ...
1
vote
2answers
572 views

Category List With Comma & Link

Trying to list the categories for post separated by a comma with link to the category archive. <?php foreach((get_the_category()) as $category) { ...
0
votes
1answer
161 views

Check boxes for showing categories

Is there a way to list all categories with check boxes on side bar and when user presses "update" only posts within those categories will show on home page?
1
vote
1answer
881 views

Show category name, and last 5 post titles below category name?

Is there a function that will let me display a category title and the last 5 post titles from that category just below it? Is there a loop which can do this and list post titles of that category in an ...
0
votes
2answers
114 views

Geting error in post and category [closed]

Hallo, I have in my blog now add a Plugin [Custom Post Type UI] and have great a Post type movies and taxonomies like genre,actors,directer..... like this all ok now i have great a test post min add ...
0
votes
1answer
107 views

Wordpress custom post type post and category links 404

I've recently created several custom post types in a wordpress site, with the code below, they are generating links in the correct form e.g. root/category/id/postname but each link to the full post, ...
1
vote
2answers
859 views

How to Exclude post from a category

This is my home page code here is a feature post section, i want to exclude post by a category 'Collage' in this section ... <?php $count = 1; if (have_posts()) : while (have_posts()) : ...
1
vote
2answers
235 views

Include template before a loop

This is my category / archive page i want to include a template before loop but i cant get posts based on category, it showing latest post only on every page. when i removed this line before the ...
0
votes
1answer
1k views

How to divide and display categories into two columns

I am using custom taxonomies. I have multiple categories and each category has multiple children. I would like to display the categories in two columns on my homepage similar to linkcentre.com. I ...
1
vote
1answer
1k views

get_category_link() is returning nothing

<?php $categories=get_categories('taxonomy=galeriak'); foreach ($categories as $category) { ?> <li><a href="<?php echo get_category_link( $category->term_id ) ?>" ...
0
votes
2answers
649 views

Pagination for query_posts();

I know there have been many question like this and I've read them, but I still cant get it working... I have this query: query_posts(array('cat'=>3,'posts_per_page'=>5)); And I simply display ...
0
votes
2answers
337 views

Wordpress Categories: Function using custom SQL to return array of specific category IDs

I'm developing a custom theme which uses categories for positioning, all of which begin with an underscore (e.g. _position1). I have an SQL query as below to get a list of these categories (those ...
2
votes
1answer
348 views

Login “Lightbox” for specific category content

There's a specific category on my website that should be restricted to teachers only using login. However, I don't want to hassle the teachers with the not so welcoming admin Wordpress offers. I would ...
1
vote
1answer
99 views

Events Plugin that works with existing categories?

I have a series of categories on my website that are fixed, i.e. The client has specifically asked that I leave them. Now however, they would like me to add an events plugin so they are able to add ...
1
vote
4answers
4k views

How do I get my wp_nav_menu single category page to highlight the parent?

With the new wp_nav_menu system, it is possible to add a category as a menu item, so in my example I have a 'news' category, which is a submenu item of 'About'. About (page) --news (category) ...
5
votes
3answers
4k views

Plugin for custom sort order for categories?

I'd like to employ a sort order option in my theme to allow categories to be sorted similar to pages. Can anyone recommend a plugin that does this?
0
votes
1answer
429 views

Use premade array as categories in wp_query?

I have a theme options panel that the user can set which categories they want to use which is then saved as an array $blog_cat[0] etc. They can select as many categories as they want for the array ...
0
votes
2answers
755 views

Get a list of commas separated categories inside a loop

I want to get the list of categories of a post inside the loop. Normally, I would use the_category(', '); But this does output a link, and I only want the category name. Any ideas?
0
votes
1answer
2k views

show only sub categories if available?

Hii i want that when i click on category link that show sub category if available instead of posts list If No Sub category available then show normal posts how to do this that if available sub ...
0
votes
2answers
617 views

Viewing category pages without the word 'category' in URL

When I view a static page its url is like: http://example.com/mybooks/ When I view a category page its url is like: http://example.com/category/books-ebooks/ For SEO, I want some modification so ...
0
votes
2answers
169 views

Possible to make a subdirectory that loops through a single category?

I'm trying to separate the main part of my blog (the informational portion) from more commercial parts. WHen you load my homepage, I purposely exclude a category because I don't want my normal ...
1
vote
1answer
536 views

Hiding a Categories content on just the Homepage 'Posts'?

Is there a way I can hide a certain categories content from just the homepage Posts section of my Wordpress Site? So, those posts are still posted and live; just not visible nor accessible from the ...
0
votes
3answers
3k views

Using same slug name for a page and category

I know it isn't good practice but I'm considering using same name slugs for some pages and categories on a site that I'm working on. It's a small site and it doesn't seem to affect anything in ...
0
votes
1answer
2k views

wp_list_categories to show list of categories and the description

I have some code in my category.php file to show either pages or categories. Depending if the category has sub categories or not. Is it possible to also show the category description as well? This is ...
1
vote
1answer
247 views

Rewrite a category

How do I rewrite a category url that has a number at the end, to a url with no number using wordpress url rewriter? and... Why is there a number appended to all category url's? ...
0
votes
1answer
232 views

List Categories By Specified First Character

I'm trying to get category list by specified first character. For example if specified character query is "A", then just wanna list categories start with "A". How is it possible?
0
votes
2answers
92 views

single category widget with conditional terms

iam working on my first wp theme and iam new to php and wordpress. i need to create a single category widget that displays at least five posts from specific category. inside this post loop i need a ...
3
votes
1answer
865 views

Qtranslate displays empty categories with get_categories()

I am using qtranslate (Wordpress Plugin) on a website and I don't want to display categories that don't contain posts for a language. So when I do get_categories() (without qtranslate) the ...
0
votes
2answers
576 views

How to make the first post in the loop be styled like a “new / featured” post?

I hope i can explain this right , what im trying to do is use the default word press loop to show all my posts etc.. but for the first post I would like it to be styled completely different depending ...
0
votes
1answer
188 views

Best way to categorize/populate a magazine style layout

I'm taking the reigns of an existing Wordpress site that has a magazine-style home page with sections for featured articles, upcoming events, different categories of articles, etc. Currently, these ...
2
votes
1answer
828 views

Display Next/Prev when looping Custom post-types archive?

I'm trying to display the Next/Prev navigation buttons on my page which displays all of the pages within my 'events' custom post-type. The issue is that the buttons are not even displaying, but I have ...
1
vote
1answer
367 views

Query posts from category based on a filter most favorited

I have one question. I need to query posts from category based on the filter most favorited ( http://pastie.org/2751114 ) which is placed in custom_sort.php to my index.php page This is how the posts ...
1
vote
1answer
254 views

exclude category from WordPress Form function

I have this function and I need to somehow exclude a category number 14 from my submission form. Is there any way to do it inside this function? function retrieve_cat_data($byid = false){ ...
0
votes
1answer
139 views

the category city made as a subdomain

i'm looking for a solution wherein the category city will be made as a subdomain. For example, when a user search for a certain thing in the main domain and under a certain city, the user will be ...
1
vote
3answers
272 views

query in category.php repeats itself

I'm need some help on my query. I'm building up a category page where on top a post need to show where custom field key 'uitleg' has value 'ja'. Per category there is only one post with that value. ...
1
vote
2answers
2k views

wp_list_categories: get latest featured_image of category

I was thinking about a nicer way to display the categories in my sidebar. Instead of a plain list style, I'd like to have images / thumbnails show up as well. Currently I'm using the following: ...
0
votes
1answer
126 views

Array: What is this value based on?

I need to do an import of an array of checkboxes, but there is a value that I don't how it is determined. The array is based on a user meta option that I created that shows a list of category ...
0
votes
1answer
1k views

how to edit wp category widget

how to edit wp category widget, so it would not show one of specified category? For example, it shows all categories in list, and I need to remove category Books, from it, how can I do it? Best ...
0
votes
1answer
404 views

Mass Update User Profile Checkbox Options

I created a checkbox option for the user_meta (user profile). They are checkboxes assigning users to categories. The problem is that I need to do a mass update for all of my users 1500+ and going ...
1
vote
1answer
2k views

How to get child categories of a given Post

how do I get names of child categories of an arbitrary Post? For example i got category slug - 'motorbikes' and I got subcategories for it. So I need to get each posts subcategory name thats inside ...
0
votes
1answer
129 views

How to exclude a particular category from the category list

I'm trying to edit a wordpress theme. The following is the section of code where the list of categories is retrieved and displayed in a drop-down menu. <p> <label for="entrycat">* ...
0
votes
1answer
384 views

Form Value of drop down category + Translation of 'show option none'

I am building a form where a user can submit an article from the front end.. So far so good... To this form i am doing some submission check using javascript.. When i get to check if a category is ...