Often when I’m developing some WordPress code, I need to be able to debug by being able to see hidden custom fields (any custom field with an ID that’s prefixed with an underscore won’t show up on the edit screen). In order to do so, I use this little bit of code:
add_action( 'admin_head', 'showhiddencustomfields' ); function showhiddencustomfields() { echo "<style type='text/css'>#postcustom .hidden { display: table-row; }</style>\n"; }
You can drop it into a new plugin or if you’re lazy, your theme’s functions.php
file.
Thx for the code. It was usefull for me.
Except… I realize it had a more effective way. At the add new post window at the top right of the screen there is a screen options and there you activate the custom fields.
Pingback: How to Show Hidden Custom Fields in WordPress
Pingback: How to Show Hidden Custom Fields in WordPress | WPhub.biz
Pingback: How to Show Hidden Custom Fields in WordPress | Customize WordPress Blog
Pingback: How to Show Hidden Custom Fields in WordPress - Wordpress Tutorials
doesn’t work in wp 3.3.1
Best Regards.
doesn’t work in wp 3.4.2 too
Pingback: Show Hidden Custom Fields | Best Plugins - wordpress – widgets – plugin 2012
Pingback: Mostrando os custom fields ocultos do WordPress | Flutuante
The old one is dead, this is the new trick: http://wordpress.stackexchange.com/a/116552/12615
😉
Pingback: ??? ?????????? ??????? ???????????????? ???? ? WordPress | WPinCode — WordPress ??? ????????
Pingback: How to Show Hidden Custom Fields in WordPress - wikiHow 365
Pingback: Programing Solution - How to Show Hidden Custom Fields in WordPress
Thx for the code. It was usefull for me.
http://konkurtak.com