A while back I recorded a Treehouse Quick Tip on how to customize what links look like in WordPress using the permalinks settings. Check it out below! http://youtu.be/JJRh8dpLqHo
Category: WordPress Tips
How to Remove the Orderby Dropdown for Products in WooCommerce
While working on a recent customization for a WooCommerce site, I had a little difficulty tracking down exactly where the orderby drop down that appears above product listings lives in the code. Since I didn't find a blog post addressing this directly, I thought I would share what I figured out. To remove the drop … Continue reading How to Remove the Orderby Dropdown for Products in WooCommerce
The woocommerce-hooks.php file is where it’s at for WooCommerce Templating
EDIT: This file has been moved to woocommerce/includes/wc-template-hooks.php Fully customizing WooCommerce did not make sense to me until I finally tracked down this file: /wp-content/plugins/woocommerce/woocommerce-hooks.php. This file lists all of the hooks and all of the actions that are added to the hooks. So, if you've ever tried searching through the rather abstracted template files … Continue reading The woocommerce-hooks.php file is where it’s at for WooCommerce Templating
How to Get Post Type within WordPress Loop
There are some times when you want to test for the post type of an item in your loop. You may use this in your functions.php file for taking dynamic actions for custom post types, or you may need to use it directly in your template. Either way, here is how you would save the … Continue reading How to Get Post Type within WordPress Loop
Adding CSS to WordPress Theme Via functions.php File
One of the incorrect way theme developers add their CSS to their theme is via the bloginfo('stylesheet_url'); tag in the header.php. This is a bad idea. A better way to do this is via the functions.php file, much in the same way you properly link to JavaScript files a WordPress theme. Here is the code … Continue reading Adding CSS to WordPress Theme Via functions.php File
The Correct Size for a WordPress Theme Screenshot is 1200×900 Pixels
This is something I regularly have to look up and it has changed over time to a much larger resolution. I believe this was to accommodate updates in the WordPress.org theme library. As of Summer 2017, the screenshot.png file that goes along with your theme should be 1200 x 900 pixels. However, "The screenshot will only … Continue reading The Correct Size for a WordPress Theme Screenshot is 1200×900 Pixels
Loving the WordTwit Pro Plugin for Sending Auto-Tweets
My last blog with regular weekly posts, interactb.in, ran on Tumblr, which has a great Twitter integration where you could post custom tweets to send out when a post was published. In looking for similar functionality I settled on the premium plugin, WordTwit Pro from BraveNewCode. What this plugin had that a lot of other … Continue reading Loving the WordTwit Pro Plugin for Sending Auto-Tweets
How to Add the Site URL to the wp-config.php File
I find that adding the URL to the wp-config.php file helps when transferring a site from local to live production. define('WP_HOME', 'http://www.example.com'); // no trailing slash define('WP_SITEURL', 'http://www.example.com'); // no trailing slash
List of Available Tags for WordPress Themes on WordPress.org
Ever wonder what your options are for listing tags for your theme in the style.css file? Here they are: http://wordpress.org/extend/themes/tag-filter/ Colors black blue brown gray green orange pink purple red silver tan white yellow dark light Columns one-column two-columns three-columns four-columns left-sidebar right-sidebar Width fixed-width flexible-width Features blavatar buddypress custom-background custom-colors custom-header custom-menu editor-style featured-image-header … Continue reading List of Available Tags for WordPress Themes on WordPress.org
style.css Comment Code for Twenty Twelve Theme
/* Theme Name: Twenty Twelve Theme URI: http://wordpress.org/extend/themes/twentytwelve Author: the WordPress team Author URI: http://wordpress.org/ Description: The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single … Continue reading style.css Comment Code for Twenty Twelve Theme

