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.
0
votes
1answer
136 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
0answers
11 views
Filter by Author on Category Pages
I'm looking for a solution to filter/sort posts by author on category pages/archive pages, ideally by means of a drop-down menu.
I've searched the Wordpress plugin repository but cannot find any ...
0
votes
3answers
114 views
Let visitors post comments on category page
I'm looking for a way to let users comment categories on category.php, but I haven't been able to find one. Simple pasting didn't do the trick (didn't really expect it to.)
For clarification, I'm ...
2
votes
1answer
400 views
Set a category for a page
My current theme has a portfolio section where you can have an array items based on what category they are in. My problem is that I have several pages that I want to be in the portfolio section but ...
0
votes
1answer
149 views
Filter categories using tags
I have a website with the following categories:
Videos
Pictures
Stories
And I have a lot of tags like: Funny, Awesome, Mind Blowing, Crazy, etc.
Is there a way I could filter lets say: Videos ...
1
vote
1answer
81 views
Way to force media uploader use custom image size
I've implemented media uploader to my custom category image plugin and was wondering can I somehow force it use my custom image size I've set only for categories.
... So in screen shot above, I'd ...
0
votes
1answer
117 views
Category Template: Need to display different content on first page of archives
So my issue is that I need to create two versions of a category.php template. Now, I know very well that if I want to display posts from just one category, I duplicate category.php and call it ...
1
vote
1answer
92 views
Get posts from sites in Multisite?
I'm trying to pull multiple sites posts. For example, I can pull out a single site
posts by a category and total posts 10.
But I'm trying to pull out both posts from two separate Multisite blogs 1 ...
0
votes
1answer
226 views
how to display only one level subcategory in wordpress
This code using taxonomy catgery image plugin to display images for categories .this code display subcategories of main category in parent category page (category.php) . but i want to display only one ...
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 ...
1
vote
1answer
124 views
Any way to assign Post Categories and Tags to Links?
I would like to assign post categories and post tags to the links in my 'Links' section, and (ideally) remove the link categories feature since it would be redundant.
Anyone know how to do this?
1
vote
2answers
214 views
is there a way to have duplicate category slugs?
Wordpress sometimes is plain limiting, and some of its logics I just don't get...
For example if I have two parent directories:
parent1
parent2
with subcategories:
parent1
sub
parent2
sub
...
0
votes
1answer
19 views
Category archive is displaying all posts rather than the specific category
Here is my loop code for index.php . I do not have an archive or category.php right now. This is very basic.
$temp = $wp_query;
global $wp_query;
$wp_query = new WP_Query();
...
0
votes
1answer
36 views
How to change links in the 3 main categories, on widget category, to a javascript function call
I'd like to know..
How could I change my 3 main categories links, so they call a javascript function?
I'm using Snapshot Theme from WooThemes.
Here's the current state of the website:
...
-1
votes
2answers
869 views
category.php + pagenavi + custom post types + /page/2 = 404 errors
I'm seriously going to go crazy if I dont figure this out. I have tried a million different things from googling,a nd I've been staring at this same problem for days now.
Pagination for a custom ...
1
vote
1answer
79 views
Allow duplicate permalink slugs for posts in different categories
I have my permalink format set to /%category%/%postname%/ and I have two posts with the same permalink slug, but in different categories.
Ideally, the two permalinks should look like this:
...
0
votes
4answers
4k views
Get all categories and posts in those categories
I am looking for a solution that allows me to print the following:
Cat 1 Cat 2 Cat 3
Post 1 Post 1 Post 1
Post 2 Post 2 Post 2
Post 3 Post ...
-2
votes
0answers
13 views
How i change the name in wp_dropdown_categories
I am using the WordPress function wp_dropdown_categories to show the categories dropdown. But the name of select tag is cat. Now i just want to change that name, Any idea. Thanks
-1
votes
1answer
125 views
SQL query to return categories and category parents
I have some categories which are not correctly defined.
I.e. their parents are messed up.
How can I select with SQL all categories and their parents?
-1
votes
0answers
48 views
Sort post in a category alphabeticaly with the stick in that category on top?
I need to be able to sort posts in categories alphabetically with the sticky posts in that category listed first on top also sorted alphabetically.
Apple*
Banana*
Watermelon*
Coconut
Grape
Orange
...
-2
votes
1answer
15 views
Print out one of 2 post category [closed]
I've been trying for quite a few hours to get something to print out in loop:
post has 2 categories, one of them is prace (slug) and I need the other one printed. If it isn't too much to ask.
Tried ...
0
votes
1answer
1k views
echo category description in single.php
i asked this on SO but got no where.
i will try asking here.
this works fine in category.php <?php echo category_description(the_category_id()); ?>
but it does not work in single.php, just ...
0
votes
0answers
82 views
All cats and posts from a custom taxonomy
i'm not new to wordpress templating nor a master. So i've had a problem when i wanted to make a custom list showing all categories and posts under them with a custom taxonomy and post type, like:
...
0
votes
2answers
159 views
Get all custom_post_type posts + blog posts from one category in a single query
Is there a way to query posts from multiple post_type's and filter the normal blog posts by a category?
I am trying to display the 10 latest custom_post_type posts and blog posts on my homepage in a ...
0
votes
1answer
13 views
Problem importing categories and sub-categories
I have an array with the categories and sub-categories I want to import to the "campsite-district-county" taxonomy.
My sub-categories are not being inserted with the correct parent. They're being ...
0
votes
0answers
59 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 ...
-2
votes
0answers
26 views
WP create menu items from all category and its sub category [closed]
i'm developing a theme which automatically use categorIES as menu item,
1
vote
2answers
814 views
wp e-commerce group product by category
Sorry for my bad english.
I have WP 3.3.1 & wp-e-commerce.3.8.7.6.2. On the products page (which use wpsc-products_page.php template) I have list of products. I want to group this products by ...
1
vote
2answers
2k views
How to search for categories and/or tags?
I have a search function on my blog. If I enter a value, say 'fruits' in the search box and it doesn't match in any of the posts but it is the name of a category in the blog then I want the posts that ...
1
vote
1answer
24 views
Make parent category not selectable when it has child categories
I'm trying to find a way of disabling the selection of the parent category within Wordpress 3.5.1 (post editor screen) only when that parent category contains child categories.
My structure:
...
0
votes
2answers
166 views
Get last post date yesterday from each categories not work & double result post
<?php
$categories1=get_categories('orderby=post_date&order=DESC');
function filter_where( $where = '' ) {
$today = date('Y-m-d', current_time( 'timestamp' ));
$yesterday = strtotime ( '-1 day' ...
0
votes
1answer
16 views
Exclude a 'portfolio' custom category?
I have a custom post type called 'portcat' and I want to exclude one portcat category ('weather' - ID='5') from the page. I've tried 'category__not_in' => array( 5 ) but apparently this doesn't work ...
0
votes
1answer
17 views
Showing custom post type categories in the menu
here is my custom post type and category:
//Register nav
register_nav_menus( array(
'main_nav' => 'Main navigation'
) );
//Custom post types
add_action( 'init', 'create_post_type' );
function ...
0
votes
0answers
19 views
Run a query when in last category
Can anyone help? ive searched google but with no luck.
currently Accounts has sub categories but no posts
/accounts/ = /billing1/ + /finance/
Billing and finance have posts but don't want ...
2
votes
3answers
329 views
Is there a plugin that will completely remove the category system?
I have no use in categorizing/tagging my posts with anything, at all, and it doesn't look very good to have every post say "filed under: uncategorized."
Is there any plugin to do this, or do I need ...
0
votes
1answer
194 views
wp_list_categories, Add class to all list items with children
I'm using wp_list_categories(); to show a list of all the terms within a custom taxonomy but I need to style list items that have children differently to those that don't.
Is there a way, PHP or ...
0
votes
0answers
27 views
Get posts under a category with SQL
How can I retrieve posts under a category with plain SQL with out using WordPress native api's like get_pages?
My Wordpress table wp_terms contains a term named Restaurants.
I want to list the post ...
-1
votes
1answer
193 views
get_category_children/ the new get_term_children not work
I have a custom Walker for a Advanced Search, that outputs the categories for multiple search by categories in checkbox. The Problem here is, that i use the get_category_children for the children ...
2
votes
4answers
2k views
Wordpress and isotope filtering
Im trying to use Isotope(http://isotope.metafizzy.co/) to filter my Wordpress posts,
http://i44.tinypic.com/fco55k.jpg this is how my site looks like, i would like to filter posts depending on a post ...
0
votes
0answers
18 views
Nestle post type under category WordPress
I have previously asked this question on the main Stack site but haven't received any answers so I figured I would ask it on this side.
I'm using a plugin called Easy Recipe that creates posts when ...
0
votes
1answer
142 views
Display category-specific comments in sidebar
I'm trying to display comments in the sidebar from only the current category. So far I've got this:
<?php
// Posts per page setting
$ppp = 8; //get_option('posts_per_page'); // either use ...
-1
votes
0answers
26 views
Getting “Error 404” instead of rest of products in category [closed]
I've created category links in my webshop, but when I press next page, I get "error 404"-page instead of rest of the products in the category.
Example:
url: http://md4s1307.keaweb.dk/shop/pants
-3
votes
1answer
535 views
AZ Directory posts directory index
I would like to create an A to Z index of posts in a certain category. This must include a linkable directory of letters ABCDEF .... etc and a list of articles ordered by title grouped by letter.
...
0
votes
1answer
183 views
Related posts widget - category
I want edit this widget to display related posts from current category. This code below display only posts from category that I must choose manually. So I want related posts from category ..thanks for ...
0
votes
1answer
237 views
How to display subcategory articles in the category view?
I have the wordpress category widget installed on my website that lists all categories/subcategories on my site and their hierachy:
Watch Accessories (1)
- Straps (1)
Watch Glossary (5)
Watch Guides ...
0
votes
1answer
71 views
How to get permalinks with category base working with sub-categories
I ran into an issue with a site that needs the category base also included in the custom permalink structure. I know this is an issue and I have read many posts like this that gave me some insight...
...
-1
votes
0answers
31 views
Get most commented/popular posts in a specific category in Disqus
I want to get the most commented posts in a certain category, but using Disqus as comments system. Do you know how to do it or if it's possible?
1
vote
1answer
124 views
How to create category index table out of wordpress site or on other website?
I want to create a page on other part on my website (outside wordpress directory) where I can show list of posts from a specific category.
I am looking for exact solution provided by @toscho here:
...
0
votes
1answer
122 views
Select posts that match multiple category names, must match all categories listed
I need to search for posts that belong to multiple categories, but they must match all categories listed, as in if I list category names 'japanese' and 'dessert' the matching posts need to be in both ...
1
vote
3answers
67 views
Add Class While on Current Post; wp_list_categories
The code below produces a sub-menu of child categories of the currently active parent category. This code also produces the child categories of the top parent category while viewing child categories ...


