Tag: WordPress

I’ve Built a Live Search Plugin for WordPress

Search continues to be (in my opinion) a very much underutilized aspect of many websites. It’s not that websites are universally lacking on-site search, it’s that it usually stinks. I did what I could to improve that for WordPress sites by building SearchWP. It’s what I’ve always wanted but never found in a search solution […]

Posted: May 05, 2014

A Strategy for Organizing WordPress Theme Functions

I’ve adopted a similar strategy to Tom. I use functions.php as a bootloader of sorts for all of my theme-specific dependencies. Breaking out things like Custom Post Type/Taxonomy registration from other logic like Walkers has proven to be extremely helpful both when initially building & revisiting projects down the line.

Posted: May 01, 2014

WordPress Code Reference

DocBlocks got a lot of love recently in WordPress which is awesome for developers. In fact it’s beyond awesome. It opens the doors for so many awesome implementations of that data set, things like the newly offered WordPress.org Code Reference. This information is insanely useful to anyone writing any bit of code for WordPress. We […]

Posted: April 28, 2014

joehoyle/Time-Stack

While everyone is spending time reflecting on 2013 with heartfelt goals for next year, I’ve been spending time reflecting on my toolset. Again. I’ve been a big fan of PhpStorm for the past year or so, but I couldn’t help myself from revisiting the last editor I used: Sublime Text 3. What prompted this? I […]

Posted: January 03, 2014

Better Search Results Counts in WordPress

I recently stumbled on the following snippet of code in your average WordPress theme: <?php if ( is_home() ) : ?> <h2><?php echo the_title(); ?></h2> <?php elseif ( is_search() ): ?> <h1><?php $search_count = 0; $search = new WP_Query(“s=$s&showposts=-1”); if($search->have_posts()) { while($search->have_posts()) { $search->the_post(); $search_count++; } } echo $search_count; ?> <?php _e(‘Search results’); ?></h1> <?php […]

Posted: December 31, 2013

Front End Editing in WordPress with Barley

Front end editing has always been an interesting pain point over the years. WordPress was a fantastic playground for many attempts to solve the problem of separating writing and consumption of your site content. I work with a lot of clients, and it’s usually hit-or-miss when explaining how to manage things. Some clients are used […]

Posted: November 26, 2013

Understanding MySQL in WordPress

Like most things in WordPress, SQL “just happens,” and you don’t have to know anything about it beforehand to start working with WP. You could actually go your entire life using WordPress and never once need to know anything about SQL. That’s if your entire life using WordPress is in a lightweight manner – a […]

Posted: August 29, 2013

SearchWP: The Best WordPress Search Plugin you can Find

I am wicked excited to be publishing this post. Not because it has to do with shipping code or any of that, but because I’ve built something that’s going to make my life (and hopefully yours) that much easier once you’ve read it. Many times when I sit down to build a plugin it’s a […]

Posted: August 06, 2013

Understanding MySQL in WordPress

If you’re looking to improve your low level WordPress querying chops, this article is great. When building more application-like pieces of functionality in WordPress, it’s really important to understand what’s happening under the hood (at least to a degree) so you can ensure that you’ve taken care of potential bottlenecks when your project gets utterly […]

Posted: June 13, 2013

Wicked Opinionated WordPress Plugin: Concatenate Assets

An area that could have used some modification in my workflow is the optimization of third party assets when building WordPress sites. Those stylesheets and JavaScripts that make additional HTTP calls we’ve come to know and hate. There are a ton of existing solutions out there, but I wanted something a bit more… finicky and custom-tailored to my approach.

Posted: June 10, 2013