The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
2answers
4k 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: ...
-4
votes
0answers
13 views

Last news on Revslider [on hold]

how to insert last news list in revolution slider layer. someone knows some plugin or a code to be entered to print the latest 3 news blog? His revolution slider does not have anything like that?
0
votes
1answer
65 views

Author list based on recently active

My list of authors is now based on post count and I would like it to be based on recently active user. My idea was trying changing the orderby to post_date but it has no effect. Any suggestions to how ...
9
votes
2answers
109 views

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

Im having an issue in WP where php is dying, ive increased memory but the process jumps to 100% cpu usage then dies and apache throws a 500 error. Ive tried to get apache to log something, or php / ...
0
votes
0answers
11 views

List titles returned on Archive page in right widget

Hopefully someone can help with this! I currently use the TOC+ plugin to create tables of content in my right widget, which works great for posts and pages. However, for dynamic content in my ...
0
votes
1answer
24 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 ...
0
votes
1answer
53 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 ...
1
vote
0answers
15 views

Reload parent categories list in (new) post [closed]

I have a question about parent categories list in a (new) post. I have few categories what I would like to exclude from parent categories list. When I open (new) post page, few categories are ...
4
votes
2answers
777 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
43 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 ...
0
votes
0answers
17 views

List all post from different post type on one page by CPT UI

I am a php begginer. I am using CPT UI plugin for one of my projects - free resources for designers. The idea is to have different pages for different type of resources. So I will create different ...
0
votes
0answers
28 views

How to List subcategories of a single category alphabetically

Imagine there is a category called Info ( id = 40 ) that has many subcategories . Now I want to show the ones that start with " A " and " D " somewhere else . Is there a way to kind of get ...
0
votes
0answers
35 views

Change Form Category List to Dropdown

I am using Front-end Post & Media Manager from WP-Eden for my users to allow them to create posts in the frontend. Everything is working fine but not really good. My site have about 100 ...
0
votes
2answers
34 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
160 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
4k 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
0answers
20 views

Export searched results in admin

I'm looking for a way of exporting searched data in an admin list of custom post types in a csv file. I've add some custom filters that allows user to search specific items. Basically I would like to ...
18
votes
9answers
20k 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 - ...
0
votes
1answer
26 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
84 views

List all categories with featuread 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
0answers
22 views

How to neatly list categories on a page

How would I go about and get something like this? All I find is how to list it with wp_list_categories ('orderby=name&amp&show_count=1&title_li='):
0
votes
1answer
22 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
249 views

List all posts, pages and custom post types in admin

I want to create a drop down in my WordPress admin containing all posts, pages and custom post types. The return value should be a link to that page or an ID of the page. Is there something build in ...
1
vote
1answer
2k 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
1answer
72 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.
4
votes
2answers
364 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,...
0
votes
2answers
2k views

List all taxonomy terms / Show links if posts are attached, else names

I'm looking for a way to list all the terms from a custom taxonomy. Only the terms that have posts attached to it should have links to the archive page. If there are no posts attached it should only ...
0
votes
1answer
58 views

Listing Custom Post Post from certain category

I have Custom Post note Here my category looks like this : Tutorials --Class 11 ----Physics ----Chemistry ----Biology --Class 12 ----Physics ----Chemistry ----Biology -- represent children and ---...
0
votes
1answer
23 views

Add specific class to featured posts

Actually I'm using this loop to get my posts in homepage: <ul class="news"> <?php // The query $page = (get_query_var('paged')) ? get_query_var('...
0
votes
1answer
73 views

How do you change the comment count in the back end posts list, to reflect unapproved comments, rather than all comments?

By default, the comment column shows the number of approved comments. I would like to either: Change this to the number of comments pending approval, OR; Create a new column with the number of ...
0
votes
0answers
103 views

Display posts list in a table with search

I am new to wordpress, and I need to display a table in the frontend with list of posts and a search functionality. Is there any custom code to do both the functionalites(listing and search)? NOTE : ...
0
votes
1answer
185 views

List sub-taxonomies from current taxonomy

I have a custom taxonomy called book with terms: 'science fiction', 'romantic', 'history' Each of these Taxonomies have 4 sub-taxonomies, that I need to display as a sub navigation. I'd like first to ...
0
votes
0answers
20 views

Text with sub bullets not saved correctly

I'm having problems with sub list items. In my backoffice it looks like this (text is blurred): Visual: Text: In the text editor it looks good but when I save the post I get this in my database ...
0
votes
1answer
431 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 ...
6
votes
4answers
8k 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
37 views

How to convert custom post type based list to a dropdown list?

I have been created a query to list the post from current taxomony, filt by term slug for my book site (as table of content). And it worked very well. But, is there any way to convert it to a dropdown ...
0
votes
1answer
39 views

add links to list of post terms

How do I change the function below so that it outputs a list if links rather than a string? The resulting html I need is <a href="#">term</a> <a href="#">term</a> <a href="#"...
0
votes
2answers
87 views

How to get the title of root li element

I want to get all info of top level menu from childrens <li class="l-nav-item dropdown"><button class="open-icon visible-xs fa fa-angle-down"></button><a href=" ">Home</a&...
2
votes
1answer
175 views

How to get a category in a list item class

I am need to know how would I get the category to be dynamically input in a WP_Query This is the code I am using: <li class="<?php the_category(' ')?>"> but the output is breaking. ...
0
votes
1answer
378 views

Hiding by default specific post status on backend list?

I created various custom post status options (like default ones: "published", "draft" and so on) and one of them is "project closed". I need to hide/exclude by default from post list in the backend ...
1
vote
2answers
99 views

how to change appearence of the content of default post list columns?

Speaking about backoffice here. I usually add columns and filters to the backoffice for certain custom post types. No problem here. BUt what if I would simply like to change something on the content ...
5
votes
2answers
1k 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
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
0answers
44 views

custom post type taxonomies order desc

this code works fine here http://wellspringchurchnc.org/redesign/sermons/ but i can't seem to change the order to display in descendent $args = array( // 'posts_per_page' => 1, //'order' =...
0
votes
1answer
76 views

Show template loaded

Is there any way to see what .php files are being loaded for a particular page? So say I have a page - www.example.com/page - and on it is loading the header.php, sidebar.php, footer.php, and the ...
0
votes
0answers
38 views

Display Pagination on Table

I have written the code below: <?php $ListTransfer = $pwtw_db_connect->get_results ( $pwtw_db_connect->prepare ( 'SELECT * FROM donation_bank WHERE trans_wp_id = %d AND trans_svr_region = %...
0
votes
2answers
2k views

List all sites in multisite

I want to list all sites in the multi site network in alphabetical order? Right now, the code lists by registered date <?php // Query for getting blogs $blogs = $wpdb->get_results( $...
0
votes
1answer
97 views

List all pages using a specific template on a page

I just created a WordPress page called Latest Blog Posts where I want to list, in chronological order, all pages from my website using the template name "Blog". The list should contain the title of ...
1
vote
2answers
2k 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 ...
0
votes
2answers
226 views

Display all posts from selected month

I am trying to display all posts from a selected month. Currently once I select a month, only 10 posts display. I understand I can increase the amount of posts to show under the 'reading' options ...