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…
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…
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…
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,…
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…
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,…
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…