Forums

2 sidebars each with different page. (5 posts)

  1. Anonymous
    Unregistered
    Posted 1 year ago #

    Hey.

    I'm kinda working on one of my Template.
    with multiply horizontal sidebars

    I'm currently working with several pages like "home", "contact",
    "links" etc etc.

    Sidebar 1 should contain the pages of "Home", "Guestbook" and "Contact"
    Sidebar 2 should contain "Menu", "Gallery" etc etc
    and Sidebar 3 should have "Home", "Menu", "Gallery", etc etc
    should be have mixed items of sidebar 1 and 2.

    so any solutions widgets or plugin that
    can allow me to have multiple instances of pages?
    I've tried Flexi page
    but all it does, it use the same instances of the same Page

  2. quakemedia
    Member
    Posted 1 year ago #

    you can use the wp_list_pages function more than once, and just include the pages you want based on the sidebars.

    http://codex.wordpress.org/Template_Tags/wp_list_pages

  3. Anonymous
    Unregistered
    Posted 1 year ago #

    So I can use wp_list_page in sidebars.php,
    I'll try that

    but how do you register a "Page" widget?
    I wanted all these to be CM

  4. quakemedia
    Member
    Posted 1 year ago #

    You could do that too, its a little bit trickier than using the wp_list_pages. You would have to register your 3 sidebars to be dynamic then register multiple instances of the same widget.

    http://codex.wordpress.org/Plugins/WordPress_Widgets_Api

    takes a little bit of reading, and playing with your widget.php file but it is completely possible. It would also allow you to customize the sidebars on the fly.

  5. Anonymous
    Unregistered
    Posted 1 year ago #

    Yeah, that's straight to the heart.. (or to the widget)

    I can just insert a pointer or "Page2" in wp_widgets_init()
    do I have also have to modify other function?

    well, I think I just have to play it out then

    Thanks for the quick reply

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.