I've tried manually flushing the permalinks and also tools > permalinks > save but still it's not working! Does any one else have any ideas of what may be breaking it?

  • Can you please provide more information, such (as example) your source code of the problematic .php file?
    – marvinpoo
    Sep 12, 2016 at 13:19

1 Answer 1


The fact that your single-posttypeslug.php is not used by the WordPress template hierarchy has nothing to do with the permalinks (or better said pretty permalinks).

You most probably haven't used the actual slug of your custom post type in the file name. It's the first argument of the register_post_type function call.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.