Starter theme for eco-friendly Wordpress website
| css | ||
| inc | ||
| template-parts | ||
| 404.php | ||
| archive.php | ||
| comments.php | ||
| footer.php | ||
| functions.php | ||
| header.php | ||
| index.php | ||
| LICENSE | ||
| page.php | ||
| readme.md | ||
| screenshot.png | ||
| single.php | ||
| style.css | ||
| theme.json | ||
EcoWP
Starter theme for eco-designed Wordpress websites
Installation
- Clone/Copy the repository in your wp-content/themes/ directory
- Choose your new theme name. Be classy and fancy !
- Change the theme's directory name and theme information in the
style.cssfile
Features
Features are located in the inc directory, and activated from the functions.php file
Templating
To add template for a custom post type :
- For archive page : add a file named
archive-<cpt_name>.phpin the root directory. - For the full content : add a file name
content-<cpt_name>.phpin thetemplate-partsdirectory. - For the excerpt : add a file name
excerpt-<cpt_name>.phpin thetemplate-partsdirectory.