Sunday, May 20, 2012

Dealing With Multi-Site In WordPress 3.0 Forward

When I received the news that WordPress was upgrading to 3.0, I was ready to start preparing to upgrade my Blogs. I wanted to take a look see at what was involved in the new upgrade and to start getting my Plug-In list ready, and so on.

As I looked into the new upgrade I found where “Multi-Site” was now a part of the upgrade or what

NoFollow; DoFollow. What?

This post may be a bit hard to follow, get it?  I know we all hate a complex post, but that’s the nature of this site.  Today’s post will deal with the “rel=NoFollow” rule that is present in the WordPress software and how you actually deal with it so that you have what is called in Blogging as a “DoFollow” Blog.

First “NoFollow” is an attribute which tells the bots of the world which links in the comments section are worthy to follow and which are not to be followed.  Unfortunately you can’t provide this information yourself,  WordPress does it for you automatically.  And it is always set at “NoFollow”.

There are a number of plug-ins that deal with this issue but I prefer a “hard code” to avoid a lot of junk in the trunk.

As I stated above that “NoFollow” is an attribute.  There is no such thing as a “DoFollow” attribute.  There is ………. well nothing!  I usually use “friend” as my attribute within my code to make my Blog a “DoFollow” Blog. However you can you use anything you want really.  So you can use “DoFollow” or “friend” or “Spamin’ Sammy”  because the bots only see one thing “NoFollow” or nothing.  So whatever you wish to place in between the quotes is good with the bots, they will follow any link so long as “DoFollow” is not present.  The potically correct way to do things however is to just leave the quotes empty.  So you would be looking at “NoFollow” in your line of code.  And you would change this to ” “.  That’s right, nothing!  However it makes finding things a bit diffuclut for me so I just put “friend” in my code.  I told you this post would be hard to follow! Now ……….. where to put the code!

Your edit takes place in “wp-includes > formatting.php”  The edit is shown below and can be found on about line 1290 or so of this file:

function wp_rel_nofollow_callback( $matches ) {
$text = $matches[1];
$text = str_replace(array(‘ rel=”nofollow”‘, ” rel=’nofollow’”), ”, $text);
return “<a $text rel=\”nofollow\”>”;

The nofollow Attribute can be found in a number of files and in a number of locations within those files.  But just stick to the edit below and you should be fine.

function wp_rel_nofollow_callback( $matches ) {
$text = $matches[1];
$text = str_replace(array(‘ rel=”nofollow”‘, ” rel=’nofollow’”), ”, $text);
return “<a $text rel=\”dofollow\”>”;

You Blog will now automatically follow all comments that you approve. Two points to remember:
1. Do Not add another attribute to the comments when and if you edit them. This will cause the bots to “NoFollow” the comment link.
2. When you go to upgrade your WordPress Version. The upgrade will overwrite the edit that you placed in the formatting.php file.

Linux Squared – Gimp – E-Book Design

Man, ……… I’ve had a couple of weeks of hectic “Extreme Blogging“. So extreme in fact that I’ve had to skip a week, while I got it together enough to be able to post. It all started with my trying to update an E-Book template that I had found on the web, when I first started out Blogging. No matter how

Double Posting with Two Windows

I came up on this the other day for the first time when I was doing a really long post! Most of what I do is on the Micro level, so I rarely get a chance to post anything of any real length. When I did, I hit a huge snag that just about did me in, as I was trying to make a deadline with one of my blogs.

Here it is: When editing a “Draft” you have the ability in WordPress to Preview these changes, as you are logged in to the admin area, in the preview you will notice the word “edit” next to the date and your name. When you press this edit to clean up your copy you will open a new tab in firefox or a new browser window in Explorer. Now it only does this one time, however you now have two tabs or two browser windows open for you to edit in. Once you save in one, you will not be able to save in another. The trouble is, when you hit the preview button and after reading your post you decide to edit and hit the edit link, you should be forced to back-up, like hitting the back button on the tool bar of you internet browser, not the ability to open a new tab or new browser window. Man, ………. I seen some bugs, but this is a killer.

After I had work through my copy and realized my problem, I was like four hours doing this post, and I was forced to stay with it, because I was looking at a deadline.

Once you publish your post and you decide to edit that post, you still get this behavior with WordPress. I’m sure there is a work around, I just don’t know it yet. I just wanted to get this info to you as soon as I realized the problem. So, do yourself a huge favor and when you hit the “Preview Changes” button; after you are through editing, just turn off the tab or window!  If you know of a work around, leave a comment and help us out, please. Thanks. See you next week!

I’m Never Going To Get This Long URL In My Twitter Post

Tiny URL’s ……. what’s up with that ?  I don’t know about you but the fact that my post URL goes from: “What I Did On My Summer Vacation” to: http://fe.f48/EFA1.z ……… leaves me a little unsettled. If you ask the Tech guys they’ll tell you how it shows good form.  That’s GEEK

Dealing With WordPress TV

For those who follow this blog, you are probably aware that I’m not a big codex fan. Dealing with the endless forums and broken links, I can honestly say that I don’t think I have ever found a solution to my problem through the codex. I am however, kinda impressed with WordPress TV …….. kinda.

While I’m pretty sure that the codex is a lost cause, I have hope for WordPress TV. Video after all is the going rage these days for the blogger. However, while working with WordPress TV I have noticed some bugs that you should be aware of.

I just can’t put my finger on it. How is it that the WordPress software is bullet proof, but the support is so weak? I just don’t get it. I digress !

One of the cool things about WordPress TV is the ability to actually embed the video inside your post. Yeah, Yeah, Yeah, Youtube this ! But WordPress TV is at least a little better in quality than the other video services that allow you to embed. To control traffic to their sites some of the better one’s don’t even let you embed. So to have a good quality video to embed inside your blog about blogging is like kinda cool.

When you reach the video that you want to embed, you will see the word “embed” in the top left of the video. Once you click on the control menu button, you will see a drop down menu that gives you several choices. Unfortunately, those choices don’t include anything that will fit your template more than likely, so you will have to adjust the dimensions in the embedded code.  I’ve provide the code so that you can check out the dimensions change.

<center><embed src=”http://v.wordpress.com/wp-content/plugins/video/flvplayer.swf?ver=1.15″ type=”application/x-shockwave-flash” width=”585height=”400” allowscriptaccess=”always” allowfullscreen=”true” flashvars=”guid=NBZ853Xn&amp;width=400&amp;height=224&amp;qc_publisherId=p-18-mFEk4J448M” title=”Introducing WordPress 2.9 Carmen”></embed></center>

The “Copy To Clipboard” thing is kinda cranky too, so be patient. It doesn’t always want to copy or paste for that matter.

Here it is for those who need a quick look see:

Adding A Widgeted Footer To Your Theme

If you follow this blog you know that I am a big fan of Studio Press.  So for this week’s post I thought I would give you the instructions on how to add one of those way cool footer widgets to the bottom of your theme. It has four columns.  Unfortunately I don’t have a header to match the footer just yet, but I’m working on

Adding Twitter Links To Your Posts

It seems that Twitter is all the rage these days, really pretty cool when you think about it. I personally think tweets should be more than 140 charters, but what do I know ? I don’t have a Twitter Account for this website yet, but I do have one for Bloggers Market.com. I have a link at the top of the homepage, but for the coming

Gone Phishing. Oh Yeah, Happy New Year !

For the extreme blogger, it is a natural evolution to grow your online e-commerce interest outside of your blog. You get a wild hare one day and off you go …….. sometimes before really thinking it through.

I have a number of interest outside of my blogs, unfortunately I don’t really have enough time to devote to them. Such is

Merry Christmas Everyone !

If you follow, you know that this can be a pretty intense blog …….. ok, boring blog ! Sometimes I think I would rather eat sandpaper than have to post to this blog, not that I don’t love it …….. it’s just that I don’t really care to wallow in all the techie crap when I would rather have fun doing something else instead. But when you get jammed up and you need a quick answer, so that you can get on with it ……… well that’s why I’m here …….. now enough ……… back to the fun part.

I thought I would give it a rest with this weeks post and introduce you to a great little blog from a shameful self-promoter named Jordan Cooper. I actually pick up the contact through David Risley’s site. So without further ado, I present Jordan Cooper; a poet who doesn’t really know it.

Ohh ……. before you leave me, check out this video of Jordan!

Merry Christmas Everyone and God Bless You All !

I Hope to See You All Next Year and Thanks for Following !