Skip to main content

Site Library Overview

warning

Site Library imports can change pages, menus, theme mods, and plugins. Treat imports as migrations: run on staging or a fresh install, and take backups first.

What the Site Library Is (and What It Is Not)

ItemWhat it isWhere it lives
Site LibraryGP Premium feature that imports starter sites/templates/wp-content/plugins/gp-premium/site-library/
Template packageA bundled set of content + settingsDownloaded during import
DependenciesPlugins required by a templateInstalled/activated during import
Design baselineCustomizer settings + presetsStored in theme mods/options

Key Concepts

  • Speed: you can bootstrap a client site quickly.
  • Consistency: templates provide a known layout baseline.
  • Auditability: imports are large changes, so you need a repeatable verification workflow.

How It Works

A Site Library import typically:

  1. Installs/activates required plugins
  2. Imports demo content (pages, posts, menus)
  3. Applies theme settings (Customizer/theme mods)
flowchart TD
PICK[Pick template] --> PLUGINS[Install/activate plugins]
PLUGINS --> CONTENT[Import pages/posts/menus]
CONTENT --> SETTINGS[Apply Customizer settings]
SETTINGS --> OUT[Rendered site]

Best Practices

PracticeWhy
Import on a clean install or stagingReduces conflicts and surprises
Capture before/after snapshotsMakes debugging and rollback easier
Keep a list of installed pluginsImports often add plugins silently
Purge cache after importLSCache can serve stale output
Keep imports in change ticketsTreat templates like deployable artifacts

Troubleshooting

SymptomCauseFix
Import fails mid-wayNetwork or permissionsCheck logs, ensure web user can write wp-content/
Site looks unchangedCachePurge LSCache and test logged-out
Missing sectionsPlugin dependency not activeVerify required plugins are installed/active

Self-Check

  1. Locate the Site Library folder in gp-premium.
  2. Capture the baseline snapshots (plugins/pages/theme mods).
  3. Run one import on staging and compare before/after.
  4. Identify which plugins were added and decide if you want to keep them.

Quick Reference

If you want to...Start with...
Avoid surprisesImport on staging or a fresh install
Keep performance stableAudit any plugins the template adds
Keep branding consistentRe-map fonts, colors, spacing after import

What's Next