Skip to main content

Questions tagged [screen-columns]

0 votes
1 answer
78 views

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
463 views

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
778 views

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
565 views

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
3 answers
2k views

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
375 views

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
4k views

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

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

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

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
256 views

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

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
97 views

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
732 views

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

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

15 30 50 per page