My First Time Attending WordCamp NYC 2014

A bunch of multi-colored WordPress logo buttons
Reading Time: 5 mins

A month has passed since my first time attending WordCamp NYC 2014 in good ‘ole Brooklyn. It was a new experience, admission was cheap, and I still don’t know what to do with all the stickers and buttons I admittedly hoarded from the booths. ( I have this thing where if it’s free, well hell, I think I’ll help myself, thank you. ) In all seriousness, the entire conference was awesome and totally worth it. Only from attending on Saturday, I’ve decided to become a WC NYC attendee forever!

Being a WordCamp noob, there were a few things that surprised me, terrified me, and all in all, a lot that I learned from the adventure that I hope to share with people thinking of trying it out as well – or people just wanting another perspective on it.

Continue reading My First Time Attending WordCamp NYC 2014

Link

How to add background videos to your WordPress posts

Reading Time: 1 mins

Gasp! This is really cool, guys! How to add background videos to your WordPress Posts @ wpmudev.org. It involves a plugin for shortcode usage, and some custom CSS/JQuery.

 

How to Add Counter Classes with a Global Variable

Tutorial Difficulty Level: Advanced

A grayscale wall with numbers one, two, three
Reading Time: 4 mins

Ever wonder how to add counter/numbered classes to your posts? Is this the fourth post or the seventh? Well, if you have wished upon a star (or even if you didn’t, but it was more like cursing out your computer, that’s fine too), then your wish is about to come true with this tutorial.

In this tutorial’s example, we want our blog posts to have classes like “article-number”, and we can achieve this using the post_class(); function and a counter that we’ll set as a global variable.

It’s not as hard as you think. Also, keep in mind that this is a technique that can be applied to other scenarios too, and it’s not limited to just adding classes to our blog posts. Well, let’s get started, shall we?

Before we begin:

  1. Some familiarity with loops and general PHP will help.
  2. Might want to review what variables are. I also go over variables with better analogies in an old article of mine on the Pixafy Blog: Understanding WordPress’ $args Variable
  3. Make sure you have a theme that you can edit files in – for my example, I’m using TwentyThirteen. The files I’ll be working in are: functions.php, index.php, and content.php.

What we’re going to achieve:

global-results

Continue reading How to Add Counter Classes with a Global Variable

Link

Underscores: A Starter Theme for WordPress

Reading Time: 1 mins

I love it when I discover cool new sites! It’s a theme meant for hacking and learning to build themes – have at it!

http://underscores.me/

Required WordPress Theme Files vs “Required”

Not sure if required or will just impress other devs
Reading Time: 6 mins

The Required WordPress Theme Files

There are only 2 files that are actually required in a WordPress theme for it to be detected and applicable in WordPress. Those 2 files are style.css and index.php.

And then there are those “unsaid” files – those “secret” requirements that become the scuttlebutt amongst developers and are the difference between a good quality theme or “What noob built this thing?!”

So how far do you go? Aside from the required WordPress theme files, what files should actually be present in a theme regardless of whether they’re literally required and why? Well I’ve gone through a fair share of WordPress builds, and I’d like to share my thoughts on that.

Continue reading Required WordPress Theme Files vs “Required”