This week’s WPCandy Roundtable will be filled with BuddyPress Core developers: John James Jacoby, Boone Gorges, and Paul Gibbs will be sitting down to chat. If you caught last week’s show with the marketplace theme developers, you’ll know a thing or two about what to expect tomorrow afternoon.

We’ll be streaming the Roundtable on the WPCandy Stream at 2pm EDT (18 UTC) with the chatroom buzzing if you’d like to swing by and get your question answered by the group.

Speaking of questions, if you have one (or a few) that you’d like to see posed to these BuddyPress pros leave it in the comments below. Make ‘em good ones!

WP App Store, the project aiming to make plugin and theme purchases easy within the WordPress dashboard — and which we previewed a couple of months ago — quietly launched yesterday (complete with slick intro video). Their plugin is downloadable on their website, which once installed will give you a new top-level menu item for browsing commercial themes and plugins recently added to their system.

Seventeen theme and plugin partners are in place at launch, a few more than announced when the original teaser page went up. Brad Touesnard, the developer behind WP App Store, said that a couple of the vendors that originally showed interest haven’t been responsive, while others just aren’t in the store yet. Developers interested in bringing their own theme or plugin products to WP App Store can request an invite.

Touesnard’s certainly not on his own with this project. In addition to the vendors partnering with WP App Store, his advisors include prominent WordPress business owners Adii Pienaar, Carl Hancock, and Jason Cohen.

Continue reading

Source: Brad Touesnard

On this week’s episode of The Weekly Theme Show, we discuss buying themes via a plugin like WP App Store, the results of the ThemeThrift project, and all sorts of options and dashboard notification fun stuff. Sounds like fun, doesn’t it?

This episode is sponsored by the upcoming WordPress service Raft.io and the Typecase plugin by UpThemes.

Continue reading

Episode #32 of the WPCandy Podcast sees Brian Krogsgard and I (yeah, seriously!) running down the most important WordPress news of the week in just about 30 minutes. I’ve said it before, but I’ll say it here again: if the other podcasts we produce here overwhelm you, the WPCandy Podcast proper is likely the show for you. Very little discussion, but quite a bit news and links.

If you only listen to one WordPress podcast this week, make it this one.

This episode is sponsored by the Typecase plugin by UpThemes and the upcoming WordPress service Raft.io.

Continue reading

properly enqueue scripts in WordPress  themes
There are a lot of themes out there. And a ton of them are not including javascript files properly. So theme developers, please pay attention: this is how to include scripts in your themes properly. And guess what? It’s really easy.

Let’s lay some groundwork:

  1. This example would go in your functions.php file.
  2. This example assumes your theme is a parent theme.

In this example, I’m registering four scripts, and enqueuing two. I’ll explain it afterward.

<?php
/*
* WordPress Sample function and action
* for loading scripts in themes
*/
 
// Let's hook in our function with the javascript files with the wp_enqueue_scripts hook

add_action( 'wp_enqueue_scripts', 'wpcandy_load_javascript_files' );

// Register some javascript files, because we love javascript files. Enqueue a couple as well

function wpcandy_load_javascript_files() {

  wp_register_script( 'info-caroufredsel', get_template_directory_uri() . '/js/jquery.carouFredSel-5.5.0-packed.js', array('jquery'), '5.5.0', true );
  wp_register_script( 'info-carousel-instance', get_template_directory_uri() . '/js/info-carousel-instance.js', array('info-caroufredsel'), '1.0', true );

  wp_register_script( 'jquery.flexslider', get_template_directory_uri().'/js/jquery.flexslider-min.js', array('jquery'), '1.7', true );
  wp_register_script( 'home-page-main-flex-slider', get_template_directory_uri().'/js/home-page-main-flex-slider.js', array('jquery.flexslider'), '1.0', true );

  wp_enqueue_script( 'info-carousel-instance' );
  
  if ( is_front_page() ) {
    wp_enqueue_script('home-page-main-flex-slider');
  }

}
?>

Now let’s break it down

Continue reading