The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
3answers
3k 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
637 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
463 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
110 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
310 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
768 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
387 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
1k 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
1k 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
929 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
472 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
560 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
3k 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 = ...
2
votes
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
6k 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
166 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
374 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
821 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 ...