pixelgecko
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Multiple Blogs, One WordPress Install, Multiple HeadersIt’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…
Forum: Themes and Templates
In reply to: Multiple Blogs, One WordPress Install, Multiple HeadersDgold – yeah, your way seems much better. I don’t think it should be too difficult, but I can’t for the life of me figure it out! Hopefully someone will be able to help us out before too long.
Forum: Themes and Templates
In reply to: Multiple Blogs, One WordPress Install, Multiple HeadersCalling up a variable in the header sounds simple enough, but how would we do this? Is there a particular PHP code that we could use in our header.php file to call a particular header image, depending on which blog you’re in?
I was thinking of some code like this (this is probably very wrong, but you get the idea…)
if (blog_name_is_joe()) {
<div id=”joe_header”></div>
}or, preferably, use some kind of loop to go through all the blog names and insert the appropriate header image file.
Forum: Themes and Templates
In reply to: Multiple Blogs, One WordPress Install, Multiple HeadersYes, that’s exactly what I’m trying to do. The reason I wanted to call a different header.php file instead of just a graphic file is in case I wanted to add something below the header graphic (a h1 tag with the name of the blog and a brief description, for instance).
Dgold is right – the method we used was surprisingly easy. It certainly saved me a lot of time and headache. If there was an easy way to call a variable from the database, allowing us to use different header.php files (or header images), then I will without a doubt be evangelizing this method of setting up multiple blogs with one WordPress install.
I’m still hoping that someone has a solution to our situation!
Forum: Fixing WordPress
In reply to: Display Random Links on Homepage (not in blog section)That’s a wordpress widget, which I understand won’t work on the index.html page (wordpress is installed in the https://www.site.com/blog/ directory. Any ideas?