Blog

Los Angeles Front End Developer
PSD to Wordpress, HTML, CSS & jQuery.


June 22, 2016#

Design Fussiness

A common theme I see with many first-time website owners is the desire to be fussy. They are excited about their new business and that enthusiasm bleeds into their ego. They accidentally lose site of the user and instead focus on themselves. It’s a fine balance, finding the life of the business a projecting it to […]

June 2, 2016#

Protected: Our Trip to Africa Part 2

There is no excerpt because this is a protected post.

Protected: Our Trip to Africa Part 1

There is no excerpt because this is a protected post.

May 23, 2015#

Taxonomy-Taxonomy.php

If you have a custom post type with a custom taxonomy, you probably want an archive page that will pull in only the posts associated with each term, but without having to know each term in advance – ie. You want a category.php template for your custom taxonomy. Learning the file name was easy (taxonomy-taxonomyname.php […]

May 7, 2015#

Better counter (PHP counter for WordPress Loops)

Before the loop: $i = 0; Inside the div in the loop: div class=”item-<?php echo (($i++) % 3) + 1 ?>” Result – The first item has class = item-1, the 3rd item has class = item-3

January 17, 2015#

Creating a Social Media Pop Up (for FB, twitter)

I dont know why but most of the time when you generate links to social media they open in a new tab instead of that convenient pop up. If you try to put them in a modal it doesn’t work because they are all set not to work as an iFrame which is a major […]

December 10, 2012#

Replacing the GRAVITY FORMS button input with a button tag

Paste this code into your theme’s functions.php file. /** * Adjusting the HTML of the submit button to match design * * * @param $button string required The text string of the button we’re editing * @param $form array required The whole form object * * @return string The new HTML for the button */ […]

November 23, 2012#

Custom Post Types and Categories (taxonomies)

Ok so there’s a lot of answers to this on Google but if you don’t really understand some of the jargon it’s going to be really frustrating. After 2 days of banging my head against my keyboard trying to figure out the magic combination of file name and query I finally figured it out, and […]

January 12, 2012#

WordPress – Display featured image in RSS with link to original post

So you want to show a featured image/thumbnail in  your RSS feed and you want it to be clickable? No problem. Open you functions.php file and paste this in.. //// THIS INCLUDES THE FEATURED IMAGE/THUMBNAIL IN OUR RSS FEED set_post_thumbnail_size( 300, 150 ); // SET TO WHATEVER SIZE YOU WANT – 300 pixels wide by […]

WordPress – Handling Videos in your RSS feed

Some RSS readers will display videos inline, others will ignore them completely leaving your users very little idea of wtf they should be seeing. This is frustrating. Here’s a quick solution that will give all users an easy way to get back to your blog to view the video in all it’s glory without leaving […]

MENU