Blog Archives

Oakwood Creative is hiring a front end developer!

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

Tagged with: , , ,
Posted in Uncategorized

Add your own CSS classes to tinyMCE

The Rich Text Editor (RTE) in WordPress use a JavaScript-library called tinyMCE. It is a widely used library and can be configured in a lot of ways. WordPress let developers filter the settings to tinyMCE so that it fits your

Tagged with: , , ,
Posted in Intermediate

Add the browser name and version to the body class

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,

Tagged with: , ,
Posted in Beginner

Style WordPress images and captions

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

Tagged with: , ,
Posted in Beginner

Use WordPress functions to include your CSS

When I’m not developing for WordPress, I try to use a specific folder structure for my project. I have all my .css-files in the /css/-folder, all JavaScript in /js/-folder and so forth. I tried to keep this up for WordPress,

Tagged with: ,
Posted in Beginner, Best Practices

Make use of the body_class function

The function body_class was introduced in WordPress 2.8 and should be included in every theme. Include it in your HTML like so: And you will end up with something like this It can come quite handy when you want pages

Tagged with: ,
Posted in Beginner, Best Practices

Custom CSS class for your menu items

When using the wp_list_pages function in WordPress you get a generated list of your WordPress pages. To be able to style them, the items get several CSS classes. Example: These classes work in most cases, but in thoose cases they

Tagged with: , ,
Posted in Beginner
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 121 other subscribers