WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Multisite different Sidebar (6 posts)

  1. Nasir Zia
    Member
    Posted 2 years ago #

    Hi,
    I have a problem with my multisite Sidebars.
    The Primary Sidebar for the homepage is appearing by default on all the other sites on my network.
    I need different Sidebars for all the sites...
    Any Solution ???

  2. This is a theme issue. If your theme has a built in check for widgets and sees NO widgets customized on a site, then it uses default settings. What happens if you go in and customize the widgets on the sites?

  3. Nasir Zia
    Member
    Posted 2 years ago #

    When i customize the widget of any individual site, it still display the widgets of main site.

  4. Nasir Zia
    Member
    Posted 2 years ago #

    Ok,
    Can u just please share some code or function to get the Current Site ID.
    I can write some code using if condition for each blog.

  5. When i customize the widget of any individual site, it still display the widgets of main site.

    Then you're doing something very wrong. You're going to domain.com/SITENAME/wp-admin to edit the widgets there?

    What theme are you using?

    And BTW, I closed your duplicate post on this topic. Please don't do that.

  6. Nasir Zia
    Member
    Posted 2 years ago #

    Yes i m going to domain.com/SITENAME/wp-admin to edit the widgets....

    Novocane is my theme....

    I some how managed to hard code the things...
    on the basis of site id it displays the different data on sidebar...and that is exactly what i needed.
    but i still prefer the neat way to do the things (i.e not hard coding).

    And sorry for the duplicate...
    I created the post on wordpress forum and while googleing the solution i found my own (4 weeks older) post in this forum.. so i make that live as well. :)
    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic