Theme template file for a specific custom taxonomy

Is it possible to create a file specific for custom taxonomy itself? Yes, it’s possible in WordPress. So for the custom post type (music) I’ll create single-music.php for displaying the music alone right? That is correct. and taxonomy.php for displaying the single taxonomy content/value like rap, tupac, greatest-hits right? That is also right. but how … Read more

How can I get taxonomy term name using term slug & post ID using build in WordPress function or class?

This can be done in multiple different ways. Depending on the context, one way may be better than the other ways. Using WP_Term_Query class: Most wp_term related queries are internally done using the WP_Term_Query class. So if you need different options, using this class can be very useful. For example: // all of these arguments … Read more