Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [list]

The tag has no usage guidance.

-1
votes
0answers
17 views

Creating A List With A Plugin Recommendation?

I hope you all are having a great day. I am very new to wordpress and I am still learning stuff so I hope you don't mind helping me on a subject. I want to create a list using a plugin and I want this ...
0
votes
0answers
24 views

Show blog-posts on Template

Below you see the index.php of my Theme. As far as I understand, wordpress is using this file to generate category-pages with thumbnails, headlines, excerpts etc. So now I want to make a "special" ...
0
votes
1answer
23 views

Posts as filtered list - expandable

I would love to achieve something like on Miranda July's Website for my architecture firm website. Very unsure where to start. Does anyone know a theme that has similar functionality, which I could ...
0
votes
0answers
19 views

Drodown list return issue

I made a function that doesn't work properly: it correctly returns the slug of the selected tags except the first one in the list. Someone can help me understand why please? The code is below ... ...
1
vote
1answer
23 views

A to Z List of Custom Post Type in three columns

I want to display custom post types A to Z Index in three columns, but it just lists the first post under each alphabet in three columns, I think there is some issue with the loop but can not figure ...
0
votes
1answer
16 views

get taxonomy list in a page in the wordpress

I have this code in a page in the WP for show new taxonomy <?php $terms = get_terms(array( 'hide_empty' => 'false', 'orderby' => 'name', 'order' => 'ASC', 'taxonomy' =&...
0
votes
0answers
12 views

How to show No Post Found when a user has not posted anything yet

I am using Wordpress 5.0 By default, when a logged-in contributor click "Posts" or "All Posts", a list of his posts are shown. But when he has not posted anything yet, clicking "Posts" or "All Posts"...
0
votes
1answer
27 views

Dropdown select filter and categories list

I have recently visited this website and came to know that it is running on wordpress. I have been looking for dropdown select filter (Banks Filter) and categories list as same as on that website. ...
1
vote
1answer
16 views

To get list of bottom most or deepest or last child for specified parent category

I want to list all the last deepest / bottom most childs of a specified parent category in a page. the structure is Parent A child 1 grand child 1 child 2 grand child 2 great grand child 1 ...
0
votes
1answer
22 views

List all taxonomies with their descriptions

I have this snippet below that lists all my categories in linked hierarchical order and their descriptions. I was hoping someone could update it to allow for a specific custom taxonomy instead? ...
0
votes
2answers
34 views

How to get all wp_posts in wordpress fetched from database

I have downloaded a theme and installed it. Here the theme has custom fields for limited numbers. For ex. author_name, comments but, I want all the wp_posts to be displayed. And prior to that, ...
1
vote
0answers
26 views

Show certain posts in a LIST format that members have been granted access to

I need post visibility control, but I don't want just "a class of users" to be able to see a post; I want just 2 or 3 users I specify to see a post. Then later, those same users will go on to view ...
0
votes
0answers
58 views

List tags and pagination

I have a custom template page where I display all TAGS used in the site. In my case I use them to show the author name. The way I display them is... <ul> <?php $tags = get_tags()...
0
votes
0answers
156 views

“Comment is awaiting moderation” gone!

As i said this notification is gone after new Wordpress update. I can't find solution. My comment lists coming with this code: <ol class="comment-list"> <?php wp_list_comments( ...
0
votes
1answer
154 views

Complex List Field - Gravity Forms

So I am using this Complex List instruction from LINK and it works, but it is changing all my lists. I've tried a few things but am missing something... .gform_wrapper ul.gform_fields....
0
votes
3answers
60 views

put a list of one post type in other post type to select from it and display selected item in second post type's single page

I have two post types in my website. one for courses and other for teachers. I want to put a selectable list of teachers post type in courses post type and then show it in course single page and link ...
0
votes
1answer
12 views

Add homepage to the list of pages in the Footer Widget

How do you add the homepage to the list of pages appearing in the footer widget? I've spent a few hours looking around for a function adding the list of pages in the footer widget but I can't seem to ...
0
votes
0answers
60 views

CPT: custom post type list view - edit columns

I have CPT UI and ACF plugins installed. I've added 2 custom post types, and tied them together with ACF using the Relation field. Everything works as expected, so far, except for the list in my ...
0
votes
2answers
51 views

Drop down list code for sidebar

For starters, I'm not a programmer but I'm good at cut and paste. :) I want to create a drop down list that displays each post and I've done that by putting this in my functions.php child theme file ...
1
vote
0answers
66 views

Change url links on members loops in buddypress

I am new to buddypress, my installations is shown below. WordPress version: 4.9.4 BuddyPress Version: 2.9.3. I urgently need a way to change the url attached to members to link to member profile i....
0
votes
0answers
298 views

How to add custom field to wp_list_table

I am trying build my own wp_list_table. And i am using this following code: https://github.com/pmbaldha/WP-Custom-List-Table-With-Database-Example/blob/master/custom-list-table-db-example.php It is ...
1
vote
2answers
729 views

How to create A-Z index listing for custom post types?

I want to create an A to Z index listing of all posts from a specific custom post type. This is the code so far: <?php /** * The Template for displaying archive series. * * Theme: Default */ ...
1
vote
1answer
132 views

Wordpress' visual editor messing up my (nested) lists (and other things as well)

I always have trouble trying to create some nested lists in Wordpress using the default editor in visual mode, since I want to avoid the HTML extra work. Even though I write the HTML myself in the ...
2
votes
1answer
856 views

TinyMCE - Add class to OL - selector doesn't seem to get parent OL,UL, just LI's (4.6.3)

TLDR: I'm trying to add a class to an <ol>, and can't seem to do it without creating a nested list. Here's what I want: <ol class="bold-numbers"> <li>Item 1</li> </ol> ...
0
votes
2answers
2k views

Get parent of current page

please help me: I need to get the parent of the current page, in other words: to get the parent of $direct_parent.Thanks! <?php global $post; $direct_parent = $post->post_parent; $...
0
votes
2answers
540 views

How can ι create my own (custom) WordPress table/list?

I don't know exactly how is the correct name, but i want to create my own table like the default wordpress table : I wanted to ask, does the WordPress provide some API to create it?
2
votes
1answer
71 views

Filter Posts by Excluding Categories

I am logged on as admin I am on the Posts dashboard I have Posts assigned to multiple Categories and I have posts that are assigned to only one category. I want to display posts that are assigned ...
0
votes
1answer
357 views

Exclude admin from user list

Hi i'm fairly new to PHP and Wordpress, i'm using a plugin (Users Insight) to list all users on my site. The problem is, that i don't want to admin to appear in that list. So far i've found the ...
0
votes
1answer
57 views

How correct list-style displayed in firefox? [closed]

although the list-style for content is set to 'disk' in child-themes style.css, it is displayed as 'decimal'. In chrome-browser it is OK. Is there any workaround to fix that?
0
votes
1answer
679 views

Create alphabetical Pagination for custom taxonomy?

I want to create an alphabetical pagination for terms from custom taxonomy so I'll be displaying it like this: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z So for example if I click on the ...
0
votes
1answer
105 views

How to create page that lists tags by initial letter?

I want to create a page that lists tags that begin with a specific letter. So for example I want a page that lists all tags that begin with the letter 'A'. This is the code I got so far <?php $...
2
votes
0answers
206 views

Gravity list field override and adding javascript [closed]

I tried for past few hours, I'm override the list field to drop down, add_filter( 'gform_column_input_4_2_1', 'set_column', 10, 5 ); function set_column( $input_info, $field, $column, $value, $...
1
vote
1answer
2k views

Get woocommerce catogry

Hello (sorry for bad english) i want know how can i get the category list in woocommerce . with this code i get wordpress category list function gaga_lite_category_lists(){ $categories = ...
0
votes
2answers
262 views

Categories list loop - add separator every year

I have a code which shows categories list with images. Im using plugin to attach image to category. Working code is: <?php $args=array( 'orderby' => 'name', 'order' => 'ASC', ) ?> &...
0
votes
1answer
1k views

Categories list loop - add separator every 3 categories [closed]

I have a code which shows categories list with images. Im using this plugin to attach image to category. Code is: <?php $args=array( 'orderby' => 'name', 'order' => 'ASC', ) ?> <?...
-2
votes
1answer
48 views

ACF Plugin WP with list-group - Vimeo [closed]

I Would like integrate variables of WP ACF plugin in list group but I don't know how start... Somebody could help me please. My code : <div class="embed-responsive embed-responsive-16by9"&...
0
votes
1answer
68 views

How do i wrap woocomerce attribute in list?

I want to wrap a particular woocomerce attribute value in a list. e.g. include is a attribute i want to wrap it value in a list. i have attached a image for your reference
-1
votes
1answer
230 views

List child pages alphabetically

I am using the following code to list sub pages of a particular page. How would I change ot to sort by alphabetical order? <?php $args=array( 'post_parent' => ...
2
votes
2answers
873 views

Number of items in a menu

I can't find if WordPress stores the number of items in a menu. Basically I need to find out how many items are in a menu to work out the percentage each item should take up in the header bar. Is ...
0
votes
1answer
367 views

Output custom text field as unordered list

I am quite new to php. I am using advanced custom fields and have a custom field with the name tags. Users are inputting content such as: Tag 1, Tag 2, Tag 3 I would like parse this output and show ...
0
votes
1answer
258 views

Pagination in html table is not working

I have a custom page template and I found a a PHP snippet that create a pagination in html table. But the code is not working properly. UPDATE: I change the code. But still the code is not working ...
0
votes
2answers
571 views

display widget checkbox selection on frontend

I create a widget for a custom post type that will display a list of post in the widget area. it works fine, i can select multiple posts and save the widget but i can not get it to display on the ...
9
votes
2answers
165 views

WordPress retrieving meta data for all custom post types in list view

I'm having an issue in WordPress where PHP is dying. I've increased memory, but the PHP process jumps to 100% CPU usage then dies and Apache throws a 500 error. I've tried to get Apache to log ...
0
votes
2answers
44 views

How Can Hide Define Category in Post Contents?

This is My Category List : 1- Years 2- Genere And I use This Code For show in posts : <?php the_category(' , ') ?> How Can Hide "Year or Genere" in up code? Please Help Me.i want Show Only ...
0
votes
1answer
3k views

Get a list of ACF Repeater-Fields as array

I run a Site for a concert & music club. Events are set within a custom post type called "events". In this i set the date, the name of the event and all other infos about that event. In this ...
0
votes
1answer
48 views

Dynamic archive of posts by date

I'm currently working on an intranet site for a big company and based on the project description, there will be a lot of articles posted everyday so this website will need various archive pages with ...
1
vote
0answers
830 views

List all categories with featured image from post?

With this code I show all categories: <?php $args = array( 'orderby' => 'name', 'parent' => 0 ); $categories = get_categories( $args ); foreach ( $categories as $category ) { echo '...
0
votes
1answer
28 views

Is a list page usually called an archive page in Wordpress?

If I have a custom content type of events, and I want a page that shows all the events, is this known as an archive in Wordpress? This would be the link http://example.dev/?post_type=event that ...
0
votes
1answer
1k views

Display a list of all post from the Author in the author's page (author.php) in alphebetical order

wordpress noob here. I'm trying to get a php code that will list all of the author's post in the author's page, or in author.php file, in alphabetical order. If anyone here knows how, please help.
5
votes
2answers
1k views

How To Remove These Stuffs From Custom Post Type List Screen?

I am modifying a custom post type's post list screeen and I want to remove all of the stuffs on the tablenav head like what is marked in the following image. Is wordpress have special hook for that, ...