close
The Wayback Machine - https://web.archive.org/web/20090904031224/http://planet.wordpress.org:80/

WordPress Planet

September 03, 2009

Weblog Tools Collection: Write with a Knife

How to Write with a Knife: I have been a big fan of CopyBlogger for some time and I try to read their articles as often as I can, though not as often as I would like to. The above article, followed by another one in the series called “Do Long Blog Posts Scare Away Readers?“, have some really good advice for bloggers. I have implicitly tried to follow some of them because my past training and weakness for the English language, but having them spelled out succinctly is really helpful (I already caught myself making one of the mistakes mentioned in the article, can you tell which one?).

In addition to the above suggestions, I would like to add a few of my own. Please feel free to add others in the comments.

  • Make your titles short, sweet and eye catching. Long titles lose their punch.
  • Proof read. As Michelle says so well, write for yourself and then edit for your readers.
  • Don’t be afraid to type it out and read it aloud. Sometimes a blank slate can be vanquished with a quick swipe of the brush.
  • Punctuate and format. Big blocks of text are easy to gloss over and lose interest in.

How much time do you spend on average, on writing a post?

by Mark Ghosh at September 03, 2009 09:16 PM under brainstorming

Matt: How Twitter Works

How Twitter works in theory, by Kevin Marks. “Phatic” gestures are important to understand if you’re building on the web.

by Matt at September 03, 2009 03:03 PM under twitter

Weblog Tools Collection: WordPress Plugin Releases for 09/03

New Plugins

Appointment Scheduler – Appointy Plugin

Appointment Scheduler – Appointy plugin allows you to accept appointments from your clients 24×7x365 directly on your wordpress powered websites. It has a powerful yet simple Ajax interface which allows one click booking. With just one click your clients can see your availability in the entire month.

Formatted post

This plugin is for the users who need to post with fixed format regularly

BNS Corner Logo

Widget to display a logo; or, used as a plugin displays image fixed in one of the four corners.

Delete Duplicate Posts

Easy way to delete duplicate posts on your WordPress blog.

Updated Plugins

YouTube Video Plugin

This WordPress plugin will make it easy to embed a YouTube video in a WordPress post/page or sidebar widget. You can see a demo of the plugin if you look at the YouTube video under the AdWords logo in the right sidebar.

K2 Style Switcher

This plugin is the K2 equivalent of a theme switcher. It allows your visitors to re-skin your site from a list of K2 styles that you select.

Admin Trim Interface

Customize the WordPress admin pages by selectively removing interface elements.

Store Locator

The Store Locator plugin empowers web developers & web site owners to easily manage and display any set of important stores, products, or other locations on their website in an easily searchable manner. Uses Google Maps.

Tagspace

The Tagspace widget lets visitors browse your blog’s categories in tagspace, an engaging 3D semantic environment.

Smart Category Ordering

Allows you to alphabetize categories by post title, by trimming leading text, by post date.

by Perurry at September 03, 2009 01:19 PM under WordPress Plugins

Publisher Blog: Student Life Selects WordPress MU


Sam Guzik over on CoPress.org details the successful relaunch of Student Life, the “independent newspaper of Washington University in St. Louis”, on the WordPress MU platform:
studentlife_600

In their evaluation of various platform choices they concluded:

“Although Drupal is also extremely powerful, we found that WordPress’s interface was better suited to a workflow that would begin to allow non-technical reporters and editors to work within our CMS.”

You can read more details about this project on CoPress.org.

[ Visit Student Life ]

BERJAYA BERJAYA BERJAYA BERJAYA BERJAYA BERJAYA

by Raanan Bar-Cohen at September 03, 2009 08:21 AM under Univeristy

September 02, 2009

BuddyPress: Talking BuddyPress on WordPress Weekly

Last night on the WordPress Weekly podcast I was fortunate enough to be interviewed by Jeff Chandler and David Peralty on the topic of BuddyPress. They had a lot of very interesting questions for me to answer, along with a number of others submitted by the community.

Despite getting cut off by Skype right at the start and having to call back in, It turned into a great discussion about the project! I’ve embedded the player here in this post, but you can also subscribe to WordPress Weekly via iTunes or tune in live at 8pm eastern on Tuesdays.

by Andy Peatling at September 02, 2009 07:25 PM under wordpress-weekly

WP iPhone: WordPress For iPhone App Moving to OS 3.0


We’ve decided to standardize the WordPress For iPhone application on the new OS 3.0 going forward.  We’ve seen a large percentage of users upgrading to 3.0, as have other apps, and there are new features we want to focus on which are OS 3.0 specific.  Overall, it seems like a good time to make the switch.

For those of you who wish to stay on an earlier version of the OS, be sure to grab a copy of the current version in the app store (1.3) and you’ll be able to continue using that version on early OS versions for you iPhone or iPod Touch.

We’ll also be posting details about an upcoming beta test of 1.4 this week with the updated UI and a slew of behind the scenes updates that should greatly improve the app in terms of speed and compatibility.

Thanks for all your support and we look forward to bringing you some of those new features soon!

BERJAYA BERJAYA BERJAYA BERJAYA BERJAYA BERJAYA

by John Bickerstaff at September 02, 2009 04:45 PM under News

September 01, 2009

Weblog Tools Collection: WordPress Theme Releases for 09/01

Pure Magazine

Pure Magazine

Pure Magazine Wordpress theme is, as its name suggests, theme with pure, minimalistic and usable layout, structured to focus readers attention on content and ads, rather than designer graphics. It is built for large news sites that want to highlight important content and retain readers after their first visit.

Pesta Blogger

Pesta Blogger

Two column, widgetized theme with ability to resize images on the fly, designed with the 960.gs CSS framework.

Simple Magazine

Simple Magazine

A simple and lightweight magazine styled theme. Supporting two sidebars, widgets and nested comments. There is a two column version available as well.

Featuring

Featuring

Two column theme, with Jquery navigation menu, automatic resize of pictures from index page using TimThumb, wordpress 2.7+ comments compatible, but will also work for older versions.

Are you a theme author? Submit your theme to get listed in these posts.

by Perurry at September 01, 2009 09:05 PM under wordpress themes

Weblog Tools Collection: ¿Habla HTML?

DISCLAIMER: This post is in no way intended to promote HTML over XHTML or vice-versa. This is simply a solution to a problem for those who may find it useful.

Anyone who has used WordPress for any decent length of time probably knows that everything it outputs is in XHTML format. For those who prefer this, that’s just fine. However, for those of us out there that prefer to use HTML instead, we’re pretty much out of luck when it comes to WordPress. As it stands now, there is no easy way to make WordPress output in HTML format. But today I hope to help those people with this simple function I found around the web.

First, the code:

function HTMLify($buffer) {
    $xhtml = array('/XHTML 1.0 Transitional|XHTML 1.0 Strict|XHTML 1.0 Frameset|XHTML 1.1|XHTML Basic 1.0|XHTML Basic 1.1/', '/xhtml1\/DTD\/xhtml1-transitional.dtd|xhtml1\/DTD\/xhtml1-strict.dtd|xhtml11\/DTD\/xhtml11.dtd|xhtml-basic\/xhtml-basic10.dtd|xhtml-basic\/xhtml-basic11.dtd/', '/\/>/', '/\/\s+>/', '/xmlns="http:\/\/www.w3.org\/1999\/xhtml"/', '/\s+xmlns="http:\/\/www.w3.org\/1999\/xhtml"/', '/\s+xml:lang="(.*)"\s+lang="(.*)"/', '/\s+>/');
    $html = array('HTML 4.01', 'html4/strict.dtd', '>', '>', '', '', '', '>');
    return(preg_replace($xhtml, $html, $buffer));
}

Usage

  1. Paste the code above in a file called functions.php inside the theme folder of your currently active theme.
  2. Go into the theme folder of the currently active theme, open the header.php file, and paste this before any other code that outputs to the browser:
    <?php ob_start('HTMLify') ?>
    To use the default WordPress theme as an example, paste this code before the DOCTYPE declaration.
  3. Save everything! That’s it! If you now look at the source code for your site you’ll notice that everything is HTML instead of XHTML.

Explanation

Basically, what the code does is, it takes the entire output of the page currently being requested and runs it through our function called HTMLify. The function looks for various XHTML-type code and replaces it with HTML-type code. Pretty simple.

The true beauty of it is the function happens after everything is output by WordPress. So, all of WordPress’s code AND any of your custom code is converted. So you could even continue to code in XHTML but have it output as HTML. Cool huh?

An Alternative

While looking around the web I also came upon this website which has a plugin for WordPress that does the same job. Those of you who prefer to use plugins may be more interested in this approach.

Anyway, that’s all there is to it. A little bit of code to solve a big problem. Enjoy!

by James Dimick at September 01, 2009 12:06 PM under xhtml

August 31, 2009

Weblog Tools Collection: Embedded Video Copyright Laws?

Long story short, our Weblog Tools Videos has had some major spam issues recently and we have taken action to try and prevent this deluge of spam. Thanks to Otto for the heads up on that.

In this mess, we have also had a couple of content generators complain that their videos, hosted on sites such as DailyMotion and YouTube, were used on Weblog Tools Videos without their explicit consent. This got me thinking about the possible ramifications embedding videos on a blog or website. I could not find any permission or license information on the pages where the allegedly infringed videos were hosted and so I assumed that we should remove the videos, which we did.

  • If the video page allows embedding, does that constitute implicit permission to post it elsewhere?
  • Is there copyright and license information buried within the agreement that users electronically sign on uploading to YouTube? Do the video sites allow distinction between the various types of licensed content?
  • If the original content provider is retained (such as using an YouTube embed) and a link is provided to the original video, is that enough? How does the regular user know when not to embed without permission? Should a formal request for permission be assumed in every case unless otherwise noted?

I have tried to find any references to laws, discussions or law suits that talk about the rights of the content viewer and embedder and the best I can come up with are discussions about previously infringing content which are irrelevant in this discussion. Can anyone shed any light on this?

To take this one step further, if you display embed code on your blog or website (think ShareThis), are you implicitly allowing your content (whatever the embed allows direct publish access to) to be republished elsewhere? If you do not allow sharing of your content without permission, are you just displaying certain types of social media tools that prevent wholesale copying of content? I know I personally never factored this into my thought process. Anyone else run into these issues? I wonder what the traditional media with electronic outlets are doing?

Lots of questions without a lot of good answers. If you have some insights, please leave a comment with relevant links and I will update the post for our readers.

by Mark Ghosh at August 31, 2009 06:56 PM under embed videos

Weblog Tools Collection: Roles And Capabilities In Plain English

This morning, I read a refreshing post by Justin Tadlock on his personal blog which does a wonderful job explaining the roles and capabilities system in WordPress. See, Justin is working on a fancy new plugin which will make creating new roles and assigning capabilities to those roles easy as 1-2-3. It’s a good thing to know how a system works before you tinker around with it. While I know there is a Codex article dedicated to roles and capabilities, the way Justin explained the system illuminated a number of light bulbs in my head. It all makes sense to me now and it doesn’t seem as overly complex as I originally thought. Please give the article a read for yourself and not only provide Justin with some feedback, but I’m wondering if his explanation helped anyone else?

by Jeff Chandler at August 31, 2009 10:51 AM under roles

Mark Jaquith: TextMate WordPress Widget Snippet


I love WordPress’ sidebar widgets. I also despise coding them.

I love how they let me offload menial management tasks directly to clients, avoiding all the “Change this word to another word!” e-mails. But every time I code them, it seems to involve 15 minutes of Googling, copy-pasting from a previous widget, and looking at documentation.

So I created this TextMate “snippet” to make it easier:

class ${1:PREFIX_Name}_Widget extends WP_Widget {
	function $1_Widget() {
		\$widget_ops = array( 'classname' => '${2:CSS class name}', 'description' => '${3:Description}' );
		\$this->WP_Widget( '$2', '${4:Title}', \$widget_ops );
	}

	function widget( \$args, \$instance ) {
		extract( \$args, EXTR_SKIP );
		echo \$before_widget;
		echo \$before_title;
		echo '$4'; // Can set this with a widget option, or omit altogether
		echo \$after_title;

		//
		// Widget display logic goes here
		//

		echo \$after_widget;
	}

	function update( \$new_instance, \$old_instance ) {
		// update logic goes here
		\$updated_instance = \$new_instance;
		return \$updated_instance;
	}

	function form( \$instance ) {
		\$instance = wp_parse_args( (array) \$instance, array( ${5:array of option_name => value pairs} ) );

		// display field names here using:
		// \$this->get_field_id('option_name') - the CSS ID
		// \$this->get_field_name('option_name') - the HTML name
		// \$instance['option_name'] - the option value
	}
}

add_action( 'widgets_init', create_function( '', "register_widget('$1_Widget');" ) );

Just create a WordPress TextMate bundle, create a new snippet, paste in that code and give it a trigger like wpwidget. Then just type that trigger, press TAB, and you’ll be in the first field. Type, hit TAB to go to the next field. Places where you enter the same thing twice are handled—you only have to enter it once. There are some helpful comments that’ll guide you through the rest once you’ve filled out the basics. I find that with this snippet, I can code up a new widget in a couple of minutes, tops. This is definitely going to make it more likely for me to create a widget for a client instead of just cheating and editing their theme by hand myself.

BERJAYA BERJAYA BERJAYA BERJAYA BERJAYA BERJAYA

by Mark Jaquith at August 31, 2009 04:33 AM under Widgets

August 30, 2009

Weblog Tools Collection: WordPress Stats Plug-in Review

Stats – Stats – Stats.  They can drive everything for your WordPress site.  They can help you understand how visitors move around your site; how they got there in the first place; what are the most popular posts they are visiting; what browser and OS they are using. The list can go on and on.

I have spent a lot of time over the last few months looking for just the right plug-in to track stats on my WindowsObserver.com website and I think I may have hit the mother lode with my most recent discovery.

CyStats is written by Michael Weingaertner and has been downloaded from the WordPress.org Extend directory 32,435 times over the 23 months it has been available there. The last update was last October so it would be nice to see an update however, it works just fine with the current release of WordPress (2.8.4).

According to the author’s description CyStats provides:

  • Bounce rate, ignore-by-cookie, ignore-by-ip/post-id/user_agent lists
  • hits, visits for day/week/month/year – human or robots
  • Top referring pages
  • Most read categories and tags
  • Most read, most commented posts
  • Most read feeds, number of feed visits today
  • Internal/external search words
  • Operating systems
  • Daily, weekly, monthly and yearly statistics
  • 404 error requests
  • Browsers/clients/tools/…, w/o. version numbers
  • Template tags for most read posts, user count,…
  • Optional IP-anonymizing
  • Multi language support (currently English, German supported).
  • Optional tracking of admin area visits

Set up and installation is very easy – just install in the normal manner either via FTP upload or update within your WordPress Admin Plug-in area. Once it is installed and activated the first stop should be the Options under Settings>CyStats. Here you can configure various database settings, statistics tracking (disable userlevel tracking, admin page stats or anonymize IP’s) as well as setting filtering cookies to block IP’s, User Agents and ignoring requests by page or post ID. This page also has the Delete All function and it is highlighted in bright red – do not use this unless you want to completely remove all CyStats info from your database.

On the lower left side of your Admin panel you will see a link for CyStats and a click on that will take you to the main menu for CyStats:

cystatsmenulink cystatsmainmenu

The Index page is broken down into:

Hits and Visits

cystatshitsandvisits  

Pages and Comments

cystatspagesandcomments

Referrers and Search Words

cystatsreferrerandsearchwords

The Blog page shows recently commented posts; most active comment authors, tags and categories as well as some database statistics for your WordPress site.

cystatsblogscreenshot

The Clients page breaks down  as follows:

Browsers; Operating Systems; Browser versions and tools and scripts (including WordPress)

cystatsclientsscreenshot

Robots and Tools; Unknown user agents

cystatsrobotsandtoolsandunknown

On the Referrer page you will find referrers today, yesterday, external referrers and search engine referrers:

cystatsreferrerscreenshot

The Robots and Tools page is another summary of visits broken down by search engines; email/feed readers; tools and scripts and the unknown user agents:

cystatsrobotsandtoolsscreenshot

When you click on the Pages link you will find a summary of your most visited blog pages today; most visited overall; entry pages to your site; 404 error pages and page types (single, archive, feed, 404, home, page, month, category, search, author, day and year):

cystatspagesscreenshot

The last page is the Time page and this gives you a snapshot of your visitors per day; per hour; per weekday; per week; per month and per year. You also get hits per day; per week; per month and per year.

cystatstimescreenshot

Bottom Line

As you can see from the screenshots this is a very thorough tool and really does give you an in-depth snapshot of your sites visitors. That in turn can help you better layout your site, establish a plan to write on popular subjects and focus your efforts on the areas of your WordPress site that really draws those visitors.  I like this plug-in above others that I have used because it breaks things down between non bot and bot visits which gives me a better idea of human eyes on my site as opposed to machines which can be misleading.

I am very interested in hearing what your favorite methods are for tracking visitors on your website.

by WindowsObserver at August 30, 2009 10:00 PM under stats

Weblog Tools Collection: WordPress Theme Releases for 08/30

Eximius

Eximius

Eximius is a three column WordPress theme with left and right Sidebars. This free theme is widget-ready and SEO optimized. With simple yet elegant looks, Eximius is a very lightweight theme and loads quite fast in any browser. The two Sidebars can accommodate Wide Skyscraper Ads (160×600). Eximius has a textured navigation menu bar with integrated search box.

Persephone

Persephone

Persephone is a WordPress theme, two-column, dark background, with a right sidebar, compatible with WordPress version 2.7 upwards, and all ready for paged and threaded comments. 3 styles to choose from – good old blue, red, green…

F2

F2

F2 is a fast loading fluid width theme for WordPress. Customizable header, any of the two sidebars can be optionally turned off, and much more options in the settings page. Compatible with WordPress 2.8 and above.

Visiting Card

VisitingCard

A quick mini site with links to social networking sites. The theme comes with Theme Control Panel from where you could set all the aspects of the theme. If you don’t need some of them to show, simply leave them blank and they won’t appear.

Feusional

Feusional

A simple 3-column, fixed-width WordPress theme, with theme option from dashboard and Twitter integration.

Are you a theme author, submit your theme to get listed in these posts.

by Perurry at August 30, 2009 01:38 PM under wordpress themes

August 29, 2009

Weblog Tools Collection: What Is Your WordPress Rockstar Power?

WordPress in itself gives you enough to make the community bigger and bigger, but then we all contribute to it bit by bit.

Here is a short poll, tell us whether you are a Rockstar user who uses WordPress  for blogging or whether you are a serious Rockstar WordPress user who develops plugins or themes that help other users.

And yes please leave your comments saying why you have the WordPress power, why it makes you a Rockstar, it would really be great to listen and learn from you.

<br /> <a href=”http://answers.polldaddy.com/poll/1932746/” mce_href=”http://answers.polldaddy.com/poll/1932746/”>Are you a WordPress Rockstar?</a><span style=”font-size:9px;” mce_style=”font-size:9px;”>(<a href=”http://www.polldaddy.com” mce_href=”http://www.polldaddy.com”>polls</a>)</span><br />

P.S: I used the word Rockstar, because WordPress releases are named after musicians, and I love both music and being a Rock lover, I enjoy both my music and helping the community.

by Keith Dsouza at August 29, 2009 11:11 PM under wordpress community

WordPress.tv: An Introduction to Custom Fields

by Ryan Markel at August 29, 2009 03:22 AM under custom fields

August 28, 2009

Weblog Tools Collection: Free Weblog Tools Collection Laptop Sticker

So I was decking out my laptop with stickers the other day and realized that I really miss having a Weblog Tools Collection laptop sticker.

Weblog Tools Collection Laptop Sticker

Weblog Tools Collection Laptop Sticker

So I got in touch with a few vendors and come upon Sticker Giant who were great to work with. Now that I have a sticker for my own laptop, I have many others left on the roll and I am itching to give them away. So if you want a Weblog Tools Collection laptop sticker for free, please fill out the form (closed, reached max. number) and we will send a few out for you ASAP.

Since postage is kind of expensive, if you missed this round and would still like one, we will have more of these sticker giveaways in the future and if I play my cards right, I might even have a way for people to order them online for very little money. Stay tuned for that.

If you are a tech company or blog and have stickers of your own that you would like distributed along with these, please contact me using the form in the menu above.

by Mark Ghosh at August 28, 2009 07:57 PM under weblogtoolscollection laptop sticker

Weblog Tools Collection: WordPress Plugin Releases for 08/28

New Plugins

WP Paging

Unlike many other page navigation plugins, this one is based on a core page number function called paginate_links. Wordpress use this function for the page numbers in wp-admin. If it’s good enough to use in Wordpress core, it’s good enough right?

Gravatar Box

Gravatars are great. But many people don’t have them. Wouldn’t it be nice if, when a user was filling in the comments form, the page could automatically detect and show a users gravatar, if they have one? Or even better, show a sign up link if they don’t have one?

Fast and Secure Contact Form

Fast and Secure Contact Form for WordPress. The contact form lets your visitors send you a quick email message. Blocks all common spammer tactics. Spam is no longer a problem. Includes a CAPTCHA. Does not require JavaScript. Easy and Quick 3 step install.

Import CSV

Import CSV or XML content directly from an url or by paste the content. Auto detect url and email adress to make a link on it.

Software Shop

Add self-maintaining software shop to your WP powered site and monetize your blog.

Mobile Device Detect

This WordPress plugin integrates the mobile device detect function from detectmobilebrowsers.mobi to wordpress. It allows to redirect mobile visitors to a custom target URL.

Updated Plugins

Smart Archives Reloaded

Gives you an elegant and easy way to present your posts on a single page.

Front-end Editor

Enables “edit in place” functionality on your site: from post content to text widgets.

Gravajax Registration

Since the introduction of a 404 by Gravatar, I have updated the plugin to return a message to get a gravatar only if the user’s own is not returned.

Intense Debate

IntenseDebate Comments enhance and encourage conversation on your blog or website. Custom integration with your WordPress admin panel makes moderation a piece of cake. Comment threading, reply-by-email, user accounts and reputations, comment voting, along with Twitter and friendfeed integrations enrich your readers’ experience and make more of the internet aware of your blog and comments which drives traffic to you!

Wapple Architect Mobile

Wapple Architect Mobile Plugin for Wordpress is a plugin that allows you to mobilize your blog in minutes.

WP Carousel

WP Carousel is a plugin that allows you to add a carousel with a category’s posts. Is easy to install and use. Page not in English

by Perurry at August 28, 2009 12:19 PM under WordPress

August 27, 2009

Weblog Tools Collection: Display Thumbnails For Related Posts in Wordpress

Display Thumbnails For Related Posts in Wordpress: I have been a huge fan of related posts in blogs for some time. They really help your readers by drawing them into the conversation and increase stickiness of your blog. WordPress.com has a similar feature with related posts from various other blog on the network. Variations of the related posts plugins include our very own “Where did they go from here?” plugin and more centralized version such as the Waypath service.

The tutorial linked above explains one way to add thumbnails to your related post links in order to draw your readers attention to the links. The method is not as automated as I would like it to be and does require a few bits of code that is provided but I believe it can really help keep readers on your blog longer. I remember when small pictures were added next to AdSense ads and it raised clickthroughs to such an extent that Google had to re-examine their policy and ended up making them illegal. My suggestion is to keep the thumbnail small and relevant. Automated generation of thumbnails would be much more preferred. As part of the Weblog Tools Collection Plugin Competition 2009, George Spyros has also released his Rich Related Posts plugin that might be of interest.

by Mark Ghosh at August 27, 2009 03:47 PM under thumbnails

August 26, 2009

Weblog Tools Collection: Actions and Filters and Classes, Oh My!

Ever wondered how you can manipulate WordPress filters and actions that are defined inside a PHP class?

I did! I was working on a project recently that needed a plugin. The only problem was that the plugin was inserting some unnecessary cruft into the header of my theme. So, I figured I’d just use the remove_filter function WordPress provides… right?

Hold on a second! It’s not working!? But I put in the function name just how the codex explains it:

remove_filter('wp_head', 'the_crufty_function');

Why would it not work? Time to do some troubleshooting… So, I opened up the main plugin PHP file in my code editor and began to look around. What’s this? It’s a class! Hmm… But why should that make a difference?

It seems that WordPress requires a special reference to the function if it is defined inside a class. If you, the reader, are at all familiar with PHP classes then you probably know that you can usually access a class’s functions like this:

$the_class_initiator_variable->some_function();

So, lets give that a try:

remove_filter('wp_head', $the_crufty_class->the_crufty_function);

Still nothing… Oh boy… What do I do now? I guess we’ll try some Googling…

…Hmm…

…Not finding much…

Well… after much searching and trying different things I finally came upon this:

remove_filter('wp_head', array(&$the_crufty_class, 'the_crufty_function'));

It works! Wonderful!

You take the class initiator variable and the name of the function and put it in an array. Simple as that!

Note: No, that ampersand is not a typo! It sets up a reference to the original variable instead of copying it’s value. You’d be surprised how many people don’t know what the ampersand does in PHP. I didn’t know for the longest time.

Also, because the remove_filter and remove_action functions are so similar this method applies to both.

There you have it! Just a quick little tip regarding an issue that doesn’t seem to be very well documented. I’m sure some of the experts out there already know of this but, I didn’t. I’m willing to assume there are some people out there like me who are racking their brains over this very issue.

Hope it helps!

by James Dimick at August 26, 2009 09:37 PM under Filter

Weblog Tools Collection: WordPress Theme Releases for 08/26

Hot News Today

Hot News Today

Three columns, widget ready theme ready for WordPress 2.8. Also check out Ads Minded.

Khaki

Khaki

It’s a 3 Column Split, widget-ready theme in dark-hues of green and khaki. Fixed width featuring Custom Archives, Sitemap and Full-Width No Sidebars page templates. There is an options page for setting the text in the Info Text Box.

Shine

Shine

A clean dark three column theme, built with customization in mind. SEO friendly and semantically built using the Carrington Framework.

Broken Heart Crane

Broken Heart Crane

Two columns, fluid width, widget ready theme with nested comments

Are you a WordPress theme author? Submit your theme to get listed in these release posts.

by Perurry at August 26, 2009 12:52 PM under wordpress themes

Dougal Campbell: W3 Total Cache Plugin

BERJAYA

There’s a new WordPress cache plugin in town, and it’s called W3 Total Cache. This plugin is one of the contestants in the 2009 Weblog Tools Collection Plugin Competition.

The W3 Total Cache plugin (W3TC for short) is an advanced cache plugin, and you can only have one of those on your site at once. So if you’re currently using WP Super Cache, you’ll have to disable that first before enabling W3TC. [side note: I tried to find a good link for information about the advanced-cache functionality, but I came up empty. we need a Codex page for that]

If you’ve used WP Super Cache before, you’re probably wondering what’s different about W3 Total Cache? Everything. WP Super Cache is a static disk cache. It creates files  on disk with a certain lifespan, and gets the web server to use those instead of firing off PHP to generate pages on-the-fly, thus saving CPU and time. So, on the bright side, it saves your server a lot of work. On the down side, you lose some of the dynamic nature of your site. The entire page will remain cached as-is until the cached version expires, or until it is forced to regenerate (because you update the page, a comment is added, etc).

W3 Total Cache works differently. It utilizes multiple techniques to improve performance, including: object and query caching; page caching; HTML, CSS, and javascript minification; gzip compression; CDN (Content Distribution Network) support; and browser caching via ETags. Currently, the caching is based on APC and/or memcache. I’ve suggested that they add XCache, as well. The closest other plugin is probably Batcache, which also uses a memcached backend for caching.

Page caching is what WP Super Cache does. Except that W3TC uses your in-memory cache (APC or memcache). Memory being faster than disk, you’ll typically see an improvement when serving pages cached in this way. This does mean, however, that you want to have a decent amount of memory reserved for your cache. The W3TC docs suggest dedicating at least 128M with APC. If your server is strapped for RAM, or you can’t set up a dedicated memcache server, this plugin might not be for you.

Object and query caching means that the results of MySQL database queries are saved in the memory cache for later use. For example, when someone views your page normally, WordPress (or any other dynamic web application) will fetch things like your category list, your blogroll, and other information from the database, build the HTML page for the browser, and then promptly discard all of the database results when it finishes. The next time someone views the page, it runs all those same database queries again, even if nothing has changed, wasting CPU cycles and time. W3 Total Cache will save the results of these queries and other objects that WordPress builds in the memory cache for re-use.

Minification is the technique of stripping out unneeded information from your HTML, CSS, and javascript. This can include extra whitespace and comments. Depending on how your original files are formatted, this can result in fairly significant savings (probably 10-20% in many cases). The smaller the files, the faster they can be delivered to the browser. This technique also includes combining multiple CSS or javascript files into a single request. Normally, each CSS and javascript file linked to from your theme requires your browser to make a separate network connection to fetch it (a relatively slow operation). By combining these, the plugin reduces the number of network connections needed.

Gzip compression is a binary compression like you see with ZIP files. This is a more advanced method of converting a large file into a smaller one. Again, meaning you can serve it up to the browser faster. Delivering content to the browser as fast as possible is important, because the browser speed perception of the user can often determine whether or not they stick around to read that content.

Support for CDNs (Content Distribution Networks) means that you can host static files like images, CSS, and javascript on a seperate server. Typically, CDNs are optimized for static content. Some CDNs are also geographically distributed, and automatically route the requests to the nearest/fastest location. Even if you don’t use an external CDN (like Akamai, Amazon S3, or Voxel), you can set up your own server optimized for static content, and use that.

ETag support is currently supported in WordPress for feeds (I added that to the core myself, way-back-when). This is a feature of the HTTP specs designed to let servers and browsers coordinate caching. Basically, the first time a browser requests a page from a server, the server will generate an ‘ETag’ header with a unique identifier based on the last time the page was modified. The browser can save a local copy of the page in its cache, along with the ETag. The next time the browser requests the same page, it can send the ETag back to the server. If the ETag on the server-side hasn’t changed (the page hasn’t been modified), then the server returns a “304 Not Modified” response, which tells the browser to just display its cached copy of the page. W3 Total Cache extends this support to other WordPress-generated pages, not just feeds.

I’ve got the plugin running on this server currently. The only problem I’ve run into was that with the HTML minification “line break removal” option turned on, it caused my reinvigorate.net analytics script to fail for some reason. I haven’t fully explored all the options yet, and I don’t have as much memory allocated to memcached as I’d like, but it seems to be working pretty well so far. I should be able to judge more after it’s been running for a few days.

You can enable various optimizations independently of each other, so there is a lot of flexibility for utilizing various caching techniques while still allowing some things to remain dynamic. I’m curious to hear from others who try this plugin out, and see what they think about the balance between performance improvements and dynamic elements.

W3 Total Cache Plugin

by Dougal at August 26, 2009 04:10 AM under xcache

August 25, 2009

Publisher Blog: Brazil’s Culture Ministry Selects BuddyPress


Thanks Cátia Kitahara for lettings us know about a new BuddyPress site which is being used to enable and foster debate about various aspects of today’s digital life in Brazil. Built by the Brazilian Culture Ministry, the beta site is now live at culturadigital.br:
Brazil-Culture-Ministry-BuddyPress

The site describes itself as “an open public space destined to democratically create and build a public policy of digital culture, integrating citizens, government institutions, state companies, civil society and the market.” Making use of all the “Facebook-in-a-box” features of BuddyPress, this site is off to a great start and could be a model for other organizations and companies looking to build this kind of community engagement and interaction.

[Visit culturadigital.br ]

BERJAYA BERJAYA BERJAYA BERJAYA BERJAYA BERJAYA

by Raanan Bar-Cohen at August 25, 2009 05:39 PM under Cátia Kitahara

Matt: Blog Mothership

Your Blog is Your Mothership.

by Matt at August 25, 2009 03:14 AM under Asides

August 24, 2009

Weblog Tools Collection: 21 Great Plugins for Manage Multi-Author Blogs

21 Great Plugins to Manage Multi-Author Blogs Efficiently: This is an interesting collection of plugins to manage multi-author blogs and add extra visibility to your co-authors. Weblog Tools Collection is a multi-author blog that is put together by highly dedicated and talented authors in various parts of the planet. We collect and put together news, information and articles throughout a 24 hour period and are probably watching over the blog and the comments in one way or another. We rarely ever meet face to face and tend to communicate via IM, email and a very rare phone call from time to time.

Some of the plugins mentioned in this list are popular such as Role Manager, which is very useful in and of itself. However, there are others that sparked immediate interest in my. The ability to add co-authors to a post would be quite cool, as would the ability to add quick information about the particular author to the various posts. Many of the larger multi-author blogs such as Mashable and TechCrunch already do this (I am not sure how, but I assume there are some custom plugins involved) and now you can do the same.

Speaking of multiple authors, are you a passionate plugin picker and a theme tamer? If you are not afraid to speak to thousands of people in an instant, have confidence in your writing abilities and are interested in breaking into the blogging world with aplomb, we would like to hear from you. Tell us what you will do to make this blog better using the Contact form above.

Thanks Thrive Creative Group via WeblogToolTips

by Mark Ghosh at August 24, 2009 10:37 PM under wordpress-plugin

BuddyPress: The New BuddyPress Theme Architecture

For the next version of BuddyPress there has been a fair amount of re-factoring work done. We’ve listened to your feedback from version 1.0 and made a number of internal changes that are going to make your lives as plugin developers and theme designers easier.

One of the biggest changes in BuddyPress 1.1 will be the way themes are built.

In version 1.0 BuddyPress required two themes to function. The first theme was a “WordPress home” theme that handled the blog and front page of your site. It was essentially a standard WordPress theme. The second was a “BuddyPress member” theme that would handle the display of pages generated by BuddyPress. There were many reasons for handling themes this way, but as time passed it was evident theming in this fashion was hurting the majority to help the minority.

In BuddyPress 1.1 there will be one single theme to handle everything. BuddyPress will ship with a social network framework theme that acts as a parent theme. The default theme will be a child theme based on this framework and contains only images and css. Building a new BuddyPress theme will be as simple as creating a child theme based on this framework. If you’re not familiar with child themes a quick google search will bring up lots of useful information.

This approach brings big benefits. When building a new theme you don’t need to re-create every template file. You can override specific template files where needed. Most importantly though, your theme will update automatically with the latest functionality when the framework theme is updated.

If you’ve already created a BuddyPress theme using the old system don’t worry, these themes will continue to work for at least the next couple of versions. You should find it fairly simple to convert your themes to the new system. The old default themes only took a few hours to convert over.

Using the framework theme is of course, just an option. You can still go ahead and create your own frameworks or mashups with a completely unique style or structure. As with WordPress themes, the possibilities are infinite.

If you’d like to get started with the new framework, I’d recommend running the trunk version of BuddyPress. The best way is to fetch this via Subversion, or you can download a zip of the current snapshot using the link at the bottom of this Trac browser page.

BuddyPress 1.1 is on track for a September release.

Update:: There seems to be confusion about using existing WordPress themes. You can still use any existing WordPress theme and copy over the extra templates from the framework theme. This will allow you to continue to use your current theme and also keep the same look and feel for BuddyPress features. You may need to make some some CSS adjustments.

by Andy Peatling at August 24, 2009 07:07 PM under themes

Alex King: The Carrington Framework Q&A; Part II

I’ve published another Q&A on the Carrington Framework on the Carrington web site. This one covers some additional questions I saw popping up in the forums and comments.

It’s great to see folks being able to get into Carrington a little more of late, I guess the additional documentation has been helpful.

Also, remember to submit your Carrington powered sites to the Showcase once they go live, I’m looking forward to seeing what people have built.

BERJAYA

by Alex at August 24, 2009 06:10 PM under WordPress

Weblog Tools Collection: WordPress Plugin Releases for 08/24

New Plugins

Super Cat Lister

SuperCatLister greatly extends the abilities of Wordpress as a content management system. It does this by giving site designers the ability to insert links or content from posts in specified categories into other posts.

Testimonials Manager

Testimonials Manager is a WordPress plugin that allows you to manage and display testimonials for your blog, product or service. It can be used to build your portfolio or to encourage readers to subscribe / buy your products.

Search API

This plugin creates a basis for a new search engine to replace the simple input box search currently employed. The plugin creates an API to support advanced search capabilities such as boolean search, multiple content searches (posts, tags, pages, authors and any available metadata) and flags (finding posts with A string in category C) through additional plugins.

WP-PreventCopyBlogs

Track visitors who try to copy your content

Updated Plugins

Last Modified Footer

The Last Modified Footer plugin generates a message stating the date / time the content being viewed was last modified. This information can be placed in the site footer, or elsewhere on the page.

PhotoQ

PhotoQ is a plugin for photo enthusiasts or anyone who has a lot of pictures to post. It turns your WordPress blog into a full featured photoblog and starting with this newest version supports virtually any theme there is. The plugin is aimed at automating publishing of photos as much as possible.

SpamTask

SpamTask is a spam protection plugin for WordPress, created to prevent comment spam in the most efficient way. The blog spam filter is known to catch all spam robots.

Ezy Nav Menu

Makes use of WP’s built in ‘Edit Links’ to create and manage a website navigation menu that can be displayed using a custom template tag.

Store Locator

The Store Locator plugin empowers web developers & web site owners to easily manage and display any set of important stores, products, or other locations on their website in an easily searchable manner. Uses Google Maps.

K2 Style Switcher

This plugin is the K2 equivalent of a theme switcher. It allows your visitors to re-skin your site from a list of K2 styles that you select.

by Perurry at August 24, 2009 01:09 PM under WordPress

August 23, 2009

Weblog Tools Collection: WordPress Threaded Comments the Easy Way

Comments are the incentives you get for writing a post and if you write good ones you are bound to get 100s and 1000s of comments on your posts.

But wait not every comment on your blog is directly related to the post itself, there are times when commentators respond to other commentators, in short we call that a discussion.

Flashback to WordPress 2.7, there was a new introduction in the form of threaded comments, this was done so that people on your blog can comment and respond to each other and communicate and discuss.

Coming back to future, it has been so long and many users still do not have threaded comments on their blogs.

Reason 1: Most of the WordPress users are not programmers and use themes created by others, so unless they use a theme that has support for threaded comments they don’t make use of that feature.

Reason 2: Many users have knowledge to program and edit but are just plain lazy (example me) and do not update their themes to add threaded comments support.

Now how does one implement threaded comments in WordPress when we fall into the above two categories? Pretty simple, by using the power that WordPress itself provides users with, in the form of extensibility, in short with a WordPress plugin.

WordPress Thread Comment is a excellent choice for adding threaded comments to your blog without having to have any coding skills, once you install the plugin it does everything for you, you do not even have to edit your themes to add threaded comment support on your blog.

Another option is to use Brian’s Threaded Comments which was actually the first one to add threaded comments to WordPress blog, however it still requires users to do a bit of theme changes.

Of course there are other options available in the form of third party services, like, take for instance Automattic’s own Intense Debate and Disqus, these services make commenting and discussion more easier.

Now do you have an excuse for not having threaded comments on your blog? BTW do you use threaded comments? If not why, if yes how? Don’t stop short of just reading this we have threaded comments enabled so discuss as much you wish :-) .

I would be thankful if you take part in this small poll with regards to threaded comments.

You can find more options for threaded comments by visiting this search on WordPress extend.

by Keith Dsouza at August 23, 2009 09:25 PM under Threaded Comments

August 22, 2009

Weblog Tools Collection: WordPress Theme Releases for 08/22

Empty Canvas

Empty-Canvas

Empty Canvas is a two column, minimalist widget ready theme

Red XHTML

Red XHTML

Two column, widget ready, red, white and grey theme

Simple Magazine

Simple-Magazine

A simple and lightweight magazine styled theme. Two column, fixed width with support for widgets and nested comments.

Scuola Mondo’s SEO Wordpress Theme

scuolamondo_1_1

A minimalist, one-column, fluent and widgetized SEO Wordpress theme with sidebar at the bottom of the page. The colours can be modified and an Avatar functionality is already built-in template.

Swift

swift

Two column WordPress theme designed for high speed loading with four widgetized sections available in eight color schemes.

Are you a theme author? Submit your theme to us to get it listed in these posts.

by Perurry at August 22, 2009 01:35 PM under wordpress themes

August 21, 2009

Gravatar: A new look for Gravatar.com


A few days ago we released an updated look for Gravatar.com.  We really felt that the old front page was cramped, stuffy, and heavy.  So we worked hard to lighten it up, make it more immediately informative, and gave everything a little more room to breathe.  Playing a starring role on the new front page is our introduction video (which I like to call Gravatar, the Motion Picture.) Anyhow this is just a small update from Gravatar-land.  We hope you’ll enjoy the new look while we cook up some cool stuff for you in the future.

–DK

BERJAYA BERJAYA BERJAYA BERJAYA BERJAYA BERJAYA

by apokalyptik at August 21, 2009 05:32 PM under Gravatar

WordPress Planet

This is an aggregation of blogs talking about WordPress from around the world. If you think your blog should be part of this send an email to Matt.

Official Blog

For official WP news, check out the WordPress Dev Blog.

Subscriptions

Last updated:

September 04, 2009 03:00 AM
All times are UTC.