WordPress.org

Ready to get started?Download WordPress

Forums

Enhancing Appearance > Widgets (3 posts)

  1. sokratesagogo
    Member
    Posted 1 year 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

    http://i46.tinypic.com/hsrj2s.jpg

    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
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

    Thanks for the pointers bcworkz :)

Topic Closed

This topic has been closed to new replies.

About this Topic