Backlink exchange with website PR3 or more. send me an email to marius.duse@ordis.ro

Archive for February, 2009

A little-known feature in WordPress is antispambot() from the wp-includes/formatting.php. It is a kind obfuscator of the email address. It doesn’t create a clickable mailto link. Our e-mail with antispambot in the source code looks like this:

Screenshot WordPress antispambot email

You cannot use this function in a post or page unless you installed the EXEC-PHP Pluging. Kai had the cool idea to use shortcodes for this. This function belongs in the function.php of your theme folder:

<?php
function wpe_secure_mail($atts) {
	extract(shortcode_atts(array(
		"mailto" => '',
		"txt" => ''
	), $atts));
	$mailto = antispambot($mailto);
	$txt = antispambot($txt);
	return '<a href="mailto:' . $mailto . '">' . $txt . '</a>';
}
 
if ( function_exists('add_shortcode') )
	add_shortcode('sm', 'wpe_secure_mail');
?>

This shortcode will be used to write in your post/page:

[sm mailto="foo@bar.com" txt="here is my mail"]
//or
[sm mailto="foo@bar.com" txt="foo@bar.com"]

Share/Save/Bookmark

Wordpress is the most popular blogging program out there, while the Apple iPhone is the most popular smartphone out there. Combining both of them together equals to a lot of iPhone owners running or browsing a lot of iPhone blogs. And below we’ve compiled a list of essential iPhone plugins for Wordpress (compatible with Wordpress v2.7).

These Wordpress plugins will allow you to make your Wordpress blog more accessible for iPhone users, or easier for you to update as an iPhone owner.

Wordpress for iPhone plugin
Wordpress for iPhone plugin is the ultimate plugin for bloggers that double as iPhone owners. Whenever you access your Wordpress admin section this plugin will format it for your iPhone’s screen, making its features more accessible (and faster to load) for you. You can also manage multiple Wordpress blogs at once from one iPhone-optimized admin interface. This plugin was released by the makers of Wordpress themselves, hence it’s very well thought out and almost bug free.

Rating: 9/10

WPtouch: WordPress On iPhone
- WPTouch iPhone plugin allows you to easily make an iPhone-optimized version of your blog. Readers accessing your blog from their desktop computers will see the regular site version, while readers accessing your blog from their iPhone or iTouch will see an iPhone-optimized version of your site that looks identical to standard iPhone apps/webapps interface, therefore speeding up the loading time. But if your users don’t like the iPhone-optimized site version, they can switch to the regular site at any time!

Rating: 8.5/10

Smart YouTube
Smart YouTube iPhone plugin’s only purpose is to allow you to easily embed YouTube videos into your Wordpress blog posts. It is compatible with both the iPhone and the iTouch, as well as your regular desktop computers! Good plugin, but some more features would’ve been good.

Rating: 7.5/10

iPhone Google Map Tracking
iPhone Google Map Tracking plugin enables you to add your geolocation to your posts using your iPhone’s GPS feature and GMaps.

Rating: 7.5/10

iPhone Webclip Manager
iPhone Webclip Manager plugin allows you to make a custom icon for your Wordpress site — or even your Wordpress MU (MultiUser) site (it allows for each individual WPMU blog to have full support for custom webclips). Still a bit buggy, though.

Rating: 7/10

Iphoneize my Feed
Iphoneize my Feed plugin allows you to create an iPhone-optimized Wordpress RSS feed, featuring an icon of your choice. Sort of limited in functions, if you ask us. Certainly needs a new version, although it’s functional as it is.

Rating: 6/10

Well, that’s all the useful Wordpress + iPhone plugins we could think of for now. They should all be compatible with the latest Wordpress version v2.7 (and its revision, v2.7.1).

Share/Save/Bookmark

Doing a search on All-In-One-SEO returned quite a few places it has been mentioned over the past couple of years. Rather than reinvent the wheel here I’m going to point those posts then write a current update on what I’m doing with it now.

Wordpress 2.3 All-in-One-SEO for Meta Tags in the Header → This is the one that kicks it all off and everything I said there is pretty much the way it is today.  I have changed a couple of things.  In the screen shot the deindex tags is checked that isn’t the case any longer.

The No Index Tags Option in All-In-One-SEO →  This little post was specific to the one setting for tags and it is the precursor to the Post Tags are like Signal Flares I wrote yesterday.  In that post I said I wasn’t suggesting you turn that option on or off, Now I’m suggesting you turn it ON by Unchecking the box if it is.

Current All-In-One-SEO Settings and Explanation

My All In One SEO Settings

My All In One SEO Settings

Home Title:  This is confusing and should be called Home Page Keywords These keywords are the ones you select for the blog itself not for any particular post.  Chose Wisely Grass hopper

Home Description:  This is where you put the description of your blog

ReWrite Titles:  Check

All of the Title Formats:  These are the best formats for each option.  There is no need to change any of them.  However if you want to add more keyword phrases to the end of post and page formats or all of them for that matter do so by typing them in at the end.  For presentation purposes you should keep the same formatting using a bar | between each addition.

For example:  If I wanted to add Lab Rats Wanted to the Title tag for posts I would change the post line to:

%post_title% | %blog_title%  | Lab Rats Wanted

The same is true for any of the other title options.  Does it make a difference?  Yes it does.  I have several sites that start ranking for those search terms after keyword were added to the the title tags.

The check boxes.  Self explanatory here.  I want as many lines in the water as I can get.  Therefore, I want my Categories, Archives and tags indexed.  I’m using excerpts for all of those to be displayed (which is the default for many themes) so there is not duplicate content issues.  I know someone is going to ask how you check or set this.

Go to the theme editor and look at your Archive.php or searchresults.php etc.  You should see this line in the code somewhere:  <?php the_excerpt() ?>   if you find <?php the_post() ?> change the word post to excerpt.  Don’t forget to save.

Here I’ll mention another favorite plugin of mine Thumbnails for Excerpts which will display a thumbnail of the first image associated with a post when returning searches, category, or archive results.

Auto generate description:  I have this checked but I override it for almost every post.  Especially post that start with an image.  Auto generate will pull in the image code instead of the first sentence of the post.  I wrote about this in the post Writing Interesting and Targeted Excerpts

At the bottom of each post editor there is a bar with “All In One SEO Pack” drop that down and you can past your Excerpt into the Description.  You can also enter specific keywords if you want to override the default process for keywords.  What is the default process:  Post Tags, Category,   Since I have my categories set up as keywords and I always have post tags that works for me.  But you can override this by putting in your own list of keywords.

But remember, keywords aren’t the words you want to rank for, they are keywords related to this post.  If you put in keywords that aren’t in the post you are keyword spamming and that leaves you open to other issues with The All Seeing Eye.

Share/Save/Bookmark