Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c03/h06/mnt/47169/domains/themehybrid.com/html/community/bb-settings.php on line 186

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c03/h06/mnt/47169/domains/themehybrid.com/html/community/bb-includes/backpress/functions.wp-object-cache.php on line 108

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c03/h06/mnt/47169/domains/themehybrid.com/html/community/bb-includes/backpress/pomo/mo.php on line 171

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c03/h06/mnt/47169/domains/themehybrid.com/html/community/bb-includes/functions.bb-l10n.php on line 484

Deprecated: Assigning the return value of new by reference is deprecated in /nfs/c03/h06/mnt/47169/domains/themehybrid.com/html/community/bb-includes/backpress/class.wp-taxonomy.php on line 581

Warning: Cannot modify header information - headers already sent by (output started at /nfs/c03/h06/mnt/47169/domains/themehybrid.com/html/community/bb-settings.php:186) in /nfs/c03/h06/mnt/47169/domains/themehybrid.com/html/community/my-templates/bb-fusion-community/rss2.php on line 1
Community » Topic: Hybrid: Version 0.5 http://themehybrid.com/community/topic/hybrid-version-05 Theme Hybrid en-US Sat, 01 Nov 2014 02:37:55 +0000 bbpress 1.0.2 <![CDATA[Search]]> q http://themehybrid.com/community/search.php Justin Tadlock on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05/page/2#post-961 Sun, 15 Mar 2009 13:48:40 +0000 Justin Tadlock 961@http://themehybrid.com/community/ <p><strong>Widget area naming system</strong></p> <p>I know we all voted on this. You can see the results (nothing really won in this area):<br /> <a href="http://themehybrid.com/blog/wp-content/uploads/2009/03/hybrid-05-survey.html" rel="nofollow">http://themehybrid.com/blog/wp-content/uploads/2009/03/hybrid-05-survey.html</a></p> <p>And, there's an ongoing discussion on my blog:<br /> <a href="http://justintadlock.com/archives/2009/02/14/replacing-sidebar-in-wordpress" rel="nofollow">http://justintadlock.com/archives/2009/02/14/replacing-sidebar-in-wordpress</a></p> <p>But, I've decided to go with my original idea:</p> <pre><code>aside-primary.php aside-secondary.php aside-subsidiary.php utlity-before-content.php utility-after-content.php utility-after-single.php utility-after-page.php</code></pre> <p>This doesn't really effect anyone. For me, the naming system was just something I needed to do to make files for widget areas. The functionality is still the same. Plus, we've been using the term "Utility" for the Utility widget areas for a while.</p> <p>The only people that need to concern themselves with the widget area names are those really hardcore users that want to handcode those areas within the theme rather than use widgets.</p> <p>If/when the WordPress devs decide on a term to describe widget areas, I'll make the change. Jane Wells says she'll put the idea on the table with the core devs for WP 2.9:<br /> <a href="http://justintadlock.com/archives/2009/02/14/replacing-sidebar-in-wordpress#comment-103691" rel="nofollow">http://justintadlock.com/archives/2009/02/14/replacing-sidebar-in-wordpress#comment-103691</a> </p> Justin Tadlock on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05/page/2#post-960 Sun, 15 Mar 2009 13:39:12 +0000 Justin Tadlock 960@http://themehybrid.com/community/ <p>@rickybuchanan</p> <p>Thanks. I'm hoping to push this thing out very soon. There's just so much testing. </p> rickybuchanan on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05/page/2#post-959 Sun, 15 Mar 2009 00:11:07 +0000 rickybuchanan 959@http://themehybrid.com/community/ <p>This is looking really fantastic, Justin.</p> <p>I've started figuring out how to use hooks properly and have implemented their use a little on <a href="http://bedbound.org/">Bedbound/Unlimited</a> and another not-yet-live site and they're FANTASTIC. They're going to mean virtually 100% of my customising can be done without messing with the main theme files! Woo!</p> <p>I'll be downloading the bleeding edge and testing on the not-yet-live site today. Looking forward to it. </p> Justin Tadlock on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05/page/2#post-955 Thu, 12 Mar 2009 09:34:02 +0000 Justin Tadlock 955@http://themehybrid.com/community/ <p><strong>Compatibility with WordPress versions</strong></p> <p>I've also decided that I'm not maintaining too much backwards compatibility. While old themes will nearly always work on newer versions of WP, it's hard to take advantage of new WP features without making sacrifices somewhere. Maintaining legacy functions that are built into newer versions of WP isn't the job of theme developers.</p> <p>With that said, I know WPMU is usually a few weeks behind WP with their upgrades and it's a lot tougher running an MU site. So, what I'll be doing is maintaining backwards compatibility with one major WP version behind.</p> <p>Hybrid 0.5 will work with WP 2.6 and 2.7.</p> <p>Hybrid 0.6 will be built on WP 2.8, and I'll be dropping support for 2.6. </p> Justin Tadlock on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05/page/2#post-954 Thu, 12 Mar 2009 08:53:35 +0000 Justin Tadlock 954@http://themehybrid.com/community/ <p><strong>Feature Freeze</strong></p> <p>Hybrid 0.5 is now officially in a feature freeze. What this means is that no new features will be added from this point until the release. Any new feature requests will be pushed back to 0.6.</p> <p><strong>Comments</strong></p> <p>I'm also holding back on the comments template hooks. I've added in two new ones, but I want to wait for now. In version 0.6, I'll be looking over the possibilities of allowing the separation of comments, pingbacks, and trackbacks. I'd rather not add any new hooks until I know exactly how this will work out.</p> <p><strong>Get the Video</strong></p> <p>I'm still working on this. I haven't decided whether any changes will be added to this in v.0.5 yet. </p> Justin Tadlock on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05/page/2#post-927 Sun, 08 Mar 2009 09:39:55 +0000 Justin Tadlock 927@http://themehybrid.com/community/ <p><strong>Overhaul of Get the Video</strong></p> <p>One thing I've been wanting to revamp is the Get the Video functionality. I know a couple of you have tried to use it, but I haven't done much with it. It's far behind the Get the Image feature.</p> <p>They are basically the same thing. Except one is for images and the other is for videos.</p> <p><strong>The main problem</strong></p> <p>I've been toying with the idea of making it an all-inclusive <code>&lt;object&gt;</code> feature. For example, you could load up videos, flash, audio, text files, and all kinds of neat stuff. Right now, it's mainly a flash video functionality (i.e. YouTube, Vimeo, and so on).</p> <p>So, I can't decide on whether this feature should be Get the Video or Get the Object (don't think about the funny name).</p> <p><strong>Coding this thing</strong></p> <p>This will definitely be more extensive than the image feature because you have to deal with mime types in this case. Even if it was just a video feature, figuring out the video mime type is a biggie.</p> <p>I'm just kind of thinking out loud here.</p> <p>Of course, feel free to add any ideas about what the Get the Video/Object feature should be able to do. </p> Justin Tadlock on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05/page/2#post-925 Sat, 07 Mar 2009 23:03:55 +0000 Justin Tadlock 925@http://themehybrid.com/community/ <p><strong>Hybrid 0.5 testing - Bleeding edge</strong></p> <p>If you want to help test an early version of 0.5, here's the thread where we're testing it:<br /> <a href="http://themehybrid.com/support/topic/download-hybrid-05-bleeding-edge-testing" rel="nofollow">http://themehybrid.com/support/topic/download-hybrid-05-bleeding-edge-testing</a></p> <blockquote><p> You know what would be cool? A widget to display posts by series, so one could highlight articles in a series via the sidebar. </p></blockquote> <p>Definitely. I don't like the idea of adding this in the core. I think it would be great as an additional plugin.</p> <blockquote><p> Filter for hybrid_body_class() </p></blockquote> <p>Already on my to-do list for 0.5.</p> <blockquote><p> Action after comment form and before submit button </p></blockquote> <p>I'm playing around with a few different action hooks with the comments form right now. There'll be some extra ones added.</p> <p>There's already one after the comment form &mdash; <code>comment_form</code> (a WP action hook that should be included with all themes). </p> Satranç on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05/page/2#post-924 Sat, 07 Mar 2009 14:46:30 +0000 Satranç 924@http://themehybrid.com/community/ <p>Filter for hybrid_body_class(),<br /> Action after comment form and before submit button ;)</p> <p>Thanks. </p> J. Bear Savo on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05/page/2#post-921 Fri, 06 Mar 2009 13:54:39 +0000 J. Bear Savo 921@http://themehybrid.com/community/ <p>You know what would be cool? A widget to display posts by series, so one could highlight articles in a series via the sidebar. </p> Justin Tadlock on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05/page/2#post-919 Fri, 06 Mar 2009 09:45:34 +0000 Justin Tadlock 919@http://themehybrid.com/community/ <p><strong>Print Stylesheet</strong></p> <p>I've been giving this a complete overhaul today. It's going to be much cleaner and only focus directly on content. It's not completely horrible, but a few things have changed since I last updated it. </p> Justin Tadlock on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05#post-905 Wed, 04 Mar 2009 03:15:18 +0000 Justin Tadlock 905@http://themehybrid.com/community/ <p><strong>Inline documentation</strong></p> <p>I'm also documenting nearly all the code. Each file will be prefixed with what it does and so on. And, each template will have a link to either relevant documentation here on this site or the WordPress.org site.</p> <p>For example, you might see something like this at the top of the <code>image.php</code> file:</p> <pre><code>/** * Image Attachment Template * * This template is used when viewing image attachments. * @link <a href="http://themehybrid.com/themes/hybrid/attachments/image" rel="nofollow">http://themehybrid.com/themes/hybrid/attachments/image</a> * * @package Hybrid * @subpackage Template */</code></pre> <p>This will tell you what that particular file does and gives you a link to a tutorial on this site. </p> Justin Tadlock on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05#post-897 Sun, 01 Mar 2009 08:17:29 +0000 Justin Tadlock 897@http://themehybrid.com/community/ <p><strong>Remove the email link on the author archive pages.</strong></p> <p>This link is spam-protected, but more than a few people have expressed a need to remove it. Most folks set up contact pages nowadays anyway, so I'm thinking most people don't need the link. </p> Justin Tadlock on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05#post-892 Sat, 28 Feb 2009 09:28:43 +0000 Justin Tadlock 892@http://themehybrid.com/community/ <p>Lots of great feedback here.</p> <blockquote><p> I'd love the before-post and after-post hooks, those would be helpful for all sorts of stuff I've been wanting to do. </p></blockquote> <p>These are coded and working great right now for me. I'm, of course, running the bleeding edge on justintadlock.com for live testing.</p> <p>The new functions would be:</p> <pre><code>hybrid_before_entry() hybrid_after_entry()</code></pre> <p>The post title, byline, and post metadata are all added to these action hooks. This will allow for some cool stuff like moving stuff around. Plus, all three of these will be filterable &mdash; you can customize them.</p> <blockquote><p> Are there any reasons beyond "Upgrading is work/hard" that people would have to be still running 2.6 rather than 2.7? </p></blockquote> <p>Actually, there is. Folks that aren't interested in running the Alpha version of bbPress yet still have user integration are still stuck back on WP 2.5.1 or have some hacked up mess to work with WP 2.6. This is the reason the theme was originally made to work on 2.5 &mdash; ThemeHybrid.com was stuck in this situation. I eventually upgraded to the Alpha version of bbPress though.</p> <p>I'm thinking most people are using the bbPress Alpha though because most people don't like being that far behind on WP.</p> <p>I really think the WP.org developers should be maintaining bug/security fixes for the 2.5 branch until bbPress is updated, but they're not.</p> <p>I'll at least maintain WP 2.6 compatibility until WP 2.8 rolls around.</p> <blockquote><p> Also having functions to cope with Tweetbacks a la Joost's "Tweetbacks plugin would be a great thing to have built in. </p></blockquote> <p>I'll check it out.</p> <blockquote><p> Could you perhaps use both classes (author and entry-author) on those comments for the 0.5* series to give people time to upgrade their CSS if needed? </p></blockquote> <p>I would, but there would be a conflict of having the entry author and all authors (user role) both having the same class. I haven't seen anyone using this feature yet. I think the best thing to do would be to make a note of it when the new version is released.</p> <blockquote><p> I'd like using the searchform.php WPish stuff for future compatibility. </p></blockquote> <p>Plus, having this as a template file makes it super easy to add a custom search. I know a lot of people like to add a Google search box. Right now, they have to use a theme filter hook to override the default or create some kind of function.</p> <blockquote><p> These things all look great, in short. I'm very pleased you won't break all the old stuff for upgrading purposes! </p></blockquote> <p>Thanks for taking the time to give some feedback. </p> rickybuchanan on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05#post-889 Sat, 28 Feb 2009 08:43:33 +0000 rickybuchanan 889@http://themehybrid.com/community/ <p>I'd love the before-post and after-post hooks, those would be helpful for all sorts of stuff I've been wanting to do.</p> <p>Death to popups, quickpost, and WP2.5. I'm not sure about WP2.6.* although if somebody's upgrading Hybrid it'd probably be a good time to upgrade WP. Are there any reasons beyond "Upgrading is work/hard" that people would have to be still running 2.6 rather than 2.7? ATMac is running 2.6 because it's the next project after the current one (NPC) is finished and I wanted to do the WP upgrade and the Options-&gt;Hybrid switch together as I suspect they'll both be non-trivial. All my other blogs are running 2.7-current.</p> <p>I realise you said "not yet" but the separation of pingbacks/trackbacks is something I really like. Also having functions to cope with Tweetbacks a la Joost's "Tweetbacks plugin would be a great thing to have built in - I suspect a lot of people will be adopting this one and having the appropriate CSS classes and such would really save a lot of work.</p> <p>The canonical URL would save loading another plugin, so I'd be all in favour of that. I don't see any drawbacks to it, personally.</p> <p>Re-classing comments seems like a good thing, to me. Could you perhaps use both classes (author and entry-author) on those comments for the 0.5* series to give people time to upgrade their CSS if needed? Not sure how many people use that though - if it's just us bleeding edge people it probably doesn't matter!</p> <p>I'd like using the searchform.php WPish stuff for future compatibility. I don't customise it at the moment but WP's default search generally sucks bad, so it's a possibility in the future. Although if they can fix the plugin search, perhaps they'll fix the blog search one day?</p> <p>These things all look great, in short. I'm very pleased you won't break all the old stuff for upgrading purposes!</p> <p>r </p> Justin Tadlock on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05#post-887 Fri, 27 Feb 2009 09:38:12 +0000 Justin Tadlock 887@http://themehybrid.com/community/ <blockquote><p> Separate Trackbacks / Pingbacks </p></blockquote> <p>I'd like to push this idea back to version 0.6. I'm doing some major work in the comments area to allow more customization for this release. Too much, too fast sometimes results in a buggy theme. But, this option will eventually come. I promise. :)</p> <blockquote><p> I think some are severely underestimating the value in having the page title in the "more" link. This is the first thing the spiders sees on the way to the page. It's how it knows what the page is about. </p></blockquote> <p>I definitely agree. Plus, if users wanted, they could style an image to replace the more link that simply reads "Continue reading." </p> axe on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05#post-884 Fri, 27 Feb 2009 09:02:31 +0000 axe 884@http://themehybrid.com/community/ <p>BTW... What's a calender widget?</p> <p>... kidding. </p> axe on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05#post-883 Fri, 27 Feb 2009 09:00:19 +0000 axe 883@http://themehybrid.com/community/ <p>I think some are severely underestimating the value in having the page title in the "more" link. This is the first thing the spiders sees on the way to the page. It's how it knows what the page is about. It's one of the reasons this framework's SEO is so strong. The backend support for SEO options is the best part of this theme.</p> <p>From an SEO standpoint separating trackbacks is a good idea too. </p> <p>Just took the survey. left all my other ideas in there.</p> <p>Thanks for the work you put into this Justin. </p> Ploobers on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05#post-882 Fri, 27 Feb 2009 08:28:27 +0000 Ploobers 882@http://themehybrid.com/community/ <p><strong>Drop Pre-WP 2.7 Support</strong><br /> I've got a vote for killing support for pre-2.7 releases if it means that you are wasting time and sacrificing clean coding to make it possible. If people aren't updating their Wordpress installations, they obviously have reached a static stage where they won't be upgrading their theme either. It isn't like a Wordpress install is a huge ERP application that needs to maintain backwards compatibility. If they want to use an older version of WP, let them use an older version of Hybrid.</p> <p><strong>Separate Trackbacks / Pingbacks</strong><br /> This is something that I am confident that more people would use if they either were aware that it were possible, or if their theme supported it. This is a good option to put in the administration panel. </p> Justin Tadlock on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05#post-881 Fri, 27 Feb 2009 00:44:15 +0000 Justin Tadlock 881@http://themehybrid.com/community/ <p>The biggest thing I want to do is make the theme leaner. I want to keep the parts that make the theme run and get rid of all the crud.</p> <p><strong>Version 0.5 Survey</strong></p> <p>I've also opened this discussion up a little further and created a survey:<br /> <a href="http://polldaddy.com/App/Forms/listSurveys.aspx" rel="nofollow">http://polldaddy.com/App/Forms/listSurveys.aspx</a></p> <p>You can read the original announcement post as well:<br /> <a href="http://themehybrid.com/archives/2009/02/take-the-hybrid-version-05-survey" rel="nofollow">http://themehybrid.com/archives/2009/02/take-the-hybrid-version-05-survey</a> </p> Ipstenu on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05#post-880 Thu, 26 Feb 2009 23:42:45 +0000 Ipstenu 880@http://themehybrid.com/community/ <p>Moving wp_footer() - Sensible.<br /> Changing Hybrid's typography filter - I had no idea!<br /> Remove comments-popup.php - Death to popups!<br /> Dropping WP 2.5 Support - Again, sensible. </p> Justin Tadlock on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05#post-877 Wed, 25 Feb 2009 20:09:36 +0000 Justin Tadlock 877@http://themehybrid.com/community/ <p><strong>Dropping WP 2.5 Support</strong></p> <p>One of the things I want to do is to make sure Hybrid is compatible with more than one version of WP at a time, but WP 2.5's time is gone. Heck, I'm already developing for 2.8.</p> <p>I think it's time to let WP 2.5 go. Putting in too many <code>if(function_exists(&#39;something&#39;))</code> just creates more overhead for users that have upgraded their WordPress in the last year. It makes the code cleaner and faster.</p> <p>I'm also thinking of dropping WP 2.6 support once WordPress 2.8 rolls around. There were tons of WP functions for themes added in 2.7 that have to be recreated for 2.6. </p> Justin Tadlock on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05#post-874 Wed, 25 Feb 2009 01:47:51 +0000 Justin Tadlock 874@http://themehybrid.com/community/ <p><strong>Remove comments-popup.php</strong></p> <p>Who actually uses popup comments anymore? Popup windows are annoying.</p> <p>Really, I just want to remove it because it won't function with the before and after post hooks correctly I mentioned in the first post in this thread:<br /> <a href="http://themehybrid.com/community/topic/hybrid-version-05#post-803" rel="nofollow">http://themehybrid.com/community/topic/hybrid-version-05#post-803</a></p> <p>Anyone want to keep this? Or, is anyone using this feature? </p> Justin Tadlock on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05#post-873 Tue, 24 Feb 2009 18:15:03 +0000 Justin Tadlock 873@http://themehybrid.com/community/ <p><strong>Changing Hybrid's typography filter</strong></p> <p>One of the things I had wanted to accomplish was making typography just a little better with Hybrid. Well, one of the functions seems to mess up too many plugins, so those of you that have enjoyed the "widow killer" function will have to manually add it next time:</p> <p><code>hybrid_widow()</code> gets rid of those nasty one-word widows that hang at the end of a paragraph just like they do in newspapers.</p> <p>It's likely most of you don't even know this is part of the theme, but it's conflicting with a few plugins. </p> Justin Tadlock on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05#post-869 Tue, 24 Feb 2009 07:35:12 +0000 Justin Tadlock 869@http://themehybrid.com/community/ <p><strong>Moving wp_footer()</strong></p> <p><code>wp_footer()</code> is an action hook located in <code>footer.php</code> and a very important one at that. It allows plugins to interact with themes sometimes.</p> <p>Well, in WordPress 2.8, we'll have the ability to properly load JavaScript in the footer instead of the header. This is great because it'll allow page content to load faster by not having to wait on the JavaScript.</p> <p>This also sets up some potential problems with the theme. Currently, <code>wp_footer()</code> fires in the <code>#footer</code> <code>&lt;div&gt;</code>. I don't want any kind of conflicts there.</p> <p>One other thing I've noticed is that folks have been using the footer insert (from the theme settings page) to add in XHTML. This was never meant for that. It was meant to allow for adding JavaScript, so I think I'm going to hook that to the Hybrid footer hook instead of the WP footer hook. </p> Ipstenu on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05#post-865 Sun, 22 Feb 2009 16:48:29 +0000 Ipstenu 865@http://themehybrid.com/community/ <p>#2</p> <p>I used more up until recently. Now I hand craft excerpts that will get folks reading. The more is still used when I cross post to a livejournal, or when I have things I want to force 'below the cut' but really, it's rare. Still #2 is better. It shouldn't affect SEO enough to be appreciable. </p> Justin Tadlock on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05#post-864 Sun, 22 Feb 2009 15:40:01 +0000 Justin Tadlock 864@http://themehybrid.com/community/ <p><strong>More link text</strong></p> <p>Right now, when you use the <code>&lt;!--more--&gt;</code> link in WordPress, Hybrid outputs something like this:</p> <blockquote><p> Continue reading “Controlling the elements” </p></blockquote> <p>That's probably OK if your post titles are pretty short, but it can be unruly if they look like this:</p> <blockquote><p> Continue reading "This is a long post title to see how they fit in with the design </p></blockquote> <p>That's one long link!</p> <p>To me, it doesn't really matter because I never use the <code>&lt;!--more--&gt;</code> tag. The current method is a little better for SEO, but doesn't look as good as something like this in design:</p> <blockquote><p> Continue reading &rarr; </p></blockquote> <p><strong>What should it be?</strong></p> <p>1) Include the post title (slightly better for SEO).<br /> 2) Shortened version (better for design). </p> Justin Tadlock on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05#post-863 Sun, 22 Feb 2009 13:52:33 +0000 Justin Tadlock 863@http://themehybrid.com/community/ <p><strong>Another overhaul of the widget system</strong></p> <p>Don't worry. I'm not breaking your widgets this time, and everything will be backwards compatible.</p> <p>I just felt like the coding part of the widgets system needed to be overhauled.</p> <p><strong>Localization</strong></p> <p>Those of you non-native English users may have noticed that widget area names (i.e. Primary, Secondary, etc.) are not localized in the 0.4 branch. That's because I needed to use those names as IDs as well (IDs should never be translated).</p> <p>With the new system, the names and IDs will be completely separate.</p> <p><strong>Creating custom widget sections?</strong></p> <p>If you've been using Hybrid's built-in functions for this, everything will still work. But, I encourage you to start using the <code>register_sidebar()</code> WordPress function instead.</p> <p>It's really not a lot of extra work, but will be more "forward-compatible" or "future-proof." Plus, it'll allow you to make sure any child themes you might release to the public can be properly localized. </p> Justin Tadlock on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05#post-862 Sun, 22 Feb 2009 13:43:32 +0000 Justin Tadlock 862@http://themehybrid.com/community/ <p><strong>Calendar widget</strong></p> <p>I've also coded a calendar widget for Hybrid using the <code>get_calendar()</code> function:<br /> <a href="http://codex.wordpress.org/Template_Tags/get_calendar" rel="nofollow">http://codex.wordpress.org/Template_Tags/get_calendar</a></p> <p>There's not really any extra settings except for the ability to choose how the month names are abbreviated. But, it will be a "multi-widget," so you can use it more than once. </p> Justin Tadlock on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05#post-860 Sun, 22 Feb 2009 13:23:03 +0000 Justin Tadlock 860@http://themehybrid.com/community/ <p><strong>Drop-down menus</strong></p> <p>We've been discussing the possibility of these being included by default here:<br /> <a href="http://themehybrid.com/community/topic/should-drop-down-menus-be-the-default" rel="nofollow">http://themehybrid.com/community/topic/should-drop-down-menus-be-the-default</a></p> <p>I'm hoping to allow for this in version 0.5 now. </p> Justin Tadlock on "Hybrid: Version 0.5" http://themehybrid.com/community/topic/hybrid-version-05#post-856 Fri, 20 Feb 2009 11:36:25 +0000 Justin Tadlock 856@http://themehybrid.com/community/ <p><strong>More on adding template files for the widget areas</strong></p> <p>For those of you that missed the discussion on my personal blog, there are loads of ideas about this. You are welcome to add your input there as well:<br /> <a href="http://justintadlock.com/archives/2009/02/14/replacing-sidebar-in-wordpress" rel="nofollow">http://justintadlock.com/archives/2009/02/14/replacing-sidebar-in-wordpress</a></p> <p><strong>Why all the fuss?</strong></p> <p>I'd like for folks using WP 2.7+ to be able to create their own stuff by overwriting the original. For example, you may not want to use widgets in Primary but rather hardcode it. It would be a lot easier to override this by creating a new file in your child theme instead of making some insanely complex function.</p> <p>For example, the Primary file would look like this:</p> <pre><code>&lt;?php if(!is_page_template(&#39;no-widgets.php&#39;) &#38;&#38; is_sidebar_active(&#39;Primary&#39;)) : ?&gt; &lt;div id=&quot;primary&quot; class=&quot;aside&quot;&gt; &lt;?php hybrid_before_primary(); // Before Primary hook ?&gt; &lt;?php dynamic_sidebar(&#39;Primary&#39;); ?&gt; &lt;?php hybrid_after_primary(); // After Primary hook ?&gt; &lt;/div&gt; &lt;?php endif; ?&gt;</code></pre> <p>It would be much easier to just delete that or add to it than writing a function. </p>