Poetic Code

Vimeo logo

Vimeo embedding on WordPress

WordPress supports natively lots of embeds from external services, like Vimeo or Youtube, and more recently Spotify and Rdio. In real life, if you paste a link from a supported service onto the post content area, WordPress will do the magic of transforming that link into html to support the requested service. But, what happens when

WordPress 3.7 behind the obvious

WordPress 3.7 “Basie” is out! So, where should we start after upgrading? There are so many things going on with the new WordPress version that it is hard to go through everything in a post. For sure, this version is a quantum leap into the vision of making WordPress upgrades as silent as Chrome browser

Post Type Archive issue

I’ve been struggling with this identified core bug regarding the post_type_archive_title() function which also affects the wp_title(). With debug mode on, hereby the messages I’m getting: PHP Notice: Undefined property: stdClass::$labels in /wp-includes/general-template.php on line 700 PHP Notice: Trying to get property of non-object in /wp-includes/general-template.php on line 700 I’m trying to load the custom post

Cache and Options API

One of the simplest and powerful WordPress APIs is the so called Options API. It allows one to store data in the database easily, in a standardised way. One of the most used functions within this API is the get_option( $option_name ) which retrieves the value stored in DB. For one of my last projects I

Amoreira Beach near Aljezur

Customizing WordPress Dashboard

I’m taking some days off on the sunny Aljezur, a small village at the south of Portugal near great beaches. Apart from all the relax, I’m also catching up with all the twitter and feedly buzz from last weeks. One of the topics that caught my attention was a tiny survey that is going on about WordPress