We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [screen-columns]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
694 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". ...
5
votes
1answer
92 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 ...
1
vote
2answers
1k 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?
1
vote
1answer
867 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 ...
6
votes
2answers
4k 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 ...
2
votes
1answer
3k 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 ...
0
votes
1answer
90 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 ...
0
votes
1answer
2k 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 ...
1
vote
1answer
56 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 ) { $...
3
votes
1answer
276 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 ...
2
votes
1answer
2k 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?
0
votes
1answer
50 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 ...
0
votes
2answers
270 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 ...
4
votes
1answer
9k 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 ...
6
votes
2answers
14k 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:
2
votes
4answers
1k views

How to remove Gravatar from Username column

How to remove the Gravatar image from Username column in the All User admin page?
13
votes
1answer
12k 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'] = 'Foo';...
1
vote
1answer
254 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 ...
1
vote
0answers
292 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 ...
1
vote
0answers
217 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 ...
3
votes
1answer
5k 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 ...
10
votes
2answers
9k 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 ...