Hybrid version 0.8 beta 1

I know some of you have been waiting a few weeks for this, but I’ve been holding off on the release because of decisions that had to be made for WordPress 3.0 (such as whether menu management would go in).

A lot of love and care has been put into this release, all starting with a single forum topic. Thank you to everyone that has participated in this discussion for the past few months.

I’ll go over some of the bigger features below, but I’ll wait until 0.8 is officially released to cover everything.

Efficiency

At the heart of every new release is the idea that the code should be updated and be made as efficient as possible. So, I’m always looking for ways to cut back.

Version 0.8 steps things up a bit though. The built-in Get the Image script now takes advantage of the WordPress cache API, so using a persistent cache plugin can really speed up some of the calculations required. This is especially so if you don’t use custom fields for images.

The authors widget has been a particularly painful nuisance when listing many authors. As far as I know, WordPress hasn’t been updated to fix the problem, so the theme has a fix built right into it. Using the authors widget will only query your database once now (rather than possibly hundreds of times).

Navigation menus management

The most-asked question on the support forums: How do I change my menu to do X?

I’m not one to complain, but I sure will be ready to finally stop getting these questions. I know we’ll still have menu questions, but this will make things much easier for both me and you.

It won’t be without its initial problems though. To fully take advantage of the menus system, I needed to make some changes that would be better for Hybrid in the long run. So, a straight transition from using the current page menu and the new system isn’t going to work. So, there’ll be a new Hybrid setting to use either the new system or the old system.

Also, menus in 0.8 will collapse if there are no menu items present just like what we currently do with widgets.

Quick tip: Most menu transitions can be made by changing all instances of #page-nav to #primary-menu in your style.css file.

Widgets revamped and reloaded

One of my favorite things about Hybrid is its built-in widgets that replace the WordPress widgets. They pretty much allow you to do anything. However, there’s been one small problem that has been fixed in this update.

The new widgets provide much more of a point-and-click experience. No longer do you have to look up IDs for things like excluding a tag from your tag cloud. You simply select what you want.

And many more features

Those are some of the biggest features to me. Others of you might enjoy the complete overhaul of the breadcrumb trail extension or deeper integration with custom post types. There’s definitely something for everyone in this release. I just can’t cover it all here.

I’ll be documenting and writing tutorials based on these new features, so look forward to that.

Beta testing

Before you decide to beta test, you need to be running the latest version of WordPress trunk. No, I don’t mean that beta release from a few weeks back. I mean the newest code available. It’s important that you do this. Otherwise, your site will likely break horribly.

The biggest things I want to test are backwards compatibility and performance. Let me know if this upgrade doesn’t work with your current child theme. This way, we can make sure any issues are fixed before the official release.

My biggest concern with performance is the widgets page. If some of you with 1,000s of posts, pages, tags, categories, and/or users can test this, I’d be happy to hear your feedback. Basically, I want to put it through a stress test to make sure it’s loading optimally.

The above is the zip package. If you prefer to upgrade via subversion, the repository is here:

http://svn.locallylost.com/themes/hybrid/trunk

33 Comments


  1. Will gladly check out and test the latest. I installed your truck a few days back with a new site I playing with. It’s running the latest WP install. But seems beta 2 dropped today, so I’ll update both and see what/if anything breaks.

    New site: WPWag.

    Thanks Justin!


  2. Irony? WP 3.0 b2 just came out 😉

    I’ll test both! I like living on the edge.


    1. Yeah, I was writing this post and as soon as I hit publish, I visited Twitter. What did I see? A bunch of tweets announcing WordPress beta 2.


    2. Okay, it acts weirdly with my hybrid-news front page (maxing out width). Turns out I didn’t have a div for content on those pages. Fixed, done. Can’t tell a difference on the layout from the front end.

      Regarding nav menus – So right now they’re not using the new WP system, I gather? I’m assuming that you’re talking about ways to override news_cat_nav() and wp_page_menu(), which I currently do with functions. Cause I’m weird like that 🙂 I changed over my page-nav to primary-menu calls in functions, just to get ahead.


  3. Hey, I have the previous beta version of WP on my test blog. I use the basic hybrid theme on this site and I just recently tried this new beta version of Hybrid.

    To put things in perspective, there’s a great chance that I don’t know what the hell I’m doing.

    However, I did change over to this new beta version of Hybrd and everything looked fine. Then when I clicked on a post or page, I get the following PHP error:

    Fatal error: Call to undefined function is_post_type() in /home/a9336018/public_html/wordpress/wp-content/themes/hybrid/library/extensions/breadcrumb-trail.php on line 94

    I only use this site for test purposes, so I don’t mind. Just trying to provide some helpful feedback.

    cheers,

    Greg


  4. Hey Justin,

    Once again, I’m a huge fan of the Hybrid Framework. I’m a fairly basic WordPress user to put things in perspective.

    As an FYI, I did resolve the above problem by uploading the breadcrumb-trail.php file from the Hybrid 0.7.1 version.

    Greg


  5. Hi Justin

    Since moving to the WP3.0 beta 2 & hybrid 0.8 beta couple, i can no longer display the full text of my posts, seems that the excerpt is now by default, and don’t know to overrule it…

  6. 4tpeaks

    Did a clean install of both the latest svn-versions of wordpress 3 and hybrid and realised that none of the hybrid-widgets would show up on the page. In fact, none of the widget settings were saved when reloading the settings page. Tried to manually remove all of the twenty-ten widgets and even did a widget-reset, unfortunately without changing this odd behaviour.

  7. Erick

    Justin,

    I’m running the latest nightly build of WP 3.0 beta… I have your beta Hybrid theme loaded up. Whenever I add the title, description, keywords to a page they don’t save. Any ideas?


  8. I’m getting this error message on all single posts and pages:

    Warning: Illegal offset type in isset or empty in /home6/tracingp/public_html/severne/wp-includes/post.php on line 733

    Doubly puzzled as post.php doesn’t have 733 lines.

    Thanks!


  9. I just found the Hybrid framework through a friend of mine and would like to test it 🙂

    I’ll be testing the Hybrid 0.8-beta-1 with WordPress 3.0-RC2-15161.

  10. Toby

    I get this on several clean WP/TH installs presently

    Warning: Illegal offset type in isset or empty in /home/USER/public_html/wp-includes/post.php on line 732

    Obviously USER varies from install to install.

    It occurs on every post/single page just before the breadcrumbs and immediate following
    [code]

    [/code]

    1. Toby

      code:

      div id=”content” class=”hfeed content”


  11. Just downloaded and upgraded to WordPress 3.0-RC2-15204 and hybrid-0.8-beta-1 – I’ll let you know of any bugs. Thanks for sharing.


  12. New WordPress 3.0 Menus: “The current theme does not natively support menus, but you can use the “Custom Menu” widget to add any menus you create here to the theme’s sidebar.”

    Just a note.


  13. Fatal error: Call to undefined function is_post_type() in …/wp-content/themes/hybrid/library/extensions/breadcrumb-trail.php on line 94

    I’m running wp 3.0-RC3-15241


  14. I’m running clean install of WP RC3 and Hybrid .8 Beta 1 (just downloaded) and also getting in Appearance –> Menus a message “The current theme does not natively support menus, but you can use the “Custom Menu” widget to add any menus you create here to the theme’s sidebar.”

    Any solution for this?

    1. Jonathan Beacher

      Forgot to mention I did change in screen.css all references of #page-nav to #primary-menu


  15. Thanks, @itsmattadams!
    So, line 15 of
    library/functions/menus.php
    should be changed from
    `add_theme_support( ‘nav-menus’ );`
    to
    `add_theme_support( ‘menus’ );`
    Then, it says: “Your theme supports 0 menus. Select which menu appears in each location.”
    instead of:
    “The current theme does not natively support menus, but you can use the “Custom Menu” widget to add any menus you create here to the theme’s sidebar.”
    in theme locations.

    Now, I just need to figure out where I want to put menus.

  16. Brenton

    Hi

    If you open the file navigation-links.php and change line 20 from:

    to

    It should sort out the “Fatal error: Call to undefined function is_post_type() in …” error.

    This is just a quick fix.

    1. Brenton

      Not sure how to include code in my posts.
      [code]

      to

      [/code]

  17. Brenton

    Change the “is_post_type” to “post_type_exists” in line 20 of navigation-links.php


  18. Thanks for all the feedback, everyone. Hybrid 0.8 will be released soon and has fixes for all the bugs everyone found.

  19. Brenton

    Hi

    Can I still use Hybrid Tabs Plugin, Hybrid Hook Widgets Plugin and Hybrid Hook Plugin with 0.8 Beta?

  20. PetePete

    Is there a stable release of ThemeHybrid for WordPress 3.0 yet? If not, do you have an estimated date for it’s release?

    1. deadhippo

      In another post I think he said he is just waiting for wordpress to update their theme depository.

Comments are closed.