Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter rgentle

    (@rgentle)

    A workaround I have done is to make a new link in the dashboard using this added code in the functions.php page (where ‘Name of new link’ is where you name what you want your link to be called and ‘domain-name.com’ is your own domain name). Your new named link will appear at the top of the dashboard menu:

    add_action( 'admin_menu', 'linked_url' );
        function linked_url() {
        add_menu_page( 'linked_url', 'Name of new link', 'read', 'my_slug', '', 'dashicons-text', 1 );
        }
    
        add_action( 'admin_menu' , 'linkedurl_function' );
        function linkedurl_function() {
        global $menu;
        $menu[1][2] = "https://domain-name.com/wp-admin/edit.php?post_type=el_events&date=all/";
        }

    Hello rgentle,

    thank you so much, your work around saved my night!

    Thread Starter rgentle

    (@rgentle)

    You’re very welcome. Glad to have been of help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Blank Events Page’ is closed to new replies.