Tagged Questions
0
votes
1answer
60 views
How can i list current author's categories?
My Code getting authors written post categories but just 2 ID has author lists category.. I replace $current_user->ID but it is not worked.
<?php
$categories = $wpdb->get_results("
...
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 ...
4
votes
2answers
129 views
current_cat_ancestor Alternatives
It looks like adding current-cat-ancestor class to category list was proposed, but never implemented. The only way I've been able to find so far is to re-create the wp_list_categories() function ...
2
votes
1answer
99 views
Manipulate Output of wp_list_something: select menu instead of li's
I'm working on a responsive webdesign where my navigation should swap into a select-menu when resizing the window in smaller sizes.
Is it somehow possible to add another param to functions like ...
0
votes
1answer
106 views
How to Insert A List of Posts in A Category Written by the Author into the Author Archive
What I want: http://i.imgur.com/jH6Dj.png (sorry for linking out, I am a new user here so can't post an image inline)
How does one list posts by an author within a category, with a count for each ...
1
vote
2answers
414 views
Add class to Categories Widget
I have a few default widgets which I am using in a custom sidebar and I'd like to edit its output in my functions.php file.
Currently the categories widget and blogrolls are generating an unordered ...
0
votes
2answers
216 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 ...
