Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Sort Overlay Panels by date / modified date

  • Howdy, I’m curious if it’s possible to have sorting options for the overlay panels. When we build out a full set of them it gets tough to navigate, thanks for any insight and if it’s not possible via the UI or code, perhaps a featured request to consider in the future.

    Thanks!

  • Hi there,

    It’s not possible for the current UI.

    But you can try this code to switch the UI to the classic view, you should be able to sort the overlays by published date.

    //activate classic list view for overlay
    
    add_action('admin_init', function () {
        remove_action('admin_init', [
            GenerateBlocks_Pro_Overlay_Post_Type::get_instance(),
            'redirect_admin_view'
        ]);
    
        global $pagenow;
    
        if ( 'admin.php' === $pagenow && isset($_GET['page']) && 'generateblocks-overlay-panels' === $_GET['page']) {
            wp_safe_redirect(admin_url('edit.php?post_type=gblocks_overlay'));
            exit;
        }
    }, 1);
  • Appreciate the code, will give it a try. Thanks! And please consider the UI for sorting options in a future update 🙏

  • You are welcome   🙂

    I’ll mark the topic as feature reqest.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.