• Hi,

    I’ve built a site with a number of contributors who can add posts and to two different event calendars using custom post types.

    When they are in the posts page such as: http://www.mydomain.com/wp-admin/edit.php I’d like the buttons for Edit, Quick Edit, Delete, Preview to show at all times, not just when hovered over.

    Also, I’m also using TAO Schedule Update plugin which displays a Scheduled Update button in this area too.

    Any help would be greatly appreciated.

Viewing 1 replies (of 1 total)
  • Topher

    (@topher1kenobe)

    That stuff is hidden because of this CSS:

    .row-actions {
        color: #ddd;
        font-size: 13px;
        left: -9999em;
        position: relative;
    }

    Then when you hover over that table row, this kicks in:

    .mobile .row-actions, .no-js .row-actions, .row-actions.visible, div.comment-item:hover .row-actions, tr:hover .row-actions {
        position: static;
    }

    Note the important part of that is the tr:hover, which is the hover on the table row.

    So what you want to change is to make this:

    .row-actions {
        position: static;
    }

    This should be enqueued in a plugin to be run in admin. If you’re not familiar with how to do that here’s something that may help:

    https://ww.wp.xz.cn/plugins/pluginception/

    install that and then under your Plugins menu you’ll see a place to make a new plugin. It’ll ask some questions and then create for you an empty plugin that does nothing.

    Drop your css into a file called something like custom_admin.css and put it into your new theme folder with FTP.

    Then in your new plugin file put in code like this:

    function load_custom_wp_admin_style() {
            wp_register_style( 'custom_wp_admin_css',  plugins_url() . '/custom_admin.css', false, '1.0.0' );
            wp_enqueue_style( 'custom_wp_admin_css' );
    }
    add_action( 'admin_enqueue_scripts', 'load_custom_wp_admin_style' );

    And that should take care of it.

Viewing 1 replies (of 1 total)

The topic ‘Make Edit, Quick Edit, Delete, etc. show permenantly’ is closed to new replies.