The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
14 views

How to have different sized dashboard widgets simultaneously

I would like to have different size / width widgets in dashboard, not restricted to one column or two column but one full width and another half etc.. 1,2,3,4 simultaneously. Any ideas how we can go ...
0
votes
1answer
762 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
13 views

Custom columns doesn't appear in custom post type

Hi i have a 'tour' custom post types and when i add a custom column at this post type there is not any custom column at tour post type my code is here function tour_price_col( $column, $post_id){ ...
3
votes
2answers
84 views

Remove “Comment” column in all post-types

I just want to remove Comment's column in all post-types and in a single function My current function , Have to do each post-type like this : function remove_post_columns($columns) { unset($...
0
votes
0answers
24 views

Add column to custom post type based on assigned taxonomy

I'm trying to add a new column to the Custom Post Type I've created. I've also created a custom taxonomy for this CPT, so what I'm wanting to do is display which taxonomy term each post has assigned (...
-1
votes
0answers
18 views

Visual composer 5 columns layout [closed]

I am trying to use a 5 column layout using visual composer. I have clicked the custom tab and entered 1/12 + 2/12 + 2/12 + 2/12 + 2/12 + 2/12 + 1/12 and left the first and last column empty. But the ...
0
votes
1answer
32 views

How to enable more than 2 columns dashboard?

I've read on the official forums the number of columns of the dashboard depends on the width of the screen. My screen is 1920px wide and it could definetly hold more than 2 columns, yet it doesn't ...
2
votes
1answer
1k views

Split content into multiple columns using more tag?

First of, this is pretty much an exact duplicate of: Split columns into three+ divs? But the given solution does not work (returns blank). I'm guessing it collides with qTranslate which adds some ...
0
votes
1answer
38 views

Making my custom column sortable

I am using custom post type with a relationship field with ACF and trying to get a column of number of times the "location" has been used in posts (this is my custom post type - location). I have ...
0
votes
1answer
437 views

looping widgets to organize bootstrap grids

Using twitter bootsrap I want to grid my widgets if in the same position more widgets are present what I mean: having a registered widget register_sidebar(array( 'name' => __('Footer Top', '...
4
votes
3answers
4k views

Custom columns on edit-tags.php main page

I am trying to add custom columns to edit-tags.php for a custom taxonomy that I have created. This custom taxonomy is called equipment-types and it only applies to one custom post type called ...
0
votes
2answers
2k views

Pods CMS: How to add custom column to Adnvanced Content Type

I'm using Pods plugin (ver 2.2) to create some 'Pods' or Advanced Content Types, as they would refer to it, which are like custom post types but are actually separate from WP, blank slate, in their ...
0
votes
2answers
1k views

Make custom post type column sortable

My site has two custom types: Auction and Lot. Lots are connected to an Auction via the post_parent field. I added an Auction column to the Lots list in the admin area. function ...
0
votes
2answers
737 views

Wordpress Theory Lesson - Image Columns within posts with alignment?

Trying to get my head round a request from a client, and thought I'd try to hivemind the solution a little bit. The client requires a two column post layout, with images down the right and text on ...
1
vote
1answer
29 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
3answers
996 views

Display posts in three columns by category

I've seen posts which probably answer this, but unfortunately the answers are all a bit technical without telling you where the code should go? At the moment I have my posts directed to a blog page. I ...
0
votes
0answers
55 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
22 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
37 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 ...
1
vote
1answer
29 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 ...
4
votes
0answers
93 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 ) { ...
2
votes
4answers
707 views

How to remove Gravatar from Username column

How to remove the Gravatar image from Username column in the All User admin page?
0
votes
0answers
48 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
34 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
61 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
72 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
48 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
60 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/...
1
vote
2answers
540 views

First post full width, rest in two columns

Here is my loop <?php if ( have_posts() ) : ?> <?php /* Start the Loop */ ?> <?php $i = 0; while ( have_posts() ) : the_post(); ?> <?php if ($i++ == 0) : ?> ...
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
3answers
597 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
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
85 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
120 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
87 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
58 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
333 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 ...
1
vote
1answer
116 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
70 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
1answer
290 views

Add ASC / DESC to custom post columns

Im using the following code to create custom columns in the backend of the posts menu. add_filter('manage_edit-post_columns', 'post_edit_columns'); function post_edit_columns( $columns ) { ...
0
votes
2answers
292 views

Custom taxonomy - custom sortable column

I've created custom taxonomy called 'cities' where you can add cities and added custom field ( radio button ) with 2 options: 'Yes' and 'No' ( never mind what that is ). Everythins is ok, I can get ...
0
votes
0answers
37 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 ...
1
vote
4answers
775 views

Pages with 2 Columns

I've had a look at many of the available plugins but they all seem to be too difficult to use or do not provide enough flexibility. Plugins I've already tried: WP Post Columns Magazine Columns WP ...
0
votes
0answers
140 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
132 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' =&...
7
votes
4answers
8k views

Style custom columns in admin panels (especially to adjust column cell widths)

I am using Wordpress as a CMS for a project which makes extensive use of custom post types. I need to display columns in admin panels for each custom post type in a different way. I've already ...