WordPress Quick Tips

Archive for March 2010

Google Charts?

Posted by: Vincent on: March 23, 2010

Google Charts in WordPress? Hmm, maybe!

Style WordPress images and captions

Posted by: Vincent on: March 22, 2010

When inserting an image into the rich text editor you get the following: When viewing the code in the HTML tab you see that the following Shortcode is created: And the Shortcode creates the following HTML: When developing new themes it really helps to use the existing markup. You could redo the HTML if you [...]

Tags: , ,

How to change the allowed HTML tags for WordPress

Posted by: Vincent on: March 12, 2010

WordPress by default filters out potentially harmful and/or invalid HTML. But in some cases you might want some of that invalid HTML! One of those cases occurred today when we needed to embed a Google Form in a post. To do so, Google provides you with HTML code that contains a iframe, but uh-oh! The [...]

Never use PHP short tags for WordPress development

Posted by: Vincent on: March 5, 2010

Today while working on a project where we had collaborated with freelance developers I noticed that some pages weren’t looking as they should. A quick glance at the code revealed that the developer was using “short tags” to include the header. To use short tags, the short_open_tag option must be turned on in php.ini. On [...]

Embed Flash files in WordPress

Posted by: Vincent on: March 2, 2010

While developing a site for a client a need emerged for us to be able to embed Flash files in the content. To do so you could paste some HTML in the content editor and hope for it not to be parsed away. And to keep it the HTML or XHTML  valid while doing so, [...]


About

WordPress Quick Tips is a blog supplying great tips about WordPress.

We hope to create a great knowledge resource for WordPress developers as well as serving a reminder for all the forgetful ones.

The blog is created and run by Vincent of Oakwood Creative

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 86 other followers

Follow

Get every new post delivered to your Inbox.

Join 86 other followers