Search
If you've got an idea or some
interesting news - let us know

Sexy CelebritiesMovie and Television NewsVideo Games News

Currently browsing the date: December, 2007

Site Updates Making Buzzfeed XHTML Compliant

One thing I find with Wordpress is that with each plugin you add, you have extra hours involved in making the code XHTML compliant. I still have yet to find a way around the YouTube video ad code problem that I mentioned in a previous post. Sigh. This time around I added a plugin to a few of my sites for Buzzfeed and sure enough…there were compliance issues.

First of all, the CSS styles for the images get located into the page code in the same place where Buzzfeed shows up. This causes a problem so I copied and pasted the styles into my own style sheet and then deleted that section from the template.php file located in the plugin folder. The next problem I ran into had to do with the item titles. If a Buzzfeed item was called “Jim’s Computer,” then the Alt tag for the image would go all screwy. This is because they used apostrophes all through the PHP plugin echo code.

Again you want to edit the same template.php file and look for the following section in the 3rd echo set:

You want to change this to the following and then don’t close the file yet. We won’t be done.

Notice I only changed the apostrophes to a \” on each side, but now it will work fine. If a feed item is “Jim’s Computer” then it won’t be a problem.

The final step is to find the “BuzzFeed” link at the top of this entire block of code and the “Add To Your Site” at the bottom. They forgot to add the closing anchor tags on these links which also screws up the compliance. Put them in right after the text I quoted above and then save the file and upload. Your site should be compliant now. Cheers!

Popularity of this post: 60%

Category Flagged: Site Updates
Comments Off

Currently browsing the date: December, 2007

Special Items WordPress 403 Login Error

Just last night I got some weird error trying to get into one of my sites. It was a WordPress 403 Error, except the page was telling me something about being a spammer and downloading tools to fix it. It said if I couldn’t fix the problem myself then I was to email the site admin and of course it gave me my own email address.

I was starting to think the worst and started searching Google to see who else this had happened to. I lucked out right away and found out that it was the Bad Behaviour Plugin that was a problem. To make a long story short, don’t panic, go to the link below and download the updated plugin, FTP to your server and you’ll be in.

Bad Behaviour 2.0.11 Fix

It explains more at the site of why this problem happened. I hope this helps if it’s happened to you.

Popularity of this post: 66%

Category Flagged: Special Items
Comments Off



Add to Technorati Favorites



Page Validations: xhtml validation  css validation
Page Translation: Deutsch Espanol Francais Italiano Arabic Japanese Korean

All trademarks and copyrights on this page are owned by their respective owners.
Any comments are owned by the original poster.
Everything else copyright © 2005 - 2008 Wizard Words Blog Network

Close
E-mail It