Determining WordPress’ Version from the Host’s Command Line?

Given that I can’t access the dashboard/admin pages on my blog (that’s a future question), and that I have shell access to my hosting server, can I find out the current version of WordPress from the command line? I tried grepping for the string ‘@since’ in all the php files in the top level directory … Read more

How do I remove dashboard access from specific user roles?

I’d like to prevent certain user roles from accessing the dashboard http://www.openeye.net/wp-admin/ at all. I’ve moved and restyled user profiles to a new page that’s viewable on the site. How would I go about doing this? 4 To lock subscribers and contributors out of the admin: function wpse23007_redirect(){ if( is_admin() && !defined(‘DOING_AJAX’) && ( current_user_can(‘subscriber’) … Read more

How to remove these fields from the ‘Profile’ section?

I have to remove some profile fields from the ‘Profile’ page according to the user roles. For removing the color picker I used remove_action(“admin_color_scheme_picker”, “admin_color_scheme_picker”). I want to remove these fields: Nickname Display name publicly as AIM, Yahoo, Google talk and About yourself fields The ‘Show Admin Bar’ section along with the 2 checkboxes I … Read more

Possible to hide Custom Post Type UI/Menu from specific User Roles?

What I’m looking to do is completely hide the UI for a custom post type from specific user roles…Ive previously found many resources on how to disable access to using those CPTs but nothing that really allows you to completely hide the CPT UI all together based on what user is logged into the dashboard. … Read more

How to filter post listing (in WP dashboard posts listing) using a custom field (search functionality)?

Despite the fact I googled a lot, I’ve not found the answer to a very simple question : I have some posts with a custom field (i.e. supplier_name). I would like to be able to search and filter my posts according to this custom field. In other words, in the admin posts listing, I would … Read more

How can I fix fatal RevSlider error in dashboard after upgrading to PHP 7? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for WordPress Development Stack Exchange. Closed 3 years ago. Improve this question I can access the public side of the site. But the dashboard comes up blank. The log shows an error pointing … Read more