Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #682875

    In other WP Themes, I have created a page template and used PHP scripts to query a custom MySQL database and display the results. How would I do this in Enfold?

    #683216

    Hi kphillips22!

    You can create a child theme (or download pre-built one) – http://kriesi.at/documentation/enfold/using-a-child-theme/ and then create your page template apply the changes to it just as you did on other themes.

    Regards,
    Yigit

    #683220

    What file from Enfold would I copy to use as my starting point for the new template in the Child theme? Is there documentation or a tutorial on doing this in Enfold? I want the new page to appear to fit-in with the rest of the website, I just want it to display the search results in the main section of the page.

    #683225

    Hey!

    You can modify enfold/page.php file and enfold/includes/loop-page.php files and move them to your child theme using the same paths. It would fit in totally fine with the rest of your site including header, sidebar, footer etc.
    Please see – https://developer.wordpress.org/themes/template-files-section/page-template-files/page-templates/

    Cheers!
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.