- This topic has 7 replies, 2 voices, and was last updated 2 months, 2 weeks ago by David.
May 19, 2022 at 5:08 am #2225296Walter Schwarz
To just manage css-files at one location centralized to use these in several GP-installations I insert the following @import-links.
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Description: Default GeneratePress child theme
Author: Tom Usborne
Author URI: https://tomusborne.com
For sure it is not really elegant. Is there a better solution to manage css-files stored in the path “/var/www/vhosts/xyz.de/httpdocs/wp-content/themes/generatepress_child” and have them linked via @import just once in every style.css of every GP-installation?
What about individual php-files like content-page.php, functions.php and others? Any idea to just manage these at one location and have them linked anyhow?
Manually importing these at every GP-installation is no solution – this would result in confusing update attempts and conflicts in version management.
Thank you for any idea to realize centralized file management,
WalterMay 19, 2022 at 6:00 am #2225359DavidStaffCustomer Support
you may want to consider using GitHub for you repository. And then use a service or plugin to Push any changes to your WP installs.
Found some info in the article:
The WP Pusher plugin looks interesting.May 19, 2022 at 6:27 am #2225396Walter Schwarz
Thank you David for the hint.
Unfortunately I have no experience with github and the like. But I’ll figure it out.
I would prefer a solution on my provider’s server and putting links on it. I want to keep my dependencies low.
WP Pusher would be fine, if it would transmit files from one GP installation to others …
Many thanks again – and maybe there are other solutions,
WalterMay 19, 2022 at 7:11 am #2225434DavidStaffCustomer SupportMay 19, 2022 at 12:21 pm #2225905Walter Schwarz
Looks like I have found a solution using SymLinks (Hard Link).
I will see if it’s practical and stable.
WalterMay 20, 2022 at 1:41 am #2226293DavidStaffCustomer SupportMay 22, 2022 at 3:01 am #2228319Walter Schwarz
Up to now symlinks/hard links seem to work – thanks to having server access to the root.
But I have to handly carefully file modification …
WalterMay 23, 2022 at 12:39 am #2229143
- You must be logged in to reply to this topic.