Are you tired with scroll mouse up during editing long post/ custom post type? Just to click UpdatePublish 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 PublishUpdate button right on your RightDown 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.

0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x