Cloning a remote WordPress site in your local computer

This is a trick that I usually use when I need to clone an existing WordPress installation in my local computer.

0 Comments Short URL , , , ,

Wrapping text around images in Photoshop

Learn how to make texts in Photoshop that can be shaped. Wish I knew about this trick earlier, as the author said, is not as obvious as you want it to be. Great video by Adrian Taylor from Method & Craft. They always have the best tricks that you really didn’t know about. Here’s a [...]

0 Comments Short URL , , ,

Placeholder text for Gravity Form input elements

Surprisingly GravityForms hasn’t implemented the placeholder feature yet. I know they have plans on doing so soon, but we need a solution while we wait for that. I came up with this quick solution using only GF filters and jQuery. Check it out!

13 Comments Short URL , , , , , , , , , ,

Get pages by template name in WordPress

Quick post to show how to retrieve pages by certain custom template. Example of use List all the published pages that use the template “page-quote.php”: How does it work? The template assigned to the page is stored as a meta data by the key ‘_wp_page_template’. Using the get_pages() WordPress function, we can ask for the [...]

13 Comments Short URL , , , , ,

Use jQuery to select child element

Suppose you have the following structure: This code will let you access the child elements of ‘.section’ when you use an ‘each’ function I hope this helps someone, I kept forgetting how to do this, so this is mostly a reminder for myself. Source: http://stackoverflow.com/questions/306583/jquery-this-selector-and-children/306904#306904

1 Comments Short URL , ,