hi,
nirvana is very beautiful, advanced free theme, love it. so.. i create custom post type “wisata”, how to create custom post template for “wisata”?
i’ve created file “single-wisata.php” then copy the codes of “single.php” into “single-wisata.php”, but when i tried to view my post, it show me “page not found”
Wordpress follows the Template Hierarchy in picking the appropriate file for rendering.
Double check your registered post type (first parameter of register_post_type()) is the same word you use in the filenames.
If you’re using pretty URLs (permalinks), you’ll also need to create rewrite rules for WordPress to know when to use the custom post type templates. I suggest testing with simple links (?post_id=X) first.