custom post type

Display My Custom Post Categories (Custom Taxonomy) in a Dropdown

I want to let my random quote generator users choose which quote category they want to see a quote from when they automatically post the quote to their Facebook page. I want to show my quote categories, which are a custom taxonomy (quote_categories), on my custom post type (quote). Here is the code I use: …

Display My Custom Post Categories (Custom Taxonomy) in a Dropdown Read More »

Show a Custom Taxonomy Tag Cloud in my WordPress Page in a Genesis Child Theme

I am writing a post about my quote generator and want to show the custom quote tag cloud in my post. I found that I could use the wp_tag_cloud() function to generate a tag cloud, but that would generate the regular tag cloud for all my WordPress posts. After a little more digging in the …

Show a Custom Taxonomy Tag Cloud in my WordPress Page in a Genesis Child Theme Read More »

How to Choose a Random Post with a Custom Post Type in a WordPress Shortcode

I’d like to show you how to choose a random quote from the quotes custom post type I showed you how to create in this post. In my last post, I showed you how to create a basic WordPress Shortcode. We must first query the database for the custom post type: I add that code …

How to Choose a Random Post with a Custom Post Type in a WordPress Shortcode Read More »

Adding a WordPress Custom Post Type with Custom Taxonomies

I’m working on a random quote generator for one of my sites. I decided to create a custom post type called ‘quote’. I wanted to create a custom taxonomy for quote categories and another for quote tags since I want these categories and tags to be separate from the other categories and tags on the …

Adding a WordPress Custom Post Type with Custom Taxonomies Read More »

Scroll to Top