Monthly Archives: June 2010

The HTML in my Links are being stripped out!

One rather embarrassing thing has just reared it’s ugly head and that’s noticing that all the links in my posts are getting the HTML stripped prior to displaying. So there is a rouge plugin that’s performing some modification to the content before it’s put in front of you. Everythings fine in the DB, the posts are exactly as I have written them, links and all. Unfortunately it’s about 4:30 am here and I’ll have to stare at this with fresher eyes tomorrow. While it’s interesting, in a strange way, it’s just about made my blog useless at the moment… And just when I was link happy giving thanks to everyone in the previous post. After I hunt down the culprit ( the usual suspects ) I’ll report back here. I think I need to add a "Whoops" category now!

UPDATE

I’ve just noticed that this is happening under the "Posts belonging to Category ‘Plugins’" pages. I think that’s my fault!

UPDATE #2

Well I finally got to delve into where the "code" was misbehaving. The funny thing is that on this current theme, the Categories Widget is using the archive.php file, under /wp-content/themes/eximius. Of course this is the Eximus Theme. Now the archive.php is using the_excerpt() function to display the post and not the_content() function. There is a much better description of what’s going on at http://codex.wordpress.org/Function_Reference/the_excerpt It’s time for a theme change anyways now the site is upgraded to WordPress 3.0.

Adding Style to Plugins

I’m near completion of my latest plugin that requires a little CSS magic.
Being a huge Fan of CSS, I thought it best to check out how it could be done.

I’ll give credit where credit is due.

Thanks goes to  Artem Russakovskii and his post on wordpress-plugin-development-how-to-include-css-and-javascript-conditionally-and-only-when-needed-by-the-posts

And as a follow up from the good folk from the WP Codex – http://codex.wordpress.org/Function_Reference/wp_enqueue_style and also regarding a new look on CSS and styling Anchor Tags – the Proper Way…. as shown by Anatoly Lubarsky at http://blogs.x2line.com/al/articles/159.aspx

To all of the above, a big thanks. I went from “hey how do you go adding in CSS with a plugin” to having it working in about 20 minutes, including research and dreaming up new stuff.

That’s another step forward in the Plugin “How To’s”.

Plugins for WordPress

Plugins make life  more enjoyable. Takes a lot of the headaches out of building a interactive website.

There is a plugin for just about anything you want you website to do.

If you can’t find what you are looking for then you need to find Tim Brownlaw. The code guru of the internet. By the way did I mention that he is the owner of www.advancedwordpresstutorials.com