• I am setting up a system that will allow me to host multiple domains from the one wordpress install.

    I am able to style each blog / site using a css override, so they all use the same theme, but have their own CSS to make it look different.

    I now have a requirement for custom HTML in the header and or footer of some sites.

    Am I best to

    A) set up each site with it’s own theme (which i think would be inefficient for scaling – i plan to use this for hundreds of client websites)

    B) deploy some kind of localisation plugin that would allow me to use a local header / footer per site.

    ?
    ———————————————–

    I’m certain this problem will have arised before, but I can’t find anything with the search or plugins.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Totally untested, off the cuff of my head thought.

    B can be done with a theme that does a bit of a PHP loop for which site you’re in and spits in a different header file… Make header-1.php through header-100.php, for example, and customize those. Then in header.php, have it include header-SITENUMBER.php 🙂

    Mind, it all depends on how MUCH you need to customize the html.

    I would use a theme framework that lets you do this from the backend.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Oh sure, if you wanna take the EASY way 😉

    Thread Starter cmcp

    (@cmcp)

    Andrea do you mean create a theme framework from scratch or are you aware of an existing system that is in the right direction of localising?

    Localization means language packs. 🙂

    If you mean “make some parts site specific” read on….

    I meant YES there are exisiting frameworks to help. (Genesis comes to mind, yes it’s paid. It has a Simple hooks plugin that allows you to replace – from the backend – and area in the theme with a hook, that will be site specific.)

    Thread Starter cmcp

    (@cmcp)

    Ah right ok, I’m with you on the jargon now.

    I am after site specific header and site specific footer.

    I shall look into genesis and simple hooks. Do you know if these work with multisite?

    🙂

    Yes, cuz I test it on sites in the network. 🙂

    wpmututorials.com is a mapped domain in a network, using a child theme of genesis & the simple hooks plugin to make changes from the admin area.

    ronandandrea.com uses a *different* child theme of Genesis.

    These are both sites in the same network. Same db. Same install.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘localise header footer, wp3 multisite’ is closed to new replies.