• Resolved ScottMcGready

    (@scottmcgready)


    Hi,

    I’m wondering how to go about creating a custom page theme for custom post types (i.e. single-custompost.php). When I create my script, there’s no styling, header, footer or sidebar. Something I’m missing?

    Cheers,
    Scott

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author presscustomizr

    (@nikeo)

    Hi,
    The best way to do that is to copy the index.php file and rename it (single-[customposttypename].php)
    Cheers,
    Nicolas

    Thread Starter ScottMcGready

    (@scottmcgready)

    Thanks Nicholas for the follow up. Pretty obvious now that you mention it! This worked

    Theme Author presscustomizr

    (@nikeo)

    Cool.
    Live long and prosper with Customizr!

    Hi Nikeo,

    I too am trying to do this, but sadly I am a beginner with code and so am unclear what I shoudl be doing. I have got to the php files page, but can’t work out how to copy the index.php page so that I can amend as you have instructed, can you help me out, please?

    Many thanks,

    Rob

    Thread Starter ScottMcGready

    (@scottmcgready)

    Rob,

    Open up the index.php file and simply copy the code from that and paste it into your custom template file.

    That should be you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom page templates’ is closed to new replies.