- This topic has 13 replies, 3 voices, and was last updated 4 years, 7 months ago by David.
-
AuthorPosts
-
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 DeveloperHi there,
The imported files are downloaded to your
wp-content/uploads
folder 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 #995732AnonymousThanks Tom. Where are the files stored once it has been imported successfully?
August 28, 2019 at 11:45 pm #996006TomLead DeveloperLead DeveloperAny files that were downloaded during the import process can be found in your
wp-content/uploads
folder.August 29, 2019 at 10:49 am #996578AnonymousThanks Tom. There are no files in the path
wp-content/uploads
other 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 DeveloperThere should be one called
content.xml
, and maybe one calledwidgets.wie
if 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 #997503AnonymousThanks Tom.
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 DeveloperNo, 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 #997616AnonymousThanks 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 SupportHi there,
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 #998020AnonymousThanks 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 DeveloperThere 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 #998200AnonymousThanks 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.php
file.September 1, 2019 at 5:12 am #998334DavidStaffCustomer SupportYou 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:
-
AuthorPosts
- You must be logged in to reply to this topic.