Blank page - by Pawel - on WordPress WooCommerce support

This topic has 5 replies, 3 voices, and was last updated 5 years, 5 months ago ago by Olga Barlow

  • Avatar: Pawel
    Pawel
    Participant
    June 27, 2019 at 15:00

    Hello,
    can You send me a blank php file with header/footer only? get_header doesn’t work properly, it need more functions to work properly I guess.

    Thanks

    4 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 27, 2019 at 15:05

    Hello,

    Please describe your goal in more details to help me understand more.
    Is it what you are looking for https://www.8theme.com/documentation/xstore/theme-installation/blank-page/ ?

    Regards

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 27, 2019 at 15:13

    Hello,

    By default the Blank page is the page that does not have header and footer and displays content only. We use this template to create coming soon pages, for example.
    If you need page with header and footer why do you need Blank template? Use the default template.

    Regards

    Avatar: Pawel
    Pawel
    Participant
    June 27, 2019 at 15:17

    I want to make custom page connected to theme but with my php functionality on it so I need a php file that contain functions to load full header and footer so I could add the rest inside. It is actualy default template but I cant find it in files?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 27, 2019 at 15:35

    Hello,

    Create php file in child theme with the name of the necessary template, use this name as the template name http://prntscr.com/o7hk78 and then call the header, footer and content you need. Save. After that template will be available in the list of page templates http://prntscr.com/o7hm14

    Regards

  • Viewing 5 results - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.