This jQuery code seems to work, when added via the admin_footer
hook.
#submitdiv
= the whole Publish metabox.misc-pub-section
= each UI section (except the Publish and Save sections)-
.hide-if-js
= the fields that are hidden by default$('#submitdiv .misc-pub-section') .has("#post-status-display, #timestamp") .find('.hide-if-js') .toggle();
That will unhide the Status dropdown and the Date picker.
Related Posts:
- Remove “minor-publishing” div from Publish admin metabox
- Get content of publish box
- how to know if admin is in edit page or post [duplicate]
- Admin: very slow edit page caused by core meta query
- Setting admin edit panels & metaboxes positions and visibility for ALL users and admins
- Editor Styles and Typekit
- WordPress admin screen very slow / timing out when editing or adding a new page/custom post
- How to let authors revise other authors drafts, but keep them from publishing?
- Editing Screen: Make Update or Publish Button Follow The Page
- How to retain HTML5 Attributes on Markup
- Remove default WordPress styling from metaboxes on edit post pages?
- Create a Meta Box in the Admin User Screen?
- Disable HTML (Text) Tab in Post Editor
- How to remove “publish metabox” from each post type
- How to restrict the editors from viewing/editing pages created by admin?
- How to set default editor tab
- How do you set up a WordPress blog with multiple authors to allow something like StackExchange’s “community wiki” feature?
- Editors change a permalink on an unpublished post, but only admins change a permalink on a post that has ever been published?
- Change default italic from to in admin editor
- Set Edit Post meta boxes inactive
- How to verify nonces in bulk?
- Post editor is 89953px tall. How to fix?
- Gutenberg UI has changed
- Can I retrieve Published changes when changes have been Saved but not Published in WordPress Semplice?
- add instructions to upload pages and / or forms
- How to retain HTML5 Attributes on Markup
- Publish button inside custom field group
- Disabling “View” mentions from backend?
- Adding additional text fields and image upload to a Page?
- TinyMCE buttons broken
- WordPress 4.5 Inline Link Toolbar not working on custom wp_editor instance
- What Role to assign remote site developer?
- CSS Styles specific to Admin Sidebar not loading
- What are the standard admin CSS id/class tags?
- How to remove entire admin menu?
- The website cannot display the page
- Set Default Admin Colour For All Users
- How can I target WordPress 3.8 new interface MP6 with CSS?
- Settings API – easiest way of validating checkboxes?
- Listen to Post action
- initial sort order for a sortable custom column in admin
- Uploading files in admin panel?
- Redirect Admin User in Dashboard
- Conditional check for front-end which includes ajax
- Hide update messages from non-admin users?
- Modifying the main editor priority
- Reorder plugin items in the admin menu
- Reference external file as a function
- How to disable Page Attributes dropdown in wp-admin
- “Automatically add new top-level pages” Default
- Custom Metabox with Ajax in Edit Post – Stuck
- Get email address of type Administrator
- Which hook for processing plugin page form data?
- What Can I Use To Add A Custom Button Between Publish button and Move To Trash?
- Calling a shortcode in the backend
- Is there a way to have admins that are logged in to wordpress not have to enter the password for password protected pages while browsing the website?
- How to receive security update notification email?
- Include admins in author drop-down on edit post screen
- How to restrict wp-admin and prevent upload errors
- Admin auto-refresh is interfering with Firebug — how to prevent it?
- How to determine if an admin is logged in outside the loop
- Adding text in more than one language (at the same time)
- How to get view count of every page on site and add that (increasing) number to Dashboard Widget
- Restrict function call to page load but not ajax call
- How do I remove All and Published if not admin?
- POMO_Reader->substr() call endless loop?
- jQuery UI AutoComplete & wp_enqueue_script
- Plugin admin panel JavaScript Broken
- Force Contributors to add Tags via edit-tags.php
- Edit Auto Update Admin Notification
- Unable to Access WP Admin or Login buttons after Migration
- How to enqueue admin content outside admincp
- admin_enqueue_scripts the same css file as wp_enqueue_style
- Is there alternative to WP_List_Table?
- How to change all “Post” texts in dahboard into “Article”?
- Filter WooCommerce Orders
- How to disable Media Library uploads for non-Admin users?
- Page can’t hand request – HTTP ERROR 500 – when updating something
- How to change the User name and Password of admin account
- Redirect public site to another one but allow administrators to access the old site
- Posts in sidebar only by admin
- Display an image of selected template in admin to aid user when using complex templates
- How to remove the default checked attribute from inputs in admin?
- Passing state from child component to parent component in a Gutenberg Sidebar
- Admin user column sort by numeric meta key
- Shop in Subdomain feeding main domain order in admin area
- I can’t access login page
- Admin Access for specific page(s)
- Get Link of Page Selected through a Select Field in Custom Admin Page
- how to disable the e-mail verification on wp-admin/options-general.php multisite admin e-mail
- conditionally update css on edit.php
- Simple CSS admin pagination
- Can I show the tag admin interface on a post when logged in as an admin?
- Editing post in admin panel
- Making a custom upload form and page in the admin section
- WordPress gallery image link gives 404 when not logged in
- New User Notification – Setting Email
- Can’t access my wp admin: captcha images invisible, gives me error message
- You do not have permission to access this document on form submit
- Woo Commerce Settings for Check-out Form [closed]