Forums

Managing a LOT of different widgets per page? (6 posts)

  1. sommernyte
    Member
    Posted 1 year ago #

    I am using Widget logic to allow me to have different widgets on different pages of my site. However, I have a lot of pages and therefore a LOT of widgets. It's getting to be difficult to edit because I have so many widgets on my widget screen, ad I have to check each one's logic to figure out what page they are for.

    Is there any way to enhance this plugin to only show a particular page's widgets when editing, or perhaps there is another widget that will allow for an editing view where they are in some sort of hierarchy or folder view so you don't have to have ALL of your widgets on the screen at once?

  2. alanft
    Member
    Posted 1 year ago #

    only show a particular page's widgets when editing

    it's a good idea, but it would be hard to build into the plugin because WL code is so generic - you'd have to come up with a a way of indicating all the different conditions.

    another tack... could there be another way of simplifying your admin of all these widgets? sounds like you have lots of static pages, and individual widgets per page? if so, or something like that, there could be a better way of organizing them. give us an outline of the situation you have and I'll have a think

  3. sommernyte
    Member
    Posted 1 year ago #

    It's a destination web site, so there are different widgets in the sidebar depending on the area of the site you are on (i.e. "Places to Eat, Place to Stay, Things to Do, etc.).

    To further complicate, the "Things to Do" section has many, many sub-pages... Golf, Bicycling, Casinos, Parks, Horseback Riding, Hiking, Boating, etc, etc, etc.

    Each sub-page has a similar set-up of widgets, but they need to be unique to the page. For instance, they each have a photo or video at the top, followed by a text ad (Ad Rotate plugin), followed by a Google map, followed by an image ad (Ad Rotate plugin). But of course the ads, images and maps shown on the golf page need to differ from the boating page.

    So right now, imagine a HUGE list of widgets, averaging three per page for over 20 pages and going back to find and edit a specific one is a nightmare. :/

    Does that help?

  4. sommernyte
    Member
    Posted 1 year ago #

    Hmmm, I think I might be smartening up...

    I could use custom fields to specify the image or video URL, the ad rotate groups and the map url and then use those variables in the template, perhaps...

  5. sommernyte
    Member
    Posted 1 year ago #

  6. alanft
    Member
    Posted 1 year ago #

    Yeah, the way I would approach that would be to use something like the http://more-plugins.se/plugins/more-fields/ plugin (I assume it works as well with pages as posts) that lets you spec some metadata per post(/page) that you can then call - at the least with a basic PHP widget.

Topic Closed

This topic has been closed to new replies.

About this Topic