Are you tired with scroll mouse up during editing long post/ custom post type? Just to click Update – Publish Button…
Tired no more with this super cool snippet.
add_action('admin_head', 'dashboard_css'); function dashboard_css() { echo '<style> input#publish.button.button-primary.button-large { position: fixed; bottom: 100px; right:20px; z-index: 999; } </style>'; }
From now on, you will get a sticky Publish – Update button right on your Right – Down corner to be clicked for publishing/ updating content.
Adjust bottom and right parameters to fit your need. I’ve saved tons of time with this little snippet.