Questions tagged [screen-columns]
The screen-columns tag has no usage guidance.
26 questions
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.
...
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 ...
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 ...
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 ...
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".
...
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 ...
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?
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 ...
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 ...
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 ...
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
...
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 ...
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 ) {
$...
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 ...
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?
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 ...
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 ...
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 ...
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:
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?
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'] = '...
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 ...
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 ...
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 ...
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 ...
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 ...