WordPress header and footer


New Member

Is there any way to include WordPress header and footer in ClientExec client area? I think after clicking on order from main site if they saw different looks they could feel confuse.

Yes, there is a way to include the WordPress header and footer in the ClientExec client area. Here's a possible solution:

  1. First, create a child theme for your WordPress site if you haven't already. This will ensure that your customizations are not lost when you update the theme in the future.
  2. Locate the header and footer files in your WordPress theme. Typically, these files are named "header.php" and "footer.php" and can be found in the theme's folder.
  3. Copy the contents of the header.php file and the footer.php file.
  4. In your ClientExec installation, navigate to the client area templates directory. The exact location may vary depending on your setup, but it's usually found in the "templates" or "public_html" directory.
  5. Inside the client area templates directory, create a new folder called "custom" (or any name you prefer).
  6. Inside the "custom" folder, create two new files: "header.php" and "footer.php".
  7. Paste the contents of the header.php file you copied earlier into the new "header.php" file inside the "custom" folder.
  8. Similarly, paste the contents of the footer.php file into the new "footer.php" file.
  9. Save the changes.
  10. Now, you can modify the header and footer files inside the "custom" folder to match the design and layout of your WordPress site. You can add your own HTML, CSS, and JavaScript code to achieve the desired look.
  11. Once you're done customizing the header and footer, they will be included in the ClientExec client area, providing a consistent look and feel between your main site and the client area.
Remember to test the changes thoroughly to ensure everything is working as expected. Thanks.