Twitter Status With PHP and Twitter JSON (snippet)
WARNING: The below code is deprecated as of June 11, 2013. I’ve created a snippet that’s updated here: Twitter Feed With PHP and JSON using API v1.1 Note: the API has a limit of 150 pings per hour, so...
View ArticleGetting Started With Sublime Text 2 Package Control
Be sure to change to HD for best viewing. Sublime Text 2 Package Control is one of the coolest parts of Sublime Text 2. It allows you to install “packages” or add-ons that help increase the experience...
View ArticleFont-Face Not Working in Firefox
I recently started using MaxCDN as a content delivery network for my site. Did you notice the speed boost? Anyway, when I switched, I also minified my CSS. Everything was super until I tested in FF...
View ArticleFixing upload_max_filesize In php.ini
I was working on a local installation and needed to import all the posts/pages/everything from a current WordPress installation, so I exported the XML file. “But John,” you yell, “why didn’t you just...
View ArticleCustom Excerpt Lengths in WordPress
WordPress generally handles all of your content pretty nicely, including the excerpt, but sometimes you need a custom excerpt length and WordPress doesn’t support that out of the box. After some...
View ArticleRemove div and ul from wp_nav_menu
I looked and looked for ways to remove div and ul from wp_nav_menu() and I finally found a way. The Code <?php wp_nav_menu(array( 'menu' => 'Main Menu', 'items_wrap'=>'%3$s', 'container' =>...
View ArticleCSS3 Animation Not Working in IE10
This was very frustrating. I knew I’d written my keyframes correctly for an animation, I tested it out with all the other browsers (I know Chrome needs the -webkit- prefix) and everything was fine, but...
View ArticleResponsive Squares Without Flexbox
I was thinking about the Metro UI the other day, in all it’s sexiness (I’m an XBox guy, #sorrynotsorry) and I realized that I had no idea how to make responsive squares. Sure there’s flexbox, but just...
View ArticleSticky Nav After Scroll – Olly McTwist 580
There are many different ways to go about getting a navigation stick to the top of your page. If you’re using a framework like bootstrap or Foundation you could just add an extra class and it will...
View Article