[resolved] How to add a single page without inheriting index formatting? (5 posts)

  1. rflfn
    Posted 1 year ago #

    My pages automatically are formatted with tags on of my index, but i like create a page without this formatting, one page without footer, sidebar, or any other code from wordpress, example:

    My solitary page..


    <p>Show only this content on page and not more...</p>

    I can not use the file "single.php" nor the "page.php" because I am already using them for other functions

    It is possible? can also be a plugin.
    Iam Brazilian, sorry for my bad english...

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Sounds like you need to create a custom page template. What theme are you using? Where did you download it from?

  3. rflfn
    Posted 1 year ago #

    Thanks esmi, works perfectly, other question, i need put tags body and html on this page? or this page inherit of the my template?

    I did not download, im making my theme...

  4. i need put tags body and html on this page?

    yes - either copy the section from header.php and add it directly into the page template (and also add the corresponding closing tags at the end of the template), or create and call a custom header file and footer file from within the page template;

  5. rflfn
    Posted 1 year ago #

    Thanks, problem solved.

Topic Closed

This topic has been closed to new replies.

About this Topic