Tag Info

Hot answers tagged

2

If I am correct the style.css (your theme style.css) is not loaded in the admin area so creating a function solves this. Side note: The code you where looking for I found in wp-admin/css/edit.css at line 960 Below you find the function,hopefully this is what you where looking for. Make backup from functions.php (you know the drill) Add following ...


1

Use tis plugin https://wordpress.org/plugins/acategory-dropdown-list/ It may be help you


1

If you wanna show or hide entire meta box when event date is change, you can try to use Conditional Logic plugin, so you can rewrite your code like so: $meta_boxes[] = array( 'id' => 'wr_event_review', 'title' => 'Event Review', 'pages' => array( 'wr_event', ), // Post type 'context' => 'normal', ...


1

Using the "admin_post_thumbnail_html" thumbnail filter would be the best way to add text to the Featured Image metabox and avoids using JavaScript / jQuery: View the "admin_post_thumbnail_html" developer reference on wordpress.org You'd use it by adding something like this to functions.php: add_filter('admin_post_thumbnail_html', ...


1

In your wpt_save_performer_meta() function you are iterating through $performer_meta array and saving its values. But it has only one manually set key (_short_description) ... and its value is result of isset($_POST['_short_description']), which is probablay always true, and saved (or displayed) as 1. So it should be like this: ...



Only top voted, non community-wiki answers of a minimum length are eligible