Skip to main content

Questions tagged [screen-columns]

Filter by
Sorted by
Tagged with
0 votes
1 answer
59 views

Hide custom column in admin template screen (Elementor) [closed]

My plugin adds a custom column to admin posts and pages screens but it's also adding it to the Templates (Elementor) screen. I know users can hide this themselves, but I'd rather do it in my plugin. ...
KSechrist's user avatar
0 votes
1 answer
435 views

custom filtering admin columns

i'm trying to add custom filters to a CPT job-offer, for example, i'm starting by locations. the filters works fine except when i try to filter by all locations. this is my code function ...
Soufiane Nda's user avatar
0 votes
1 answer
606 views

Wordpress not displaying columns to hide/show on screen options

I have installed Wordpress 5.8.3 which is at the moment the latest version available. I'm trying to hide certain columns within the posts dashboard, but for some reason I doesn't have the option to do ...
sfarzoso's user avatar
1 vote
1 answer
512 views

Sort CPT archive by order prevents sorting in admin

I've activated the Order feature for my 'portfolio' CPT and have managed to arrange my 'portfolio' posts according to respective Order values I've provided. Unfortunately, I've found that this code ...
Andy's user avatar
  • 11
1 vote
2 answers
2k views

Sorting taxonomy columns by meta value numeric

Slowly going crazy over trying to make taxonomy admin columns sortable by a custom field number. I have a custom taxonomy called "typer" and these taxonomies have a custom field called "prioritet". ...
Emil Østervig's user avatar
6 votes
1 answer
343 views

Modify column_author in WP_Comments_List_Table

Is it possible to modify the values in the author column in the edit-comments.php section of the backend? A hook? I want to change the mailto field for the commenter's email to include a subject and ...
lost.in.userspace's user avatar
5 votes
2 answers
3k views

How to set default visible columns in posts list, for all users

Is there a way to set default visible columns in posts list, for all users?
Riccardo's user avatar
  • 971
1 vote
1 answer
2k views

Sorting custom admin column by value

I got a custom post type and link custom posts (issues of a magazine) to the main posts (articles) with relationship ACF. I registered a custom admin column to show issues linked to articles in the ...
Alexander Dolgopolskiy's user avatar
9 votes
2 answers
10k views

How to make a custom column on the Users admin screen sortable?

I am in the process of adding an additional column to the Users admin screen to display the company for each user. I have been successful in getting this column to show in the table, but I am really ...
Jordan Rogers's user avatar
3 votes
1 answer
5k views

Add custom column at custom posts list

I want to have a column (e.g Send Email) in my custom posts (books) list. In each row there should be a button (Send) and when I click on it I want to send an email. I have seen is a hook ...
Bhuvnesh Gupta's user avatar
0 votes
1 answer
219 views

Problem with admin columns

The title is showing but the content is empty.. I tried following few tutorials time after time but i guess i miss something.. How can i get it to echo 'test' on each col please? // ADD NEW COLUMN ...
Nate's user avatar
  • 186
0 votes
1 answer
4k views

Getting error Parse error: syntax error, unexpected 'add_filter' (T_STRING), expecting function (T_FUNCTION)

I am getting error Parse error: syntax error, unexpected 'add_filter' (T_STRING), expecting function (T_FUNCTION) when i write the below code in my plugin class file. but this is the only easiest ...
Kerry's user avatar
  • 3
1 vote
1 answer
83 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 ) { $...
Adam Frick's user avatar
3 votes
1 answer
712 views

Add column for attachment file size

EDIT. I got this working, see my own answer below: Now, if someone has any clue as to how I can get this sortable, please chime in! :) ---------------- Original question ---------------- How can I ...
Johan Dahl's user avatar
  • 1,343
2 votes
1 answer
3k 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?
MohamadHossein's user avatar
0 votes
1 answer
59 views

Installed Forca Theme, wonder how I can alter Post editing screen

I've just installed Forca Theme on my fresh WP installation. They add a few custom taxonomies like: 1 Events Categories - Just categories for Events 2 Events - Same as regular Post, with custom ...
deb0rian's user avatar
  • 105
0 votes
2 answers
626 views

Add a column before username in the users profile table

I want to reorder the Company column to be the first column in the table, the code is working fine but it's position is the last one. How can I get it to be in the first before the username? function ...
Ahmad Ajmi's user avatar
8 votes
2 answers
14k views

Custom Table Column Sortable by Taxonomy Query

I am looking to add a custom column to a custom post type post listing table in the dashboard. I have read many questions / answers on WPSE, along with this article. Although, it seems like everyone ...
Michael Ecklund's user avatar
9 votes
2 answers
25k views

Change the order of columns for a custom post type on the admin list page

I have created a custom post type (screen shot below), and would like to change the order of columns. Is it possible to move the "tags" column before the "date" column? Screen shot:
farjam's user avatar
  • 193
2 votes
4 answers
2k views

How to remove Gravatar from Username column

How to remove the Gravatar image from Username column in the All User admin page?
Giraldi's user avatar
  • 1,485
16 votes
1 answer
22k views

Custom columns for taxonomy list table

I have the following code to add a new column to my taxonomy edit screen (edit-tags.php?taxonomy=book_place&post_type=books) function add_book_place_columns( $columns ) { $columns['foo'] = '...
passatgt's user avatar
  • 3,401
1 vote
1 answer
475 views

Add column to plugins table screen

I'm trying to add a column to plugin table screen using "manage_plugins_custom_column", but without success. This extra column will show a custom value that was placed inside the plugin file. I hope ...
Daniel's user avatar
  • 55
1 vote
0 answers
333 views

Add column(s) to post edit page

In the dashboard area you have the option of 1-4 columns. However when you are adding or editing a new post/page you only have the option of 1-2 columns. I would like to have be able to choose 1-3 or ...
Tiffany Israel's user avatar
1 vote
0 answers
238 views

Manage Columns : order by post_parent's title

I have 2 custom post types : "industry" (page + hierarchical) and "product" (post + hierarchical). This allows me to use Industry for Product's post_parent. On the Product manage screen, I have a ...
Chauncey McAskill's user avatar
4 votes
1 answer
8k views

How to Remove Certain Screen Options and Table Columns from post type in wp_list_table?

On the page where we list all posts made: example.domain.com/wp-admin/edit.php There is a Screen Options tab in the upper right corner. Upon clicking this, a menu slides down. Contained within this ...
Michael Ecklund's user avatar
10 votes
3 answers
12k views

How to Remove Certain Screen Options and Meta Boxes from add/edit post type?

Now, when you add or edit a particular post within your desired post type, there are more screen options as well. Although, these Screen Options are showing/hiding meta boxes. I would like to be able ...
Michael Ecklund's user avatar