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

What is the point of using archive.php instead of index.php?

index.php and archive.php might be the same but don’t have to be the same. index.php will display your blog post archive and in the absence of archive.php (or other more specific archive files) it will display your date, author, etc. archives as well. But it doesn’t have to. You can, if you want, display your … Read more

Is there a plugin or another way that can help me find out the underlying files of a page/post? [closed]

For the template, you can use Query Monitor: Activate the plugin and browse the site logged in Click the new timings numbers on the admin bar at the top to bring up the bottom pane Select ‘Template’ on the left menu (or probably other plugins too) For the CSS files your best bet is to … Read more

How to change post template

The way I see it you have two options here: Pass the id to a custom template and then create a custom wp_query loop and use $_GET[‘id’] as the id of the loop. For Example: <?php /* Template Name: Pop Up View */ //get id from your url $id=$_GET[‘id’]; //start custom loop $query = new … Read more