The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
670 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 ...
0
votes
1answer
174 views

Adding class to last list item? Not WP generated

this one has been getting me for a while. At the moment I have a repeater field with Advanced Custom Fields: <ul id="servicelist" class="clearfix"> <?php if(get_field('homepage_service')): ...
0
votes
0answers
27 views

link generated term list to latest post of term

i use the following code to generate a unordered list of all terms within a taxonomy and a nested list with all posts of the terms direct under the lsit item of the term <ul ...
0
votes
1answer
66 views

Search tag within category

How do I search a tag within a category? like if a user is viewing a post that belongs to category "Romance" and the user clicks on one of the tags like for example "blonde" it should list all posts ...
1
vote
1answer
116 views

Adding (blog-specific) links to “My Sites” admin page

The My Sites admin page only has links to the sites’ dashboards and production pages which is of limited value. I am trying to figure out a way to add a more useful links to them like New Post, ...
0
votes
0answers
43 views

Show list of posts only on category site

I used the following code to create a list of my custom categories and custom post types: <ul> <?php $custom_terms = get_terms('project_category', ...
0
votes
0answers
35 views

display admin content in the public site

I would like to display the page list or post list (or similar from plugins) from the Admin section to logged in users on the front-end of my wordpress site. Any idea how I can do this? I need to ...
0
votes
0answers
145 views

List number of posts with a specific meta_key for each meta_value

I would like to list my posts by a specific custom field. At the same time, for each custom field, I would like to count the number of posts with a specific custom field value. I have a custom field ...
-1
votes
1answer
41 views

Internet Explorer seperating lists differently in Twitter Widget Pro than all other browsers [closed]

I am having some trouble with the Twitter Widget Pro Plugin - for some reason in internet explorer if the first tweet has a link, it will make the link its own list item and add a bunch of extra ...
1
vote
2answers
129 views

Generate Catalog Of Posts Based On Template

Is there a way to print a hierarchy of posts/pages/custom post types based on page template? EG. I am often asked to review another web site and I'd like a way to 'see' all the pages that are ...
-1
votes
1answer
80 views

How to make a text string into a bullet list [closed]

I have a multi-select box (with a list of countries) on my BuddyPress registration page and would like to display the results on a member's page in a bullet list. The code below shows a bullet but ...
2
votes
1answer
94 views

Save list from a custom meta box?

I have a simple list (ul>li) which is manipulated with jQuery UI in a custom meta box. How would I go about saving the contents of the list during post save? I already have the save function ...
0
votes
1answer
88 views

Search form as list item in menu?

What is the best way to do this: <?php wp_nav_menu( array('menu'=>'Primary', 'container'=>'', 'items_wrap'=>'<ul id="%1$s" ...
-1
votes
1answer
49 views

How to display my categories in a list (to a post, not the sidebar)?

i want to display my categories to a post like a list. i have this (parent- and child-) categories: - Sports - Football - Basketball - Toys - Dolls - Lego - Books for example one ...
1
vote
1answer
142 views

List all pages and children in separate ul

I've been trying to do this all weekend, I'm going round in circles now. I want to list all pages and their children in separate ul's The page setup is like this HOME ABOUT ...
0
votes
1answer
152 views

Wrap Meta Box with <li> and </li> for each new line

I'm trying to automate one of our posting aspects. We post a lot of lyrics and have a system of meta boxes which we use to input various pieces of information about each set of lyrics we post. One ...
1
vote
1answer
1k views

wp alchemy multiple image uploader output images to template

I am using wp alchemy to add a custom metabox to my site with multiple image uploader option. This part is working fine, but I have no Idea how to go about outputting the image links to my template. I ...
1
vote
0answers
93 views

How to return an array of posts with the comments template intact for each post [closed]

Has anyone run across a way to build a page of posts that includes the comments and discussion form(s) for each post inline with the list? I tried this a few ways today and found it quite difficult. ...
0
votes
1answer
57 views

Listing category

This is the code I'm using for listing categories: <?php $this_category = get_queried_object(); $args = array( 'orderby' => 'id', 'show_count' ...
0
votes
1answer
567 views

new WP_Query all post in a category inside the loop

Im trying to get a list of post in a category with this: $category = get_the_category(); $args = array( 'post_type' => array('post', 'entrevista'), 'cat' ...
0
votes
2answers
337 views

Split custom post list into two columns

can anyone help me split this custom post type into two lists? i'm a novice PHPr but have been left with this code by someone who said it was too complicated... function listforcontinent($name, $top ...
0
votes
1answer
44 views

How to make a list of posts displaying them 5 by 5 with a “next posts” link?

I have been googling for the past 2 hours and haven't been able to figure this out, mainly because I am missing the right terminology, in other words, I don't know what I want in "wordpress words". ...
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
2answers
123 views

Limit checklist by the current user

Bare with me as I explain this. I'm adding an Assistant Editor feature to my multiple author platform. In the box that appears in post-edit page, the Editors can tick which task that they have done ...
1
vote
2answers
824 views

limit a list of tags to one category [closed]

Sorry if this has already been asked, but I am attempting to limit a list of tags to one category, in a couple different spots on my web page. I have this code: <?php $tags = get_tags(); ...
0
votes
1answer
285 views

List custom field values ​​in alphabetical order without repetition

The function below lists the custom fields as in this example: Frank Capra Alfred Hitchcock Woody Allen Woody Allen Frank Capra Pedro Almodóvar Pedro Almodóvar I introduce the values ​​in ...
1
vote
1answer
587 views

Nav menu of all posts in a custom post type

How can I create a nav like those generated by wp_nav_menu which lists all the posts in a specific custom post type? For example, I have CPT "section1" and I'd like to have the menu list all posts ...
0
votes
2answers
2k views

show posts under subcategory only when in that subcategory

I have a list of subcategories in a sidebar (children of top level category) and I also get a list of posts underneath each category. I only want to show those posts when we are under that subcategory ...
1
vote
1answer
97 views

Show Available Taxonomy List with Current Category

As you can see from the image, I am listing all categories and the cities (taxonomy list). What I want to do is : If Car classifieds is selected on cities list show the city name which has car ...
1
vote
1answer
469 views

List the number of posts for each custom taxonomy and specific custom field value

I would like to list my posts by a specific taxonomy. At the same time, for each taxonomy, I woud like to count the number of posts with a specific custom field value. So the list would look like ...
0
votes
2answers
231 views

get_all_category_ids for bookmark

I was wondering how to create a list of categories name and ids for Wordpress Bookmarks such as get_all_category_ids for post. I tried using the get_bookmarks, but the category does not appear in it. ...
0
votes
2answers
655 views

Way to show content of a post, but if exceeds character limit revert to excerpt?

So I am working on a site for a client of mine. We have about 50+ posts filed in a category called "Articles". I created a custom page template that has a custom query to display all the posts in a ...
0
votes
1answer
141 views

Add thumbnails in 'li' list

I'm new to WP so I'm still finding my way around. I want to create a simple list of thumbnails. In html I have done this like so <nav> <ul> <li><a ...
0
votes
1answer
54 views

Last three posts not being put in order by date. How to fix this?

My company adds a quote of the day each day. The last three posts that I have put are not in order though. The first quote I posted 3 days ago is at the top the post I posted yesterday is under that, ...
4
votes
1answer
331 views

List latest posts in WP-Admin

I run a multiple author site and I have created a plugin in wp-admin where authors can connect and collaborate with each other. To enhance it, I want to display a list of latest posts, this list ...
0
votes
1answer
2k views

WooCommerce Grid / List view

Is there any experience with Woocommerce Grid / List view plugin, I set to automatically start the list view but the problem is that while the page is loading initially opens a grid view and instantly ...
0
votes
1answer
845 views

List products from current category

This code is from the archive page and list all products with a certain tag, can someone please help me to modify this code to make listing products only from current category: <?php if ( ...
1
vote
1answer
136 views

custom walker wp menu last element

I have a menu list with many subitems that contain submenus as well (at the moment some reach 4th level). How can I put on each last descended ul of each li element a class ".last"? for example I ...
4
votes
2answers
504 views

Removing default image size list in Media Box

I trying to remove unused image size (Thumbnail, Medium, Large) in MediaBox Any function can i use in functions.php ? or some trick ? PS : I know i can use jQuery trick but any better function to ...
1
vote
0answers
278 views

Creating a page with complete user list data, integrated with plugin to extend registration data [closed]

I am using a plugin to extend the data given in the registration process (Cimy user extra fields). I now need to create a page where all users can see the registered users with their complete profiles ...
1
vote
3answers
600 views

Wordpress widget/sidebar dividers?

I have a widget sidebar, but I'd like dividers between them. I can achieve this in CSS using boring borders, but I have a png image I'd rather use instead. Is there a way to insert a divider after ...
0
votes
1answer
143 views

How to add a box for list items?

I need to add a box so a client can put their own images onto a carousel type slideshow, javascript just outputs the li of each instance it finds. However I cant find a way to create a box where the ...
0
votes
1answer
299 views

How to Create a Frontend Html-list Editable in the Backend?

I would like to add a feature to a page to display a short list of people, like the one seen here. I have done this on other sites by styling lists with css. This time however, it's for a client and ...
0
votes
1answer
527 views

Apply class to every third list item? [duplicate]

Possible Duplicate: How to mark every 3rd post I'm trying to give a class to every third list item on my page. I know how to give a class to every item, but not to specific items in a row, ...
0
votes
2answers
537 views

Divide the list into two columns (get_posts)

The function below lists posts based on custom field. The result is involved in a list <li></li>. What I would like to do is count how many list items there are, then divide it into two ...
0
votes
1answer
267 views

how to list all subdomain in wordpress multiuser

I need to show all sub domains/directory in my wordpress multiuser, for eg: blog1 blog2 blog3 Is their any template tags to do this? stuck with this help me out guys.
0
votes
1answer
586 views

How do I create an alphabetically organized glossary of links?

Here is the kind of archive page I am trying to reproduce for my client: http://www.catwalkyourself.com/page/ready_to_wear/autumn_winter12-13/rtw12_13.php As you can see, it is a list of ...
0
votes
1answer
117 views

list taxonomy based on taxonomy

Please, someone can help?! I'm fighting with this for weeks and nothing.... I'm quite new in wordpress and php... There is a way to list taxonomy terms based on another taxonomy? OR If is possible to ...
-2
votes
1answer
45 views

Moving Blog and Changing URL

I'm moving a blog with a decent amount of traffic and some good google juice. I want to try and proactively fix links that will change. How would I loop through all my categories and tags on my ...
0
votes
1answer
496 views

Listing all posts from current category on page

I'm trying to list all posts from a certain category, in a list, on the category page that already lists the posts out in blog form. I'm trying to do it in the header area so that you can get an ...