Wpsmith - wpsmith.net - WP Smith
General Information:
Latest News:
Use registered_post_type Hook to Modify Post Type Registration 26 Aug 2013 | 06:00 pm
If you’re anything like me, sometimes a post type doesn’t function like you want, or you need to do something slightly different. Many plugins register new custom post types, label them wonky or make ...
Limit Users to Soliloquy: How to Add a Custom Capability to Soliloquy? 23 Aug 2013 | 11:17 pm
By default, anyone who can edit and edit others’ posts can edit soliloquy. So what can you do to limit access to Soliloquy? It is simple as two steps: Filter Soliloquy Post Type Registration Paramete...
Genesis 2.0 Drops Fifths from Column Classes 11 Aug 2013 | 01:59 am
Due to the grid layout, Genesis drops support of the fifths class family (one-fifth, two-fifths, three-fifths, and four-fifths). This is logical since the grid that Genesis adopts is from Twitter Boot...
Perl Shebang 7 Jun 2013 | 07:23 pm
Slang often used in computer Perl programming and other script files. The term shebang refers to the “#!” located at the top of many script files that points to the path of the associated program. For...
How to orderby include Argument for get_terms() 22 Jan 2013 | 04:00 pm
WordPress 3.5 came out with an awesome feature of ordering by post__in (Codex). So when I got to my current issue, I noticed that I could not use the default orderby options (alphabetical title, ID, e...
Add a Nagging Fixed Top Menu to Your Genesis Site 21 Jan 2013 | 04:00 pm
Recently, someone asked me to assist them with their nagging menu. Simply they wanted a menu that became fixed at the top after the user scrolled past the menu. In their case, they had a primary navig...
The Role of Online Learning for Churches with WordPress 11 Jan 2013 | 01:08 am
In my experience, churches have failed dismally in the area of providing learning opportunities to their members. Please don’t get me wrong here…many churches have great learning opportunities, in per...
How to Add a Genesis Top Navigation System 10 Jan 2013 | 12:43 am
Adding a top navigationn menu to a Genesis child theme is quite easy. There are a couple of approaches. First, one can simply move the primary navigation to the top. Howevever, if you are already usin...
Genesis Grid Loop in Genesis 1.9 9 Jan 2013 | 06:17 am
Some people may be experiencing some issues with the Genesis Grid Loop in Genesis 1.9 (and rightly so). However, with Genesis 1.9, this will no longer work. Instead you must modify the query as you sh...
Create Genesis Constants Based on Theme 7 Jan 2013 | 11:57 pm
In my child themes, this little function that I wrote based on the new wp_get_theme() function (Codex, WP Ticket). Previously, I had to create style.css with all the data and then had to do the same t...