EcoWP/readme.md
2022-09-14 19:14:59 +12:00

721 B

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.css file

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>.php in the root directory.
  • For the full content : add a file name content-<cpt_name>.php in the template-parts directory.
  • For the excerpt : add a file name excerpt-<cpt_name>.php in the template-parts directory.