One caveat faced by developers using get_template_part is the inability of passing variables to the loaded templates. There is, however an alternative using locate_template. Overview In this example we're going to display three Easy Digital Download entries. I've been using EDD for a while now and while it has a lot of features it's still… Continue reading Passing variables when loading templates in WordPress
Tag: custom post types
Passing variables to a WordPress template efficiently
Learn to efficiently pass variables to a WordPress template and use them in it
Jetpack Infinite Scroll for search results
Saving custom fields in quick or bulk edit mode in WordPress
One of the most cool features when managing WordPress posts, is the ability to batch edit multiple posts at once or even quick edit one post to perform a quick task such as adding a tag. In this WordPress tutorial, we will learn to extend Quick Edit and Bulk Edit to retrieve and save your custom field values.
Add columns for custom taxonomies to custom post types in WordPress
If you ever found strange that you could edit the terms of a custom taxonomy for a custom post type using the Quick Edit link but you couldn't see the terms applied in the columns, you're not alone. That's why in this tutorial we will learn how to display those terms in the list view… Continue reading Add columns for custom taxonomies to custom post types in WordPress
Post Formats vs. Custom Post Types
Mark Jaquith clarifies the difference between Post Formats vs. Custom Post Types.
Support for custom post types in TDO Mini Forms
It's been little less than a month when the modified widget for TDO Mini Forms to support custom taxonomies was released. It didn't allowed you to enter new terms for taxonomies and most important, it didn't featured custom post types support, so here's the entire plugin updated for TDO Mini Forms to support custom post types,… Continue reading Support for custom post types in TDO Mini Forms