The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
2answers
3k views

Display list of Sub-Categories and the posts they contain, within one main Category

I've found tons of code and plugins to do various things; from show posts for specific cats, subcats of a cat, etc.. BUT, I cannot for the life of me find, nor do I know the WP API well enough to do ...
0
votes
1answer
148 views

Highlighting Current Category in the Archive and Feeds page

I needed a category listing in my posts page and I want the current category to be highlighted. I enabled the 'All' category, so consequently, I want the 'All' also to be highlighted when I'm viewing ...
0
votes
1answer
72 views

List plugins used in a WP site - guest, not admin [duplicate]

Possible Duplicate: How to detect WP plugins used on a site Is there any way to list which plugins are used in a wordpress blog? I am a guest - normal visitor of the site, not the admin! ...
0
votes
1answer
400 views

Generate a nested list of all posts, sorted first by year, then by month

<ul> <li>2011 <ul> <li>January <ul> <li>Post 1</li> <li>Post ...
0
votes
4answers
882 views

Display Custom Taxonomy in Sidebar in Two Columns

I have a custom post type (photos) with a custom taxonomy (categories) and I'd like to display the taxonomy list in my sidebar in two columns. I have a modified snippet that I found elsewhere to do ...
1
vote
3answers
219 views

How do I apply a class to custom menu items based on user roles

I have a members section on my site and they see specific custom menu items. I'm seeking a way to simply apply a star to the <li> based on it's permission level and what the user's role is. ...
0
votes
1answer
471 views

Show 10 latest posts only from users with contributors role

How to achive this in sidebar.List of 10 latest permalinks(post titles) from contributors ?
3
votes
1answer
942 views

Getting an ordered list of tags - via wp_tag_cloud or not?

I'm trying to output an ordered list of the top five tags for my site into the sidebar. At the moment, I'm using wp_tag_cloud like this to get it to output a nice <ul>: ...
1
vote
1answer
301 views

Populating a page with content from post custom fields

I'm doing up a blog at the moment where each post is accompanied by the name of a song. Adding the songs to the posts is fairly easily done via custom fields. However, I also need to have a page ...
0
votes
1answer
113 views

How to display list of results

I need to display a list of results which will include a name, time, etc. They will be in this format: results. I have looked at using tables, but short of writing a script to parse the text file, it ...
0
votes
1answer
521 views

add a “list” into add meta box : problem

i found a code searching through stackexchange --> to create a "list" inside a meta box of a custom type, BUT, i don't see anything appearing in this meta box, except the input field (which comes from ...
1
vote
3answers
82 views

Excluding Pages not working

I was trying to set up a few pages the other day that would hold an authors information (only to be accessed from the author snippet at the bottom of posts), and obviously these pages are showing up ...
3
votes
1answer
335 views

Displaying search results in the widget itself?

I am new to wordpress, so if this question was already answered I apologize in advance. I have a search form in wordpress which looks like this: <form action="wordpress/action.php" ...
2
votes
1answer
1k views

Archive list with only years and months

I'm trying to show the archive list like that <ul> <li>Year</li> <li>Month</li> <li>Month</li> <li>Month</li> <li>Year</li> ...
2
votes
1answer
470 views

List posts under meta_value heading

I need to list completed (meta_value) projects for each year (meta_value), like this: 2006 - Project 1 - Project 2 ... 2005 - Project 3 ... I found (here) a great piece of code to deal with I'm ...
15
votes
8answers
6k views

How to show a hierarchical terms list?

I have a hierarchical taxonomy called 'geographical locations'. It contains continents on a first level, and then the countries for each one. Example : Europe - Ireland - Spain - Sweden Asia - Laos - ...
0
votes
3answers
1k views

How can I display only the post titles from a selected category in columns?

I'm working on a website where the client wants a static page displaying information about a certain category. Then under the static information she wants all the posts from that category in a 2 ...
0
votes
2answers
166 views

get listed category's id?

ok - so i'm listing categories and their sub-categories. How can i get the ID of the category that's being shown with a function? ( i know what it is in the admin ) ie /category/events/women-in-art/ ...
0
votes
2answers
1k views

confused about wp_list_pages() function - how to display selected top pages with all their subpages

I'm a bit confused about wp_list_pages() function. Lets say I have 3 top level pages (with no parent) and each of them have some sub-pages: page 1 [sub-pages: 1.1, 1.2, 1.3]; page 2 [sub-pages: ...
2
votes
3answers
2k views

Display only one result from “get_the_category_list”

I'd like get_the_category_list to only display one or two categories instead of all the categories associated with the post. Haven't been able to find any results. <?php echo ...
2
votes
1answer
477 views

Listing Parent, Child and GrandChild Categories and then the PostTitles on Page Template !

What I want to do is a loop like this is something like this I'm really sorry but its hard to format here! I going to put this short url http://pastebin.com/dEdKzgJz so you can see it better... Can ...
0
votes
1answer
338 views

adding a #hash to each link in list_pages()?

hey guys, is it somehow possible to do the following: wp_list_pages() lists each link inside a <li> <a href="link"... <?php wp_list_pages('title_li=&depth=0&exclude='); ?> ...
0
votes
1answer
104 views

Listing all sidebars

How to list all existing sidebars? I want to show them all in the drop down list (so each item should have also the right value).
2
votes
1answer
289 views

Modify Page Title before output via wp_page_list

HI all, I need to change the title of some pages before they are output on a list via wp_list_page. I don't want to change the page title in the backend To be clear, my list displays $children = ...
0
votes
3answers
603 views

Listing all sub-pages?

I'm wondering how to write a list of sub-pages of actually visited page. So I have 2 pages and 3 sub-pages for each: Colors [page] - Red [child of Colors - subpage] - Blue [child of Colors - ...
1
vote
1answer
2k views

Check child/parent categories if exists

i am serching a WP function that controls is there any child category/ies of current category (in category.php outside of the loop) and if there is, just add link list for that category/ies to page, ...
1
vote
3answers
330 views

How to enumerate a list of posts?

I've created a page with a list of posts from a specific category. I would like to enumerate this list like this: lecture 1: post title 1 lecture 2: post title 2 lecture 3: post title 3 etc. How ...
1
vote
1answer
932 views

wordpress wp_list_categories

i'm using wp_list_categories like so: <?php //list terms in a given taxonomy using wp_list_categories (also useful as a widget if using a PHP Code plugin) $taxonomy = ...
0
votes
1answer
964 views

List Child Categorie and hide the parent

Greetings! I'm trying to list child categories in a sidebar, but also hide the parent cat. I'm using this at the moment: <?php ...
5
votes
2answers
725 views

Only Showing Upcoming Events

In the sidebar of this page: http://lifebridgecypress.org/our-people, I have a list of upcoming events using this code... <ul id="upcoming-events"> <?php $latestPosts = new WP_Query(); ...
1
vote
4answers
437 views

Looking for a subscriber list management system

Is there any plugin that enables the creation of forms and has a smart tool for subscribers (not site visitors who registered) database management? I'm looking for a plugin that does that for a long ...
0
votes
1answer
517 views

How to Configure Events List in Wordpress to Disappear Event Once Date is Past

I currently have some code setup to display upcoming events set by the admin based on the date of the event. The upcoming events are sorted by the next upcoming event, starting from the top, and then ...
0
votes
1answer
2k views

Adding category dropdown list to theme options page

I am tyring to add a category drop down list to my theme options page. I am try it this way: <p> Select a style from the list <?php $amp_categories_obj = ...
1
vote
3answers
2k views

wp_list_pages doesn't work in hierarchical custom post type

I've been bashing my head against my desk all afternoon trying to figure this out. I've got a custom post type all set up, with hierarchical set to "true" and I can assign parents and see the ...
0
votes
3answers
4k views

Authors list Pagination : result set from $wpdb->get_results()

Using this solution : Paginate result set from $wpdb->get_results() I did make my code for Authors list page template as follow: <div> <table id="mytable"><tbody> <?php // ...
2
votes
2answers
160 views

Similar posts formatting

I'm using the similar posts plugin http://wordpress.org/extend/plugins/similar-posts/, and I want the similar posts to show on the same line instead of as a list... like link 1, link 2, link 3, link ...
0
votes
1answer
334 views

How to replace “Password Protected” text with icon in Admin

In Wordpress, whenever a post is password protected the backend admin area appends the text in bold "- Password protected" after the post title. What I am looking for is a way to remove this text and ...
1
vote
1answer
643 views

wp_get_archives() display months even if there is no posts

Hay, the example on the wp_get_archives documentation page shows how to show a list of all the posts, by months. However if there is no posts for a month, the month doesnt get displayed. So an ...