• i’ve tried googling this to no avail… maybe i’m missing something, but i figured i’d try here.

    i’ve installed wordpress and created multiple blogs using symbolic links as directed here, and everything looks great.

    however, what i’d like to accomplish is to have each blog have its own header. i’m reading up on something that looks like something i’d like to do, but i’m not sure how to do this. could someone direct me in baby steps? what i’m referring to is this:

    include (TEMPLATEPATH . ‘/’ . ABSPATH . ‘header.php’);

    i don’t quite understand how this works, or what i’m supposed to do, but in reading someone’s post who had succeeded in doing what i wanted, i figured this code must be doing what i want, but i tried it and it didn’t work.

    i’m hoping someone out there has had experience in this and will be able to help me out. thanks!

Viewing 11 replies - 16 through 26 (of 26 total)
  • @joni: I keep sending you email. Would you like to contact me? atthe404 at gmail dot com. ??

    Thanks for the idea joni, but I don’t see any feature of headspace2 plugin that addresses this.

    Root!!! I haven’t received any email from you! I’ll contact you now!!

    @dgold .. well I thought maybe since that plugin lets you have different headers for different pages, it might work in the OP’s case as well, as he wants a different header for each blog…

    I hope someone can say if it is possible to put the PHP that echos a Custom Field Value, inside of a URL. If so, how to write it?

    Should be something like this,

    <img src="https://example.com/
    ?PHP get_post_meta('1','header-name','true'); STOP PHP
    -header.jpg">

    If someone kindly corrects my mangled PHP, then I can test this method.

    Thread Starter pixelgecko

    (@pixelgecko)

    It’s been a week – and still nobody has a solution for us? Dgold, I’ve been doing a bit of search on the PHP forums, and I think we might have better luck there (I haven’t had much time the last week to dig into this any deeper). Let me know if you find a solution – email me pixelgecko (at) gmail (dot) com if you do. Thanks…

    Hi — just discovered this discussion (I’m the multiblog guy — glad to see some discussion!) ??

    I only have a minute at the moment — might get back to this when I have a bit of time…

    What you might try is using the get_virtual_user() function to call the name of the current blog. (The function is defined in mb_functions.php)

    Then you can call header-<blogname>.php in your template <– that’s pseudocode, short on time!

    Hope that helps. One of these days I need to write up an extensive “tips” page for this system. The discussions surrounding it have turned up some interesting techniques. ??

    I hope strider72 comes back and gives us more specific instructions on how to do it =0

    jonimueller: I tried headspace2 and set up the plugin, but the theme is not changing for the certain page.

    guys, someone already mentioned that the variables for the blog name and the blog description were already different… so, you should be able to use the (augmented) blog name as the filename for a .jpg.

    I know this is an old post, but I thought I would follow up….

    The new version of my Virtual Multiblog system includes a VUSER constant, which cleanly distinguishes which is the current blog. You could easily use this to call header-VUSER.php, or whatever you like.

    Hope it helps! ??

    Also, the link has changed:

    Virtual Multiblog

    Thanks for posting again. I’ve got a little free time over the holiday and I am back to messing with my multi-blogs.

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘Multiple Blogs, One WordPress Install, Multiple Headers’ is closed to new replies.