Could you make sure the theme is the cause of the issue by switching to something like default 2015 and see if moving the "single-{post_type}.php" file into the theme older and also the post type registration method into the functions.php file will make it work on that theme.
If its still does not work then the issue is with your code. If it works then make add back "single-{post_type}.php" to the salient theme folder and then make sure the post type registration function is added to salient \ functions.php file, somewhere maybe line 3134 before the portfolio_register for registering the portfolio post type.
Then bind you registration function to the init action similar to line 3175 i.e.
add_action('init', 'portfolio_register');
Hope you can work it from there. Note that this is not really within our support and we can help so far.
Hello !
i've just created a CPT and everything is fine except that i can't edit a custom single page ...
the "single-{post_type}.php" doesn't word and i don't know how to display my infos &properly
thank you
Hi Joyce,
Could you make sure the theme is the cause of the issue by switching to something like default 2015 and see if moving the "single-{post_type}.php" file into the theme older and also the post type registration method into the functions.php file will make it work on that theme.
If its still does not work then the issue is with your code.
If it works then make add back "single-{post_type}.php" to the salient theme folder and then make sure the post type registration function is added to salient \ functions.php file, somewhere maybe line 3134 before the portfolio_register for registering the portfolio post type.
Then bind you registration function to the init action similar to line 3175 i.e.
add_action('init', 'portfolio_register');
Hope you can work it from there.
Note that this is not really within our support and we can help so far.
thank you !