Enhancing Appearance > Widgets (3 posts)

  1. sokratesagogo
    Posted 2 years ago #

    I have a site with five landing pages/page layouts, for each of the five main sections of my site. Each landing page contains four custom widget areas unique to the landing page.

    My problem is that the site Dashboard > Appearance > Widgets screen is now quite clunky with 20+ widget areas listed on the right of the screen.

    Does anyone know of a way to enhance the Widgets screen to enable layout tabs, something along the lines of the image below


    In a nutshell, I would like to associate widget areas with a given (layout) set, and then list the layouts in tabs on the Widgets screen.

    [ Duplicate thread deleted and this thread has been moved to Hacks. Please do not create duplicates, the old sub-forum was fine too. ]

  2. bcworkz
    Posted 2 years ago #

    The way I see it, you would extend the existing widget.php page significantly. This extended page would become part of your theme or plugin. You would also remove the default page from the admin menu and add in your extended version.

    It's all mostly standard tab click events and CSS stuff for this extended page, the only real issue is altering the loop that outputs registered sidebars so that the sidebars get sorted into the proper divs so you can control their visibility easily with just CSS.

  3. sokratesagogo
    Posted 2 years ago #

    Thanks for the pointers bcworkz :)

Topic Closed

This topic has been closed to new replies.

About this Topic