The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
27 views

Authors & profiles (and exclude ID's)

I'm facing the following: I need to create a page with all authors and exclude multiple (id's). Strangely I'm using 'subscribers' to list the authors but it's working. <?php if ( ...
0
votes
0answers
15 views

How does one create a nested list in Markdown/Jetpack [closed]

I have Jetpack activated on my WP install, and the Markdown module is activated and working. I have tried just about every variation I could find online for how to nest an unordered list in Markdown, ...
0
votes
0answers
15 views

How to hide terms if post is equivalent to draft?

The issue is if you are displaying a term list somewhere it will show the terms tied to draft posts as well. How can I make drafts not register to the taxonomy until published?
0
votes
2answers
174 views

Dropdown List Won't Display Selected Option After Submit / Refresh

I created a user form on my index page which allows the site visitor to re-order my post loop order based on either most recent posts or highest rated posts. The form works perfectly, the problem is: ...
0
votes
0answers
35 views

Filter Users Using Custom Admin Role

I have created a custom user role in my WordPress installation called Inactive, which identify users that don't write posts or pages anymore (This role was created for archival purposes, as a kind of ...
1
vote
1answer
83 views

Change an li class name in a wordpress custom menu walker

I'm building a nav that has a class applied to the main LI's and the nested LI's. Example: <ul> <li class="className">Test</li> <li class="className">Test <ul> ...
0
votes
3answers
28 views

Display A list of Admins

I have a function that allows me to display ALL users on my site, but I was wondering if there was a way to display Admins and Contributors in a separate loop? My current function: function ...
0
votes
0answers
63 views

How to display list of taxonomy terms of all posts in taxonomy archive?

I have 3 separate taxonomies, all with their own terms. When a term is clicked and the user is taken to that archive, I want to display a list of all the taxonomy terms associated with all the posts ...
0
votes
2answers
54 views

List all sites in multisite

Hi I'm not a coder and I was wondering if anyone could edit this code to list all sites in the multi site network in alphabetical order? cause right now the code lists by registered date <?php // ...
-1
votes
1answer
42 views

Foreach giving one too many list items, how can I remove the last empty line?

Hello Stackexchange users! I built a simple function to display a list of items from custom fields. However it is listing an empty last field on the front end and I cant figure out how to remove it. ...
0
votes
0answers
37 views

Create a list of sites on the network (multisite)

I'm using shardb which splits the database into multiple. I'm trying to make a page that will list all the sites on the network but I'm unable to do it cause they're on multiple database so this theme ...
1
vote
2answers
73 views

Change default screen option value for posts per page

I want to change the default screen option value for posts per page in the wp-admin area when listing posts in pending mode. The default value is set to 20. Changing the value directly in the Screen ...
1
vote
1answer
59 views

Can I wrap an unordered list inside a shortcode?

So, I created an events page for my client that holds lots of details about events. We found no particular event plugins to be helpful for their purpose, so I built a a custom template using advanced ...
0
votes
1answer
58 views

List first letter of categories - issue upon spcecial characters (danish letters)

I have a alphabetic list of custom taxonomies (Topics), all taxonomies are grouped by a index letter - A, B, C etc. The list uses the first letter of "Topic", to show as a index letter for each ...
0
votes
0answers
22 views

Menu of pages with an image

I'm getting really desperate and I need your help, I really tried and research and I couldn't find anything yet. I'm new at wordpress.. and I have this question, I hope you can help me... I want to ...
0
votes
0answers
9 views

Archive list with only years and months belonging to a category

I need to generate a list of years and months belonging to a category. For example I have two main categories (A and B). I need a list of years and months of post published only of the category A and ...
0
votes
0answers
16 views

wp_list_categories output /defaultcategory+category2/

I need output this /default_category+ and add after that comes all site categories and then list those. I need to list this so I can make ready list, so user can search post that are in under default ...
0
votes
0answers
13 views

Listing authors, discription and rss feed in alist

I'm trying to list my sites authors, their description, and rss feed link on a single page. I have experimented with the author_list functions with scattered results. Can anyone point me in the right ...
0
votes
1answer
191 views

Add class to all list items of wp_nav_menu

I have a wp_nav_menu to which I want to add a classes to the list items. I know this can be done by choosing 'css classes' from the screen options menu, but then I have to give every single li a ...
0
votes
1answer
40 views

List of all entries of custom-post-type: Add year-parameter?

I've once got help with the following function: function get_event_list( $latest = true, $order = 'ASC', $return = false ) { $yesterday = time() - 24*60*60; $compare = $latest ? '>' : ...
0
votes
4answers
48 views

How to find the number of Tags a post has?

Is is possible to find how how many tags (and categories) a post has and to display it? something like this: when a post has three Tags and two categories, at the end of the post show that number ...
0
votes
2answers
55 views

how to arrange the bullet list items in vertical [closed]

This is my test_site .In there the list items are displaying not in order. I know this is because of some silly css problem. but I don't know how to write the css to make them to display neatly. I ...
0
votes
0answers
33 views

How to get the list of users logged in to wordpress and expose it in JSON?

Is there a way to get the list of users logged in to wordpress site and expose it in JSON? Please throw some lights to achieve this.
0
votes
0answers
24 views

Would like to be able to take list of pages, and place them into an array

Well...title says it, but here are the details. I would like to take a list of all of the active wordpress pages on my site, and place them into a list. This list is generated by an array (it uses ...
0
votes
1answer
77 views

Create a Page Template Which Displays All Posts by Current User

I would like to create a page template that will display all of the posts by the currently logged in user. I managed to find an older thread which contained this code: if ( is_user_logged_in() ): ...
0
votes
1answer
50 views

AZ Directory category

Hi i would like to create an A to Z index of category of 3 rows. How would i go about in doing this? Example: ABCDEFG... A title of category started with the letter A B title of category started ...
2
votes
2answers
113 views

Editing a Post, 99% CPU?

I have a blog with ~15k posts, and a DB size of 14.4M. The website works blazingly fast from the front end, but post-edit and post-listing screens hang - either loading partially or not at all. Even ...
0
votes
1answer
39 views

How to use numbered lists in the post editor?

I have troubles to use numbered lists in the post editor. I want to have a numbered list where each number could have few paragraphs inside. Something like List one some text paragraph two for ...
0
votes
2answers
48 views

Listing pages which uses specific template [duplicate]

I have created a template named product.php with the following header: <?php /* Template Name: Product Page */ How can I list, in a sidebar, every page that uses the "Product Page" template? I ...
0
votes
0answers
13 views

List posts grouped by year [duplicate]

I'm really stuck on this one: Show ALL posts grouped by year 2013 title1 title2 title3 title4 2012 title1 title2 Can someone help me with this?
0
votes
0answers
43 views

List categories with different markup depending on category

I'm wondering how I can output all of the categories, with different markup depending on the category. I have a page where at the top some years are listed (the years will be the categories, each ...
1
vote
1answer
123 views

How do you List all Sidebars in a Metabox

I know this question has been answered many times before, including here where i came from so it'll probably be real simple. I've registered my sidebars as normal function wmw_sidebars() { // ...
0
votes
0answers
32 views

Group category list by other categories excluding some posts

I want to list posts on a category page in a special way. All my posts belong to two categories out of five. The categories are of two "types", the 'w' and the 'k', and a post cannot belong to more ...
0
votes
1answer
781 views

Getting an alphabetic post list with two letters onclick on letter

I have a website in Wordpress and a page with a list with letters like this: A B C D E F G H I ... This shows me all posts with the letter A for instance. That's nice, but I want it to make it ...
0
votes
1answer
107 views

Output list from each line of metabox (shortcode)

Hey I have a textarea in my metabox and I display the info using a shortcode. I want to output the data from that metabox as a list (each line is a list item). I used the code from here but changed ...
0
votes
1answer
173 views

How to List all Sidebars in a Metabox

I'm trying to add a metabox to every page that is a drop down list of all registered sidebars that is then saved in a custom field. I'm using this metabox class I've gotten as far as this: // get ...
0
votes
1answer
81 views

List a custom post type's posts ordered by nested custom taxonomy

Like the title says I have custom post types and custom taxonomy for that type. For the Taxonomy I have terms in 3 levels like this: -> Term 1 --> Term 1a --> Term 1b -> Term 2 --> Term 2a --> Term ...
0
votes
0answers
103 views

gravity forms nested list

I am building a form and attempting to figure how to create nested lists. What I want is to have a list item that contains list items as show in the picture i have two lists and i would like the ...
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
0answers
1k views

Displaying list of cities according to the selected state. Using the WordPress hook

I come to ask the community a help of a simple hook on WordPress. I'm trying to display a list of states and cities in two dropdows to select a single option in the a form. The list of cities will be ...
0
votes
1answer
61 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 ...
0
votes
0answers
40 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
34 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
2answers
459 views

Create shortcode for list of custom post titles with custom fields alongside

I'm stumped. I've looked at various sites but haven't found the exact code I need. Basically I want to create a list of custom post titles with the date from one of the custom fields for that post ...
0
votes
0answers
139 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
117 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
1answer
109 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, ...
-1
votes
1answer
79 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 ...
4
votes
1answer
461 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 ...