-
AuthorPosts
-
January 31, 2018 at 3:18 pm #905614
When showing the All Posts page in the WP admin console, the screen looks like this.
I have circled an Image. This is the Featured Image of the Post.
In Screen Options there is a tick box under Columns called Image. This is default ticked ‘on’ and the Image column is shown. The functionality of all the other Columns is that if its box is not ticked ‘on’, that column is not shown on All Posts.
I do not want the Image column to be shown on All Posts. If I deselect the tick box, and Apply, the Screen Options window gets closed. If I then open Options again, the Image tick box has been ‘re-ticked’. The Image column is still displayed.
The image being shown in the Image column is the Enfold generated ‘widget’ size image, 36 x 36 px. In other words, Enfold is controlling what is in the Image column and whether that column is displayed or not (i.e. it is not a WordPress core function, Enfold is doing it).
Yet Enfold is not abiding by what I set the Image Column to, and is over-riding the tick box to always show the Image column.
How do I get Screen Options to work as it should, and turn off the Image column?
February 2, 2018 at 4:29 am #906596Hey zimbo,
Please send us a temporary admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardFebruary 2, 2018 at 12:53 pm #906829Login details in private. I’ve set this up on the dev/test site rather than our ‘live’ site. Problem is the same on that.
February 3, 2018 at 7:54 am #907178Hi,
Thanks for that, I get the same problem on my end. Please try this in your functions.php file to remove that column:
add_action('admin_head', 'remove_thumb_column'); function remove_thumb_column() { echo '<style> #the-list .column-thumb { display:none; } </style>'; }
Best regards,
RikardFebruary 3, 2018 at 2:22 pm #907217Thanks, that removes the image but has the effect of allowing all the columns to shift left so that they no longer appear under the correct column title.
See here: https://imgur.com/a/4DKER
Is it possible to either remove the Image column completely, so everything shifts left together (preferred option), or to insert some padding when the thumbnail is not shown so all other columns remain aligned?
February 4, 2018 at 6:46 am #907372Hi,
Thanks for the feedback. Please try this instead:
add_action('admin_head', 'remove_thumb_column'); function remove_thumb_column() { echo '<style> .wp-list-table .column-thumb, #the-list td.thumb { display:none; } </style>'; }
We have a ticket for this to be fixed, it will hopefully be included in the next version of the theme.
Best regards,
RikardFebruary 4, 2018 at 1:38 pm #907512That did it, thanks. Look forward to a ‘proper’ fix!
February 4, 2018 at 10:46 pm #907612Hi,
We appreciate your patience, yes we are working on different fixed that could make everythign better!
Thank you
Best regards,
Basilis -
AuthorPosts
- You must be logged in to reply to this topic.