Author Archive

How to Only Retrieve Posts With Custom Fields

32
responses

One question I come across a lot regarding custom fields is how to only retrieve posts based on a custom field. For example, if a post has a custom field of “MyData”, someone might want to only retrieve that particular post. The WordPress Codex has a technique for retrieving posts based on custom fields, which consists of writing your own query and going through the results. The technique in the Codex is good, but I’ve found a re-usable way one can retrieve only posts with certain custom fields. The technique I use makes use of two custom functions placed in a theme’s “functions.php” and a custom WordPress Loop. Let’s get started — The “functions.php” file First, let’s place the two custom functions in the “functions.php” file. This file should be in your theme directory, but if it isn’t there, you can create one using any text editor. Here are the […]

[Continue Reading...]

Define Your Own WordPress Loop Using WP_Query

78
responses
by
on
April 13th, 2008
in
HOW-TO, WordPress FAQs, WordPress Hack

We all know what the WordPress Loop is right? If not, there are many great tutorials around the web that explain the WordPress Loop. One of the easiest ways to navigate and manipulate the loop is to use the function called query_posts. Nathan Rice calls it a WordPress developers best friend. When you use query_posts, however, you risk the following: Potential to interfere with plugins which make use of the Loop. Potential to invalidate WordPress conditional tags. Having to deal with resetting, rewinding, offsetting… I say skip query_posts. In a way you’ll still be using it, but the better (and sometimes easier) technique is to instantiate your own WP_Query object and create your own loop. Creating Your Own Loop With WP_Query The first step is to instantiate your own variable using the WP_Query class. What we’ll be doing in this example is creating a common feature on blogs, which is […]

[Continue Reading...]

Admin Favicon Plugin Video Review

3
responses
by
on
April 7th, 2008
in
WordPress, WordPress Plugins

Today’s WordPress Plugin video review is of Admin Favicon by John Kolbert. Video Summary: Admin Favicon is a plugin for those who have a lot of open tabs and would like to use a Favicon to show using the WordPress Administrative Panels. Pros: Extremely simple to use and quite useful for those who have a lot of open tabs in their browser. Very light-weight script. Cons: None. Admin Favicon is not ideal for those who use desktop publishers or browsers without tabbed support. If you would like your own plugin reviewed, please get in contact with me via e-mail (ronalfy+wltc @ gmail dot com). Please keep in mind I will not review premium plugins. For more videos, please check out our brand new video website at Weblog Tools Videos.

[Continue Reading...]

WordPress 2.5 Upgrade Guide(s)

70
responses
by
on
April 2nd, 2008
in
WordPress

There are many guides out there (one in particular I won’t dare mention) about upgrading to 2.5, but I was curious how your experience was. I’ve personally upgraded two of my blogs — one manually, and one using Keith’s awesome WordPress Automatic Upgrade plugin. In both cases, I ran into no issues aside from a few incompatible plugins (you did check the list, right?). To get the ball rolling, here are several links to some upgrade experiences around the web. My hope is to make this post a resource with a list of upgrade guides and experiences. Please feel free to add your own in the comments below (only one link please). Alex Frison shares with us how to upgrade 2.5 in 5 minutes. Random View shares his experience with upgrading to 2.5. Christer Edwards discusses updating, not one, but multiple blogs to WP 2.5 with no issues. Jeffro2pt0 discusses […]

[Continue Reading...]

WordPress 2.5 Released

61
responses
by
on
March 29th, 2008
in
LinkyLoo

WordPress 2.5 has officially been released. Along with the release is a refresh of most WordPress properties, including WordPress.org. Here is a link to WordPress 2.5 and the official release announcement.

[Continue Reading...]

AJAXed WordPress Video Plugin Review

18
responses
by
on
March 18th, 2008
in
WordPress Plugins

This is my first video plugin review for WeblogToolsCollection, so any feedback is appreciated.The plugin being reviewed is AJAXed WordPress v1.11.1 (Download | Plugin Homepage). The browser I used was Firefox 2.0 on Mac OS X Leopard. WordPress 2.5 was used to demonstrate the plugin’s compatibility with the upcoming version of WordPress. Video Summary: AJAXed WordPress is a good plugin if you want some quick AJAX functionality in your WordPress theme. Pros: Easy installation. Ingenious modular design. Cons: Some template editing. Auto-inclusion of credit link (can be removed in the Plugin options). Request for Feedback Since this is the first video review, feedback is much appreciated. If you like these kind of reviews, then there will be more on the way. Furthermore, if you would like your own plugin reviewed, please get in contact with me via e-mail (ronalfy+wltc @ gmail dot com). Please keep in mind I won’t review […]

[Continue Reading...]

WordPress Hacks and Techniques List

9
responses
by
on
March 16th, 2008
in
LinkyLoo

Noupe has a very large list of various WordPress hacks and techniques for all you coders out there. Topics include the Loop, categories, excerpts, navigation, trackbacks, custom fields, permalinks, and much more. The list is the first part of a four-part series to cover various aspects of WordPress.

[Continue Reading...]

Managing Trackbacks and Pingbacks in Your WordPress Theme

43
responses

With all of the recent discussion regarding trackbacks and pingbacks on Weblog Tools Collection, I thought I’d mention several ways one can deal with trackbacks and pingbacks in the context of a WordPress theme. The topics I will be covering in this article are on separating trackbacks/pingbacks from regular comments, and also how to remove trackbacks and pingbacks from a WordPress theme completely. Separating Trackbacks/Pingbacks From Comments I know what you’re thinking: numerous posts have already been written on how to separate trackbacks from comments. But what I present here is an actual separation using the “functions.php” feature for WordPress themes along with the regular “comments.php“. Both should be located in your theme directory. Figure 1: Theme Directory Setup Modifying the functions.php File The “functions.php” file is a lifesaver for any theme developer or tinkerer wishing to add custom code or functions to themes. The code in the “functions.php” file […]

[Continue Reading...]

Gravatars and WordPress 2.5

98
responses
by
on
March 3rd, 2008
in
HOW-TO, WordPress

Several commenters mentioned on yesterday’s post regarding Gravatars without a plugin that WordPress 2.5 would be having built-in Gravatar support. And indeed WordPress 2.5 will come with Gravatar (aka, Avatar) support. Within this post I will demonstrate how Gravatars will be used with WordPress 2.5. As a side note, 2.5 has yet to be released as of this writing. Gravatars in the WordPress Admin Panel WordPress 2.5 marries theme authors and casual WordPress users together with support for Gravatars in the WordPress admin panel. WordPress users can access the Gravatars settings in the Settings->Discussion panel. If a theme author has decided to use the WordPress 2.5 function, then WordPress users can easily control their Gravatar usage in the admin panel. In the admin panel, WordPress users can change: Whether Avatars (aka, Gravatars) are displayed or not. Which rating of Avatars are shown. Avatars in the WP Admin Panel Please keep […]

[Continue Reading...]



Obviously Powered by WordPress. © 2003-2013

css.php