•  
Recent Posts

The launch of WordPress.tv

By Austin On January 17, 2009 2 Comments

Hey, in case you are unaware, WordPress has launched a new site called WordPress.tv. Check out the full post at the WordPress.org blog. Or visit WordPress.tv

…WordPress.tv is also now the place to find all that awesome WordCamp footage that was floating around the web without a home. See the presentations you missed and get a peek at behind-the-scenes action. We call it WordCampTV.

You’ll also find slideshows of presentations made by Automattic employees and other WordPress gurus, plus interviews I’ve done with the media and

Click here to continue reading


Can′t add pagination on WooThemes Thick Theme

By Austin On January 17, 2009 No Comments

Everything I have tried has led to nothing. And I have tried six way’s from Sunday to get my main posts to paginate.

example one:

<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts('offset=1&showposts=' . get_option('woo_other_entries') . '&cat=-' . $GLOBALS['ex_asides'] . '&paged=$paged' ); ?>

example two:

<?php global $myOffset; global $wp_query; $myOffset = 1; $paged = intval(get_query_var('paged')) ? get_query_var('paged') : 1; $temp = $wp_query; $wp_query= null; $wp_query = new WP_Query(); $wp_query->query(array( 'offset' => $myOffset, 'category__not_in' => array($GLOBALS['ex_asides'],7,84), 'paged' => $paged, 'showposts' => get_option('woo_other_entries'), )); ?>

example three:

<?php global $myOffset; $myOffset = 1; $wp_query = new WP_Query(); $wp_query->query(array( 'offset' => $myOffset, 'category__not_in' => array($GLOBALS['ex_asides'],7,84), 'paged' => $paged, 'showposts' => get_option('woo_other_entries'), )); ?>

And after those tries, I just can’t get more pages beyond the option’s that I choose, and can

Click here to continue reading


S-TasticDesigns.com

By Austin On January 17, 2009 No Comments


Pulling custom fields from outside the loop

By Austin On January 17, 2009 3 Comments

In the last post “Creating a custom widget” I showed you how to create a custom widget. Well in this post I will show you how I used my custom widget to display all post with a certain custom field from outside the WordPress loop.

In the last post I used this tag:

<?php include(TEMPLATEPATH . '/includes/showcase.php'); ?>

Now I will show you what the file showcase.php has:

<ul> <?php global $wpdb; $sql = "SELECT wposts.* FROM $wpdb->posts wposts, $wpdb->postmeta wpostmeta WHERE wposts.ID = wpostmeta.post_id AND wpostmeta.meta_key = 'gallery-url' AND wposts.post_status = 'publish' AND wposts.post_type = 'post' ORDER BY wposts.post_date DESC LIMIT 8"; $pageposts = $wpdb->get_results($sql, OBJECT); $output = $pre_HTML; foreach ($pageposts as $post) : setup_postdata($post);Click here to continue reading


Creating a custom widget

By Austin On January 16, 2009 3 Comments

Today let’s learn a simple quick trick on how to create a custom widget. For my example I will show you how I created my Showcase widget located in the middle, to the right of the posts.

First under your functions.php file type in the following:

<?php // Custom Widget function MyCustomWidget() { ?> <li class="widget"> <h2 class="heading">Latest Showcase</h2> <ul> <?php include(TEMPLATEPATH . '/includes/showcase.php'); ?> </ul> </li> <?php } register_sidebar_widget('The Custom Widget for Showcase', 'MyCustomWidget'); ?>
  • Always make sure your code is between the
Click here to continue reading


TheGreeneWife.com

By Austin On January 16, 2009 No Comments


Display custom url if comment authors url is blank

By Austin On January 15, 2009 1 Comment

Here is a nifty trick for your comments.php template. If someone comes to your site and leaves a comment but doesn’t leave a url back to there site, the default link that is shown in place of the php code comment_author_url is the current page link.

That might not look good. So, here is a little trick that I just implemented into my site. Besides installing the twittar plugin and pulling Twitter avatars I wanted to use the image itself for the authors url like. But if the author doesn’t have a Twitter avatar or a Gravatar it will display a

Click here to continue reading


DoodleBunz.com

By Austin On January 15, 2009 No Comments


Twitter avatars inside your WordPress comments

By Austin On January 15, 2009 5 Comments

Ricardo Sousa, who writes for Smashing Magazine created a great plugin called Twittar.

This plugin will use someones Twitter Gravatar if their email address is not connected with a Gravatar.

For more info check out the full post at Twitter Avatars in Comments: A WordPress plugin

Image credit: Ricardo Sousa

Click here to continue reading


DarrenAlawi.com

By Austin On January 14, 2009 No Comments


OIO Publisher & Mac

By Austin On January 12, 2009 No Comments

I just want to make a quick announcement that the OIO Publisher plugin is an awesome and powerful tool for advertisement’s controled by you!

But I upgraded my girls site JeanaSay.com to the latest WordPress 2.7 and already had the latest OIO install.

Anyway it didn’t work in the Mac environment under Safari, we couldn’t log in to the regular wp-admin and got a pop up of database entry’s missing..

hmmm….??

Click here to continue reading


WordPress Wiki Plugin

By Austin On January 11, 2009 1 Comment

The guys from Instinct whom released the E-Commerce Plugin have release a new plugin today. Dan Milward even went as far as to announce that this plugin was a gift for Matt Mullenweg, seeing how today is his 25th birthday.

The plugin: WordPress Wiki.

Head over to Instinct’s site and check it out.

Click here to continue reading


VideoGameDude.com

By Austin On January 11, 2009 No Comments


Winner: Free Revolution Theme

By Austin On January 11, 2009 2 Comments

I was just sitting in the back listening to Shayne Sanderson from Insctinct, who talked about their e-commerce plugin and a new plugin that released today.. Once he finished, Jason dug his hand in the ticket bucket and my ticket was called. I won a Pro Revolution Theme Pack from Brian Gardner.

Totally sweet!

Click here to continue reading


Wierd custom fields

By Austin On January 11, 2009 1 Comment

I am not sure if this is from a pluigin error. But I suddenly have custom field names “atfemail_” and random letters and digits @ random numbers and digits dot com.

hmm.. Any idea’s? I think it may be from the subscribe to comments plugin.

Click here to continue reading