The MU forums have moved to WordPress.org

How do I get custom themes for each blog? (16 posts)

  1. dmaher
    Member
    Posted 18 years ago #

    I've got all kinds of themes on my site but how can I used the same theme for 2 different blogs and have different images on each one?
    Basically if I have a template, there's an image going across the top. If I go into the templates directory and change the image which loads at the top of that theme, it will change on all blogs using that theme, how do I get it to change on just one?
    And the same situation, in order to get some plugins to work, I have to edit the sidebar.php file in the theme itself. If I edit this, it will get edited for all blogs using that theme again.

  2. lunabyte
    Member
    Posted 18 years ago #

    Duplicate the theme, but don't enable it under Site Admin.

    Then, under site admin, edit the particular blog and set the theme to whatever the duplicate name is.

    Then, at the same time, another user can't pick up and use the duplicate theme.

  3. dmaher
    Member
    Posted 18 years ago #

    Duplicate theme - DONE
    Under Site Admin, do not enable the theme - DONE
    Under Site ADmin, edit blog and set theme to duplicate name - DONE

    But when I look at the blog, it's the same default template, it didn't change. And when I look on the left side under the Site Admin when editing the blog, it still says the Template field is default but the checkbox in the top right is checked for that duplicate theme. What did I do wrong?

  4. andrea_r
    Moderator
    Posted 18 years ago #

    you may have to reanme the duplicated theme with the adjusted header.

    Also, if you're editing sidebar to include plguins, you could swithc ti widgets or you could use the "if plugin exisits" hook in the sidebar.

    That way if one user has, say a counter plugin enabled, another user with that theme can have it disabled and it won't show.

  5. lunabyte
    Member
    Posted 18 years ago #

    This may seem silly, but under the long list of options on that particular blog, did you type it in or just tick the check box?

    It will need typed into the settings fields for that blog. It doesn't necessarily (that I can tell) need to be checked in the box, unless you want it available under their presentation menu.

  6. dmaher
    Member
    Posted 18 years ago #

    andrea_r, you're moving on to something else I was having trouble with and pretty much answered it by pointing me into the direction of widgets. I'll check them out, though I have no idea what they are. But it seems like they'll solve my sidebar.php problem. lunabyte, as for the theme, I tried typing it into the textFields for template and stylesheet. But when I saved it and checked it again, it defaulted back to default. Do I just type Pool for the theme name or do I type the directory structure?

  7. dmaher
    Member
    Posted 18 years ago #

    lunabyte, I went back and looked for the boxes to type the theme name into but could find only the template and style sheet boxes. I typed the theme directory name (mm3-10) into those and when I hit the save button to save the changes, it refreshed the page and it said default in those boxes again. The name of the theme is mm3 and the folder it's stored in is called mm3-10. Still not sure how to get the theme part singled out for this user.

  8. andrea_r
    Moderator
    Posted 18 years ago #

    AHA! The part I am referencing isn't in the latest version. huh.

    I can see why you're both gettign it stripped out when you tell it to use a theme that's not enabled.

  9. dmaher
    Member
    Posted 18 years ago #

    Does that mean it's impossible? All my users have to have unique themes? Or at least just duplicate it, enable it, activate it, then customize it?

  10. dmaher
    Member
    Posted 18 years ago #

    I solved my problem with the themes....somehow. I renamed the directory with the theme in it and uploaded it to the themes folder with the rest. Then I went into the Site Admin and made that theme active. I left the selection in the Presentation menu on the original theme (not the renamed one) and then went into the Site Admin for the blogs and changed the TEMPLATE and STYLESHEET fields to the new directory name. Presto, it's working. Case closed. Now I can edit the sidebar and footer like I want.

  11. andrea_r
    Moderator
    Posted 18 years ago #

    Just a follow-up to my last post in this thread: those menus came back somewhere along the line, so if you don't see anything on the right when you are in the Edit Blog area, upgrade to the latest nightly.

  12. maberry
    Member
    Posted 17 years ago #

    We are using the MistyLook theme in MU and we want each blogger to be able to upload their own image in the header. Will the method that dmaher describes work for this?

  13. drmike
    Member
    Posted 17 years ago #

    For Mistylook, just grab it off of the wp.com svn. :)

    You'll have to remove the avatar_by_id function call out of the comment.php file though.

    http://svn.automattic.com/wpcom-themes/

  14. DieHardMetsFan
    Member
    Posted 17 years ago #

    I am creating a website called diehardsportsfan.net, and I want to be able to upload a picture of each sports team on each sports team's blog. I am using the Prosumer-10 template, and it came with the Custom Image Header feature. I can go through the entire process, cropping, uploading, but when it's done uploading it's just a blank space. How can I resolve this?

  15. drmiketemp
    Member
    Posted 17 years ago #

    First thing I would check is your webserver's error logs. Gotta admit that that should be a given.

    What browser, browser version, and OS are you using? Also how large in pixels and fielsize is the image, what's the specific filename for the image including extention and have you tried it with any other images?

  16. DieHardMetsFan
    Member
    Posted 17 years ago #

    Again, I haven't checked my error logs. It does not state which IE I'm using but it's pretty new because the PC is only a couple of months old. The PC's operating system is Windows Vista. I've used the same pictures fo other sites that have Wordpress installed and they all work fine. The KBs vary from the 30s to the 300s. Again, they all cropped and uploaded perfectly fine in Wordpress. I've tried this with multiple images, but here's a specific one: Giants Stadium (Giants).jpg and it's 34.8 KBs. I currently use this image on another site diehardgiantsfan.com.

About this Topic

  • Started 18 years ago by dmaher
  • Latest reply from DieHardMetsFan