WordPress Quick Tips

Posts Tagged ‘html

Oakwood Creative is hiring a front end developer!

Posted by: Vincent on: June 30, 2011

The company I work for is currently hiring a front end developer. So if you’re located in Stockholm, Sweden or willing to relocate you should definitely check it out! We have put together a small site for you turn into HTML as a work sample, which could be fun as a night activity! More info [...]

Add the browser name and version to the body class

Posted by: Vincent on: September 1, 2010

As suggested by Phil Irish, the best way to make browser specific CSS is with a class on the body element rather than separate CSS files or complex hacks. In his example he used conditional HTML to create multiple body-tags, but with this simple function you can just add the browser name and version to [...]

Tags: , ,

Keep a track of what happens in your header and footer

Posted by: Vincent on: August 30, 2010

When developing a theme you should execute the wp_head and wp_footer functions in your theme’s header and footer. The functions are hooked with an action that enables other plug-ins to add necessary files and code. But it is always good to know what happens, and how to remove unwanted code. Actions and filters are stored [...]

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 [...]


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