'

How to implement LESS in WordPress, first approach

How to implement LESS in Wordpress, first approach

I recently discovered LESS, as defined by its creator “The dynamic stylesheet language”. A method to write CSS using variables, functions and improved classes. I fell immediately in love with it and I pondered about how to implement LESS into my WordPress development and workflow. In fact I want my new themes to be responsive and if I’m right in [...more]

WPX: List Similar Posts

WPX List Similar Posts is a very simple functionality plugin for WordPress that gives you a new function to display a list of posts that share the same tags or categories of the main article. Or if you prefer you can copy and paste the function wpx_list_similar_posts into your functions.php file. For a better use, please consult the examples at [...more]

WPX: The Post Thumbnail, Enhanced

Often you want to highlight a title of an article putting aside an image, more appropriately a thumbnail. WordPress offers a function for that scope, the_post_thumbnail. In order to make use of it, you need to activate the relative support, and to set a Featured Image in the proper panel while editing the post. To make things easier, you can [...more]

Keep your CSS in order, for your own good

Start now to keep your CSS in order: you'll thank youself sooner than you may expect!

Commenting and titling your code may seem superfluous to a beginner, but sure like taxes if you keep going designing website you will have to come back to old projects. More than that, when other designers open your code, necessarily they need to understand what you did and how. Perhaps also why. The sooner you’ll tune your syntax, the more [...more]

You don’t need TimThumb, use add_image_size for Thumbnails

matrioska

How to use add_image_size and the_post_thumbnail in our themes. Being TimThumb still an excellent plugin, it’s time to give him a break: we have better ways to manage thumbnails in WordPress. No doubt that TimThumb is a wonderful script. It allowed me to avoid the tangle to re-upload pictures for old articles when switching to a new theme. I thought [...more]

Pure CSS3 Sliding Menu in the Sidebar

Pure CSS3 Sliding Menu in the Sidebar

Sure you can use jQuery to fancy a sliding menu. But what about doing the same thing using purely CSS, keeping so the whole website lighter and faster? Wouldn’t be a better approach? In this quick tutorial I explain how to create the same effect I achieved in the sidebar of this website. A sliding menu, made of pure CSS3. [...more]

CSS3 selectors you should know as your pockets, part one

Digging into CSS3, this article exposes few new selectors, priceless resource to keep our CSS clean, while still keeping a precise control on the HMTL. Looking for ways to optimize your CSS? This article may help. Selectors and pseudo classes are in fact what makes a Cascade Style Sheet effective, linking it to the various elements in the HTML. Being [...more]

Introducing Loop Magic

Loop Magic is an approach to the WordPress loop. It has the purpose to reduce duplications of the code, keeping the theme slim and simple. It accounts for all the different loops a theme may need to perform, keeping the control room in one unique location. This should ensure better management. WordPress is organized in several key files, each with [...more]

Google Syntax Highlighter Reloaded

Not happy with methods and plugins to highlight codes, I’m presenting a solution to load the scripts only where necessary, aiming to deliver soon a proper plugin for WordPress. As quick note, I realized that the task may need a proper plugin. I’m working on it and I’ll publish something about in the next days. Stay tuned. After few test, [...more]

5 CSS3 properties you need to master about Background, Corners and Shadows

CSS3 Properties, Box Shadow, using the box-shadow property to clone objects

A quick review of few basic CSS3 properties, with examples and tips about how could we use them in elegant ways. Inspired by articles and trublematics about CSS3, I decided to sum up and I’ve been pleased to discover I can add few tips on the topic. Even if we should be aware that still the majority of the users [...more]

Page 1 of 212