The list tag has no wiki summary.
0
votes
0answers
23 views
Creating taxonomy.php
I trying to create my taxonomy.php from this code:
<?php
$posts_per_row = 4;
$posts_per_page = -1;
$pageURL = 'http';
$post_type = 'radio';
if ($_SERVER["HTTPS"] == "on") ...
0
votes
1answer
118 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
12 views
Make whole list item clickable if there is another element beside it? [closed]
<nav class="test">
<ul>
<li>
<a title="view: dg" rel="bookmark" href="http://127.0.0.1/baa/?p=321">
test
</a>
<span>2</span>
</li>
</ul>
...
0
votes
1answer
327 views
How can I display all values of a custom field from posts with a certain value of another custom field or from certain post types?
I know the question is quite ambiguous. Let me explain:
I have a page that lists all posts with a certain value of a custom field.
(Eg.: The page Rentals lists all posts with the value rental of ...
0
votes
2answers
119 views
Is there a standard public URL convention used on a Wordpress site directly to a page listing all of a user's public content?
Is there a standard convention for a full direct public URL address that, when visited/clicked on, will show a page list all of user account's public content uploaded on that site.
Background:
I ...
0
votes
1answer
461 views
Remove the <ul> Tag from wp_nav_menu in Wordpress 3.4.1
my problem is the following:
I want to remove the tags from the wp_nav_menu. I already found different posts about it here but they don´t seem to work for me. Here is what I did:
First I ...
0
votes
0answers
32 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 ...
11
votes
7answers
3k 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
- ...
-1
votes
0answers
34 views
Ajax tabs not animating content
I am having some trouble with jquery ajax in Wordpress. I want Ajax to load content from other pages in a div called "place-content". They are loading but it jumps to the top of the page every time a ...
0
votes
1answer
169 views
List all categories in options
I used to use the following code to make the list of all categories:
foreach($categories as $cat) {
print '<label>'.$cat->name.'</label>';
print '<input type="text" ...
-1
votes
1answer
25 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
26 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
vote
0answers
35 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, ...
2
votes
1answer
37 views
How to display by default only published posts/pages in the admin area?
As it is, WordPress displays by default all the pages/posts in the pages/posts list in the admin area, no matter what their publishing status is.
I have a lot of drafts, but usually I'm much more ...
-1
votes
1answer
35 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
48 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
0answers
77 views
wp_list_pages with parent and children
I am making a wordpress theme for a company and I need to show the parent items with wp_list_pages(). The child items should only be shown if I am inside this parent.
Example:
Only show
menu a
...
0
votes
1answer
45 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
29 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
52 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
68 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
774 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
72 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
29 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
88 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
124 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
33 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
2k 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 ...
-2
votes
1answer
102 views
Is there a plugin that lists all my posts on one page? a page with full list of all my posts [closed]
Is there a plugin that lists all my posts on one page,a page with full list of all my posts?
0
votes
2answers
69 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
552 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
147 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
283 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
1k 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
59 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 ...
3
votes
3answers
2k views
wp_nav_menu: show menu only if one exists, otherwise show nothing
I'm trying to use wp_nav_menu to only display a menu if one exists, otherwise, display nothing.
If I delete the menu, it will output a list of the pages.
My functions.php file contains:
if ...
1
vote
1answer
144 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
76 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
445 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
69 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
0answers
30 views
Plugin to list software bugs/features and allow users to vote on priority? [closed]
I am developing some software and users are starting to list bugs and feature requests in an online forum. I need to get these into a more manageable list.
Ideally I want to be able to have a form ...
0
votes
1answer
22 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, ...
5
votes
3answers
983 views
4
votes
1answer
153 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
886 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
315 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
86 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 ...
2
votes
2answers
202 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
116 views
Creating a page with complete user list data, integrated with plugin to extend registration data
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
261 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 ...

