how to make custom single .php file in wordpress

i make a new page single-1.php but i don’t call new page . only call single.php
how to use single-1.php. any help me

Related posts

Leave a Reply

2 comments

  1. if you name single-1.php the file, wordpress is try to load it, if the custom post type is ‘1’. Not a good solution.

    If you want to use a template that is different from the standard post for the custom post type, name it ‘single-‘.php. WordPress will load it automatically for you!

    For further information see: http://codex.wordpress.org/Post_Types

    Hope this it help!