I recently recently launched a new WordPress plugin for Google's Universal Analytics. Check it out!.
Close

Quick Tip: Get Line Count in nvALT with TextExpander

Quick Tip: Get Line Count in nvALT with TextExpander

Recently at work we’ve been quoting a lot of really large websites. Part of our process is reviewing the current site map and in the case of large websites, type it out. This makes it much easier to identify pages that need custom elements or entire sections that should be converted to a custom post type or possibly even consolidated. I’ve found that nvALT is one of the quickest and easiest ways for me to build these sitemaps but I had been struggling with the process of actually getting a page count. I was copying from nvALT and pasting into Coda2 to check against the number of lines. Not a huge deal, but not perfect either. There had to be an easier way, right?

Finding the fix

I reached out to Brett Terpstra, the creator of nvALT (and many other things) to see if there was any way to do this in the current version. He is crazy busy so much to my surprise he answered within a couple of hours. He let me know that there isn’t a way to do this in nvALT directly but mentioned I may want to look into some utilities.

If you do it more than once, make a TextExpander snippet.

— David Sparks

After Googling for a bit and not finding anything that just jumped out at me I did what any tinkerer would do and built something. Following David Spark’s motto of “If you do it more than once, make a TextExpander snippet for it.” I made a TextExpander snippet for it. I’ve been using it for a couple of weeks now so I thought I would share it with the world.

Read more...

Get notified of urgent support issues with IFTTT

Get notified of urgent support issues with IFTTT

Managing support issues for your clients is no easy task, especially when it’s an emergency. Occasionally I get a frantic late night call, but most of our clients reach out to us via an email containing the word “Emergency” or “Urgent” somewhere in their distress message. The problem is I can only answer this urgent issue if I know it’s in my inbox.

In this post I’m going to show you how IFTTT helped solve our problem of getting notified. We’re still working on that problem of what’s an emergency and what’s not.

Read more...

Get the image caption in WordPress

Get the image caption in WordPress

In the last 4 years I can count on one hand how many times I have needed to use the image caption or description.  What’s crazy is that three of them have been in the last two months.  When trying to search for the answer I was amazed at how difficult is was to find what I needed.  It turns out it’s pretty simple.

There’s no fancy “get_image_caption”. That would be too easy right?

First I had to learn that there’s no fancy “get_the_image_caption”.  That would be too easy right?  Anyway, an image (or attachment) is treated like a post therefore you have an excerpt and the content.  The excerpt is equal to the caption and content equals the description

Read more...

How to Use Git With FTP

This was an awesome post on net.tutsplus.com.  We use Beanstalk or GitHub but check it out.