WordPress – Include Custom Category in url of Custom Post Type
In this WordPress tutorial we will learn how to include custom category or taxonomy term in url of custom post type.
Let's say we have a custom post type course. And we also have a custom taxonomy subject for this post type.
Step 1: Create A Custom Content Type
Let's create a custom content type course. Add below codes in functions.php file of your theme.
WordPress – Print Custom Taxonomy Terms in Reverse Hierarchical Order
In this WordPress tutorial we will learn how to print / display terms of a custom taxonomy or WordPress default category in hierarchical order and reverse hierarchical order in single post.
WordPress – Print Post Taxonomy Terms in Hierarchical Order
In this WordPress tutorial we will learn how to print single post taxonomy terms in hierarchical order. This taxonomy can be default WoordPress post category or custom taxonomy.
Python Small Game – Guess The Right Number
In this python tutorial, we will create a small game. User will be asked to guess a single digit number (0-9). User will be allowed to guess maximum 3 times.
If the guessed number is correct, it will show congratulation message. If user failed to guess the right number in maximum 3 tries, he will get message that he has guessed maximum times and will also show the right number.
- Read more about Python Small Game – Guess The Right Number
- Log in to post comments