- This topic has 13 replies, 3 voices, and was last updated 1 year ago by David.
August 27, 2019 at 11:18 am #994857Anonymous
Once a site library theme has been selected and imported, where can the associated files be located?
Additionally, if changes are made to the files, what impact does it have on future updates?August 27, 2019 at 4:57 pm #995037TomLead DeveloperLead Developer
The imported files are downloaded to your
wp-content/uploadsfolder during the import.
You can manually delete/change them once you’re done if you’d like, as they are no longer used once the importer is complete.
Let me know if you need more info 🙂August 28, 2019 at 11:51 am #995732Anonymous
Thanks Tom. Where are the files stored once it has been imported successfully?August 28, 2019 at 11:45 pm #996006TomLead DeveloperLead DeveloperAugust 29, 2019 at 10:49 am #996578Anonymous
Thanks Tom. There are no files in the path
wp-content/uploadsother than the media files associated with the theme. For example, the site library files (other than images) are not present.August 29, 2019 at 8:10 pm #996831TomLead DeveloperLead Developer
There should be one called
content.xml, and maybe one called
widgets.wieif widgets were imported.
They will be in the year/month-specific folder if you have your media set up that way.August 30, 2019 at 2:44 pm #997503Anonymous
If the schema in either file is changed, does it apply the update to a live site?
If no, which files should be changed so that they apply to a live site?August 30, 2019 at 5:03 pm #997556TomLead DeveloperLead Developer
No, those files are read once during import and never used again.
To make changes to the live site, you need to use WordPress as you usually would. Edit the content using the content editor, and use the Customizer for theme options.
Let me know if you need more info 🙂August 30, 2019 at 9:47 pm #997616Anonymous
Thanks Tom. I should have been clearer. The objective is to change the appearance of the site library that was imported as opposed to the content.August 31, 2019 at 5:04 am #997739DavidStaffCustomer Support
Site library imports are no different to if you built a site and migrated it to a new domain. Aside of the content that is imported, the styling is predominantly controlled by the Customizer and in a lot of cases ( particularly my Sites ) have Additional CSS.
Some plugins particulary page builders will also control the styling of their content.August 31, 2019 at 10:29 am #998020Anonymous
Thanks David. In that case, where can I find the associated PHP for the site library files?August 31, 2019 at 6:24 pm #998156TomLead DeveloperLead Developer
There is no PHP for the Site Library sites.
A couple of things happen when you import a site:
1. Customizer options are imported – these options can now be changed in the Customizer.
2. Content, widgets, and menus are imported – these can now be changed using WordPress itself like you would without the Site Library.
Once you import a site, you can deactivate the Site Library completely – it’s no longer needed/used by your site.August 31, 2019 at 9:18 pm #998200Anonymous
Thanks Tom. If there is no associated PHP for an imported Site Library, which files would I need to update to introduce and/or change the presentation of the site? For example, if I wish to include custom PHP code to execute where would I include this? Typically, I would have assumed the theme’s
functions.phpfile.September 1, 2019 at 5:12 am #998334DavidStaffCustomer Support
You would use the Customizer to make updates and changes to the style of the Site.
Some plugins may of course have their own styling controls which will be within their settings.
If you want to introduce your own PHP functions or templates then you would add this to your Child Theme:
- You must be logged in to reply to this topic.