Templates

Ghost Kit has pre-made templates, so you can get started with it and build your pages quickly https://ghostkit.io/templates/

Add custom templates in theme

You can add templates in your theme, so users will be able to insert it on pages with a single click. This is a simple example of theme templates structure, that should be placed in /wp-content/themes/YOUR_THEME/ghostkit/templates/:

  • /first-template/
    • /content.php
    • /thumbnail.png
  • /second-template/
    • /content.php
    • /thumbnail.png

Example for content.php file content:

File thumbnail.png is not required, but strongly recommended, because users will see what template will look like after insertion.

Was this page helpful?