When your website means business.


A collection of (mostly) WordPress-related snippets and references I’ve found useful and worth keeping where I can find them. Feel free to use what you like, and point me to some better snippets or references.

Responsive Table 2»

View at link at bottom. This table does not show active CSS and javascript.
CSS, Javascript, Responsive, Tables | Type: CSS

Search Form for CPT»

To add a search form that searches only a particular post type, not your entire website. <form id="cptsearch" action="<?php echo home_url(); ?>" method="get"> <input name="s" type="text" /> <input name="post_type" type="hidden"…
Search | Type: PHP

Show Tags for Only One Category»

Decided not to do this on a project after finding this snippet, but kept the snippet just in case. query_posts('category_name=news'); if (have_posts()) : while (have_posts()) : the_post(); //replace 'news' with…
WordPress | Type: PHP