This topic has 2 replies, 2 voices, and was last updated 2 months ago ago by Jack Richardson
`
When i tried to add in wp-content themes folder in that in function.php
add this include_once get_template_directory() . ‘/fetch-vendor-products.php’; i got the following error message
This page contains the following errors:
error on line 56 at column 1: Extra content at the end of the document
Below is a rendering of the page up to the first error.
The screen shot is appended below. Please advise us in the matter at the earliest
Dear @RK ADZ,
We hope this message finds you well. We would like to address a few important points regarding the modifications you are attempting on the XStore theme:
1. We have noticed that you are attempting to insert custom code into the functions.php file of the XStore parent theme. It is essential to use a child theme for such modifications because any changes made directly in the parent theme will be overwritten with the next update.
2. The fatal errors you are encountering are likely caused by an invalid file path that you are trying to include. Please note that such files are not part of the basic WordPress package nor any default files on your server.
3. Regarding the implementation of custom code, please be aware that our support does not extend to additional customizations, in accordance with the privacy policy of Envato. It appears that you have obtained this code from a third-party source. Should you require further assistance with customizations, we invite you to submit a request through our customization panel at: https://www.8theme.com/account/#etheme_customization_panel.
We appreciate your cooperation and understanding of our support forum’s rules.
Thank you for your attention to these matters.
Best Regards,
Jack Richardson
The 8Theme Team
You must be logged in to reply to this topic.Log in/Sign up