DiggingIntoWordPress

by Chris Coyier & Jeff Starr

All-AJAX Theme Update

Posted by on

Just a heads up! Chris’ awesome All AJAX theme is now updated to version 2.0, featuring a whole slew of improvements:

  • Updated to use jQuery 1.7.2
  • Added missing ajax-loader.gif file
  • Updated enqueue-script function
  • Added tags display to single post-views
  • Added support for oEmbed media embedding
  • Added readme.txt to theme directory
  • Updated some template tags such as bloginfo(url)
  • Fixed search results for queries with multiple terms
  • Replaced hard-coded comment form with comment_form() in comments.php
  • Changed get_settings() to get_option() throughout theme
  • Added <?php wp_link_pages(); ?> to single.php
  • Removed some redundant code in footer.php
  • Defined $content_width variable in functions.php
  • Added licensing, version, tags, info to style.css
  • Replaced screenshot.png for version 2
  • Cleaned up code, markup, etc.

Plus lots of other details to help improve the plugin based on requests and feedback from users of the theme. I also used the excellent Theme-Check plugin as well as WP’s built-in debugging feature to help find ways to further improve the already awesome theme. For more info, see the readme.txt file or check out the following links:

Screenshot

[ Screenshot: All AJAX theme ]

How to get it

The All AJAX theme is one of our exclusive themes and is included with any book purchase. For those of you who already own the book, visit the Member’s Area to download All AJAX version 2 at your convenience. To get the book, themes, and all of the extras, visit the DigWP Book Store. Thank you!

13 Responses

  1. Fantastic! I want it! Can I have it buying the book in .pdf?

  2. Roberto October 3, 2012

    hi, I own the book and the previous theme. Although i find it awesome i’m afraid using it as a basis for my client’s sites will give me trouble in the long term as wp core or libraries need to be updated and break the ajax functionality as happened to the previous version.
    Any idea on how to handle that? It’s a pity to let go of this theme’s wonderful functionality because of this concern.
    ps: I’m not ajax or jquery savvy but giving my baby step in that direction.
    Thank you from Brazil.

    • Jeff Starr

      The good news is that All AJAX uses standard WP functionality that isn’t likely to change (and if it does would be fixable).. and most of the fancy Ajax stuff happens via jQuery. Even so, I think the theme is more of a starting point for further development and customization than a turnkey set-it-and-forget solution.. such themes are available, some even Ajaxed :)

  3. Is this search engine/ SEO friendly?

    By the way, this is cool!

    • Jeff Starr

      Yes, it’s fine for SEO.. try the theme without JavaScript enabled — that’s how the search engines crawl sites. The Ajax stuff is for human visitors :)

      Note: drank too much cough medicine this morning – updated comment to reflect reality.

  4. Talk about an SEO nightmare!

    • Jeff Starr

      Actually the theme works great without JavaScript, so perhaps more like an SEO daydream..

      • Yeah, AJAX stuff done correctly isn’t more difficult for search engine bots than any others websites. I’ve checked the demo and it works very well, the back button of the browser is also working. And as you said, browsing without javascript is also possible.

  5. Hi,
    I’m trying to adapt the theme’s javascript to an ongoing project and I ran into some code glitches specific to my code. Basically I need to prevent allajax.js from addressing some “a” tags in the page that must be handled by other scripts?
    For instance, I use a script to create an accordion effect in a lateral menu. The parent li with class=”expandable” shouldn’t be affected by the alljax script.
    I also use a zooming script for images that swap the images in a window when you click their thumbnails.
    I’d also like to know what I can safely remove in the code since I don’t have search functionality and comments in this project.
    That’s basically it.
    Jeff, can you help me with this one?
    Thanks
    Roberto

    • Jeff Starr

      I would try adding a class to anything that you don’t want handled by the Ajax script, and then use a conditional “if/else” statement to only process links that don’t include the class. It’s just an idea of one way to do it, hopefully it makes sense.

  6. I really like this theme and the associated css tricks video explaining WP Ajaxing. One feature I’d like to see is that the main navigation menu responds to the back/forward buttons – i.e. the grey bg moves relevant to the current page. It works with clicks at the moment but not the back and forward buttons.

Comments are closed. Contact us with any critical information. Thank you!

Code is poetry