The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
27 views

User Last Login Sort Column

I've seen there are several ways to display a user's last login date on the Users page without having to use a 3rd party plugin. Building on that, I'd really like to have the user's last login date ...
0
votes
0answers
36 views

Manage edit-post type columns custom post type separate page

I am designing a plugin with post type cars. The plugin have one page to display cars in columns (Just like posts and pages list). I used following code to add columns: add_filter( 'manage_edit-...
0
votes
1answer
17 views

How to add columns to wordpress menu editor

Wondering if someone can point me in the right direction. Currently, I'm trying to figure out how to add columns and headings to sub menus. Naturally I want to create a basic megamenu where I can add ...
1
vote
0answers
36 views

Filter to shorten column content on edit-tags.php

I am trying to get the content of columns in the edit-tags.php page. I have been trying to do it, first I tried to get the columns. add_filter( 'manage_posts_columns', 'get_columns'); function ...
4
votes
0answers
92 views

How can I modify the content of default columns? [duplicate]

I have a code to add content to my custom columns, that looks like this add_action( 'manage_posts_custom_column', 'my_custom_columns', 10, 2 ); function my_custom_columns( $column, $post_id ) { ...
1
vote
1answer
26 views

Add Sortable Column For All Post Types

I am creating a hit counter that counts the number of page views across all post types. I have gotten it to work and the column displays for each post type showing the total number of page views. I ...
0
votes
0answers
47 views

Wordpress admin sort by custom column

Modify default columns function my_page_columns($columns) { $columns = array( 'cb' => '<input type="checkbox" />', 'thumbnail' => 'Thumbnail', 'sort' ...
-3
votes
1answer
33 views

Creating two Columns on a Page. [closed]

The page I am trying to edit is as follows: http://www.blackaero.com/shop-2 I am using the Wordpress Simple PayPal Shopping Cart Plugin and I want the two items I have on the page in two columns to ...
0
votes
1answer
45 views

Advanced Custom Fields: Sorting custom columns with custom fields sorts only by date

I have a custom post type – “members”. With help of Advanced Custom Fields(AFC) I’ve created a Field Group with 5 fields and assigned that group to my “members” post type. I followed this article to ...
-2
votes
2answers
59 views

Make default template two columns?

I'm sure this must be super simple, but Google isn't helping me! I am using an up-to-date WordPress and I have a two-column layout on my blog section (content left, Twitter feed right) that I am very ...
0
votes
1answer
37 views

manage posts custom column is not populating data from meta boxes

My custom post name is "employee". Here is the code for creating and populating admin columns. Columns have been created but it is not populating. Also, what is the meaning of the "10, 2" in action ...
0
votes
0answers
16 views

Manually Adjust Column Widths to Enable Sidebar?

As I've seen, the problem of having a sidebar pushed to the top or bottom of the page is quite common. I have tried many approaches to fixing this issue, but the only thing that worked for me is to ...
0
votes
0answers
55 views

Add each Wordpress menu item into individual Bootstrap column

So basically what I'm trying to do is create a custom menu that has icons the user can add/edit. Each menu item has two pieces to it, the top has an icon and then the base has the name of the button/...
0
votes
0answers
45 views

Trying to create 2 columns of post excerpts - nearly there…

I'm trying to get my blog excerpts to display in 2 columns with a third column for the side bar, I've spent all day following various tuts and although I'm close (I think!) I can't get it right. ...
0
votes
1answer
38 views

How can i use on a custom db table?

I have a custom db table with some data. At the moment i just want to display an overview of the values in the table in wp admin. add_filter('manage_mycustom_posts_columns', array($this, '...
0
votes
1answer
47 views

Full width thumbnail

I have a post part that is called into my single.php and looks like this: <div class="main-content col-md-8" role="main"> <?php while (have_posts()) : the_post(); ?> <?php ...
0
votes
0answers
27 views

Can you have the users list pre sorted by specific column?

I would like to organise users by date registered every time an admin visits the users page, without having to click again from: http://localhost:8888/wp-admin/users.php I can add the date ...
0
votes
2answers
82 views

Add button in admin columns

I would like to add a button next to the column name in e.g. edit.php admin screen. I have added a printsreen showing where I would like the button to go.. I have searched for available hooks but ...
0
votes
1answer
107 views

Different “Text Widgets” in Sidebar on Many Different Pages?

Hi there I have a few questions on adding different sidebar texts to sidebars per page. On one part of my site, I have pages dedicated to individual animals. I have figured out how to change the ...
0
votes
0answers
82 views

Spliting post content into two columns

I'm using this code to split post content into two columns: $content = get_the_content(); $content_car = strlen( $content ); $content_half = $content_car / 2; $chunks = str_split( $content, $...
0
votes
0answers
21 views

WordPress Gallery defult Shortcode responsive columns

I use WordPress Gallery defult Shortcode, in setting gallery 3 columns. in my site gallery loock good. but my site in mobile Gallery 3 columns see no good, small images. My question How do I edit That ...
0
votes
0answers
53 views

show posts in two columns with different template parts

i tried to show the posts of a category in two columns on a page. Normally i do that only with CSS respectively bootstrap columns. But in this case, i need for each column a own template part. In the ...
1
vote
1answer
111 views

Order a custom post type admin screen by a second custom post type title

I have two custom post types: Products and Brands. The Product slug is 'eproduct'. The Brand slug is 'brand-listing'. On the Product admin page, I have added a custom column that lists the Brand ...
1
vote
0answers
69 views

Why does pre_get_posts() return “date” as the orderby parameter for every sortable column?

I am stuck trying to get a custom column to sort according to a custom field. I have two custom post types: Brand and Product. I would like the Product admin screen to have a "Brand" column, and for ...
0
votes
0answers
36 views

How to display custom taxonomy grandest children in three columns, with first child as column heading?

I have a taxonomy structure thats 4 levels deep, with the name 'services_tax': Parent - Child - - Grandchild - - Grandchild - - - GrandGrandchild I am trying to get the terms selected on a custom ...
0
votes
0answers
137 views

How to display custom columns for confusing custom taxonomy?

I'm trying to add to admin custom columns for custom taxonomy for a custom post type, and it's been pretty confusing so far. I've created a post type called Parceiros (partners) and assigned 2 custom ...
0
votes
1answer
118 views

Set div columns in a loop by post count

I'm trying to post images from a custom post type into columns based on the amount of posts that are returned in the loop. This is my code: <?php // args $args = array( 'numberposts' =&...
1
vote
1answer
30 views

Adding Page URL to the Pages Admin Table

I want to add the Page URL as a custom column to the Pages admin table. Here is where I am at with the code. Code is in the theme's functions.php. function lrh_modify_page_table( $column ) { $...
0
votes
2answers
50 views

Make a custom column sortable by a value from a different custom post type

I've created some custom columns to display my custom post types more attractively in the admin section - the columns are mostly custom fields. Mostly, this works absolutely fine, and I can sort by ...
0
votes
0answers
22 views

term_id missing for customizing category column

I wanted to add a custom field (a ) to a custom category, loosely following this good tutorial : http://wpthemetutorial.com/2013/02/21/adding-custom-meta-to-wordpress-taxonomies/. For editing, ...
0
votes
0answers
180 views

Breaking WP_Query loop into rows with variable width columns

I'd like to create a Boostrap grid of posts where sticky posts take 6 columns (.col-md-6) and normal posts take 3 columns (.col-md-3). Posts to be sorted dynamically. So in one row there might be ...
0
votes
1answer
62 views

display wordpress user who published a pending post of another user

I have a custom post type, when I view my posts of this type in the dashboard I see: Title Author Date Added as well as a few more I have added My question is how can I display (like the author ...
4
votes
1answer
1k views

How do I set the default admin sort order for a custom post type to a custom column?

SOLUTION AVAILABLE HERE I've set up a custom post type called clientarea, and set up several custom columns for it in the admin area - the custom columns are all custom meta fields, as you can see ...
0
votes
1answer
340 views

How to change gallery grid from 4 columns to 3 columns? [closed]

I'm using WordPress 4.2.2 running Gridsby Child theme (version:1.0.1436164618, latest update). I run my site locally using Xampp. My question: the Gridsby theme default homepage offers 4-column ...
0
votes
2answers
40 views

Output column number according to active sidebars

$sidebars = array( is_active_sidebar( 'footer-4' ), is_active_sidebar( 'footer-3' ), is_active_sidebar( 'footer-2' ), is_active_sidebar( 'footer-1' ), ...
0
votes
1answer
179 views

Custome column sort by date not title

I've created a custom column. Currently they are automatically sorting by title however i want them to sort by date. I've tried adding a "query_post" like: query_posts('&post_type=project&...
0
votes
3answers
563 views

Manage users custom column add class “num”

I have customized my admin users column to show the purchased leads of a role "lead buyer". The value of the column is a decimal (the number of leads). The "posts" column of the users table has a ...
0
votes
1answer
136 views

Excerpt showing under title in admin columns

I am developing a site for a client, but i am facing a weird issue that is excerpt by default shows under title in admin columns. This is happening for all post types including custom post types. I ...
0
votes
1answer
695 views

how to display “Edit | Quick Edit | Trash | View” in custom WP_List_Table column?

I have removed "Post Title" in admin column, and created a custom column. Is there any way to the display "Edit | Quick Edit | Trash | View" link?
1
vote
1answer
234 views

custom user table columns

I'm doing this, which according to all of the documentation I've read, should override every column value in my manage users table. For some reason it's not working in WP 4.1. Any insight appreciated. ...
0
votes
1answer
117 views

Two blogs one page

The idea is basically to create a blog, and have status updates/quotes beside the blog in a separate column. How does one go about making that happen? EDIT: The goal is not to create two separate ...
1
vote
1answer
92 views

Add last Revision of Post column on Admin Panel

How to add this column ( last revision of Post ) on All Posts Manager. I can't find discussion about this problem. Please help me or suggest me an idea. Thanks for all !
1
vote
1answer
322 views

Adding HTML tags or css classes to admin columns

Is it possible to add a custom class to the links in admin columns? I'm trying to replicate the labels below. I'm using WP 4.1 and my CPT is using 'show_admin_column' => true in ...
0
votes
1answer
724 views

initial sort order for a sortable custom column in admin

I have created a number of 'views' column in the admin area of my posts. There are several tutorials for this and I did in fact use a number of these to arrive at my end result. It works as expected ...
0
votes
1answer
225 views

How to pull posts into two columns with different image sizes using $counter variable?

I have a custom module pulling one specific category with 6 posts displaying the featured image into 2 columns. I like the first article of the top of each column to display a large image as shown in ...
-1
votes
1answer
286 views

Can't sort custom column on user.php by number / meta_value_num?

Everything else works fine but it's still not sorting by number. Would just like to know what I'm doing wrong here Here's the code function add_user_columns( $defaults ) { $defaults['...
0
votes
1answer
62 views

Centering items in a row, when you don't know how many items [closed]

I have the following custom query which outputs a set of items inside a container. <div class="container-hotel"> <?php // The Loop if ( $venue_query->have_posts() ) { while ( $...
2
votes
1answer
377 views

Adding menu_order to CPT admin page

I have a custom post type (cpt_roundtable), and am trying to add a column to the admin page showing the menu_order for each entry. This is in my functions.php file. function set_roundtable_columns($...
0
votes
1answer
122 views

Display Custom Column in CPT Taxonomy

I am trying to add a column to one of my custom post types, but only on the edit taxonomy page. I have a taxonomy registered called "event-categories" for my custom post type "events". I can ...
0
votes
2answers
1k views

How to get my loop to pull posts into three columns

I have my page template pulling one specific category & pulling the featured image & title into 3 different columns on my site. The problem is they all pull the CSS class .proj-left how can I ...