I have implemented a custom post-type "project". To see the page of the archives of these custom post types, I created an archive-projet.php To see this page, I type http://localhost/my-website/?post_type=project so far no problems ..... Where it gets complicated is when I want to see the single-projet.php page.
When I click on the link in the project archive-projet.php page, a blank page is displayed! I do not understand ! Someone would have any idea ? Thank you for your lights.
single-project.php
orsingle-projet.php
? What is the URL of the link? Are there messages in your PHP error log? It sounds like you've made a mistake in yoursingle-project.php
file, a syntax error and it's causing a PHP Fatal error, but your server is configured not to display errors so instead nothing is shown – Tom J Nowell♦ Feb 18 '16 at 14:08