wpweaver
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Modifying the 2010 theme – multiple sitesMultiple sites, each with its own single-site install will be totally independent of each other if set up properly – either separate mySQL database, or different prefix for each site. So anything you do on one won’t change another.
If you have WP 3 multisite, the answers is more or less the same. If the child theme is properly written, each site on the multisite will get to use the child theme and can use different settings if the child theme has an option panel. But I don’t think each site on multisite gets its own copy of the style.css file.
Forum: Themes and Templates
In reply to: Navigation MenuYou need code in two places – in your functions.php, something like this (from Twenty Ten)
// This theme uses wp_nav_menu() in one location. register_nav_menus( array( 'primary' => __( 'Primary Navigation', 'twentyten' ), ) );AND the actual code that generates the div/unordered list of menu items as you already found. That code can pretty much replace the old code used to generate the unordered list.
Forum: Themes and Templates
In reply to: Custom template in Twenty Ten with three columnsIf you don’t use the widgets in the footer, you could add some CSS style rules for one of those – they each have a different ID. If you’ve already managed to get two sidebars, it wouldn’t be hard to re-style a footer widget area. Otherwise you have to add a new widget area in functions.php, and still add appropriate styling.
Forum: Themes and Templates
In reply to: 2010 Banner PictureSorry I wasn’t more specific, but you have to use the Twenty Ten Weaver theme configuration control panel to change the height of the banner image before you try to upload the new banner. (The theme only supports the default 940 width, but will let you set the height to anything, including 0 to hide it. The image height is in the Main Options tab of the theme options.
Forum: Themes and Templates
In reply to: Guide to migrating existing themes to WP3?All that the ‘automatic-feed-links’ seems to do is add a < link > for each feed to the < head > section. Twenty Ten itself doesn’t seem to do anything more with feeds – at least not that I could find scanning the code. I’m guessing that the link is what makes the RSS feed icon show up in browser address bars.
Forum: Themes and Templates
In reply to: 2010 one-columnInterestingly, the Twenty Ten one-column content width is the same as the width with a sidebar – just centered.
I have a TwentyTen child theme called Twenty Ten Weaver that supports several different column layouts, including a single, wider column. It also changes the single-page one-column to a wider page size.
You can stick with the basic Twenty Ten look, or tweak almost anything about it – colors, fonts, and much more.
Forum: Themes and Templates
In reply to: themes that say they are 3.0 custom menu ready found a problemI have a Twenty Ten child theme that I’ve released in two versions –
a regular version, and a WP 3 Multi-site version – the multi-site version has just been released a couple of days.They are available here:
WP Weaver Twenty Ten Weaver and Twenty Ten Multi-WeaverWhy a difference? Well, the main Twenty Ten Weaver allows the user to insert almost anything they want into their site – in the <HEAD> section, in the footer, at the very end of the file. Great for customizing the theme, ad tracking, and the like. But on a Multisite installation, it is asking for trouble.
So the Multi-site version of the theme allows only basic customization using checkmarks and color input fields – colors, fonts, sidebar layout, header layout. It also offers 15 predefined themes that look quite different than the parent Twenty Ten, and can be further customized using the basic options.
The theme developer has to make a conscious effort to have the theme control panel appear to non-superadmins on Multisite. It takes some effort to find out how to do this – and in fact, it seems that WP 3 has added a new setting devoted just to this capability.
So, I think (just my observation, might not be right) that many theme developers aren’t very Multisite aware (I certainly wasn’t), and just don’t include the theme setup code that allows the control panel to be seen by non-superadmins. And if they do think about it, they might avoid the potential issues of offering users too much access to what code is allowed to be inserted into the output HTML.
Forum: Themes and Templates
In reply to: How do I convert wp2 theme to us new wp3 featuresPlease see this discussion: http://wordpress.org/support/topic/413876
Forum: Themes and Templates
In reply to: Guide to migrating existing themes to WP3?Sorry, didn’t mean to confuse – I said “must” in the context of upgrading an older theme to support new WP 3 stuff, and I did mention the part about the sidebar menu widget.
Forum: Themes and Templates
In reply to: Change the font size in twentytenI have built a Twenty Ten child theme called Twenty Ten Weaver that lets you teak a bunch of stuff without editing theme files.
But I’ve also generated a bunch of CSS tweaks that will work with Twenty Ten as well as my own theme – stuff like changing font size, adding decorations to titles, etc.
Rather than messing too much with Twenty Ten’s style.css rules, it is easier to just put your overrides at the end of style.css (or perhaps add an import at the very end to include your edits, or even go as far as generating a CSS only child theme.)
There are a couple of tweaks that are specific to my child theme, but almost all of theme will work for Twenty Ten.
Forum: Themes and Templates
In reply to: Add another sidebar to twentyten theme?Not hard to do, but the CSS styling is critical.
If you want to see it working, and perhaps check out the code, you could look at my Twenty Ten child theme, Twenty Ten Weaver. The code that does it is right at the top of functions.php, and the styling is in the style.css.
Forum: Themes and Templates
In reply to: CSS not working in SafariI had an issue with the menu stuff in Safari that I fixed with
#access {clear:both;}
or whatever your menu CSS name is. Don’t know if this is relevant or not.
Forum: Themes and Templates
In reply to: Guide to migrating existing themes to WP3?About the only major thing supported by WP 3 that a old theme must support is the custom menus, I personally believe. Support for header images and backgrounds is optional, but perhaps a good thing.
But if you try a theme that has not been updated for WP 3, you will still get the Appearance->Menus admin panel, and a warning that the theme does not support menus, but that you can use a widget.
In fact, it should take just a very few lines of code to add support for menus. It is mostly a matter of telling WP 3 “I support your menus”, and then calling a different WP 3 function to get the menu list. It is not that hard, and as has been said, the code in Twenty Ten header.php has the example of what you need to do.
There may be other new WP 3 features a theme should or could support, but menus is the main thing, I think.
If the theme does not include menus – which is not uncommon – perhaps the theme should consider adding menu support since that seems to be the model almost every one expects these days.
Forum: Themes and Templates
In reply to: 2010 Banner PictureIf you want to keep the Twenty Ten look, and don’t want to edit the functions.php file (which is not a good idea anyway – whatever you do will be lost the next time you upgrade the theme), I suggest my Twenty Ten child theme, Twenty Ten Weaver that will let you adjust the height of the banner to whatever size you need.
If you can maintain the width and adjust the height, this is a very easy solution – you can simply use the theme admin panel to do this. But while you’re at it, the new theme lets you easily adjust all sort of things like colors, sidebars, fonts, and much more without having to edit any files or anything else.
Forum: Themes and Templates
In reply to: Logo in 2010 themeAdd this to the style.css:
#site-title {background-image: url(address of logo); background-repeat:no-repeat; background-position: left center;padding-left:30px;}
where the 30px should be adjusted for the size of your logo.