This theme is the general starter theme for Vendi sites.
- Require PHP 8.1 or greater
- Removed WebMozart path loader in favor of Symfony's Filesystem component
- Added stater theme content for:
- Default menu
- Logo
- Add "Early exit" feature to ensure that the following theme requirements are met:
- PHP Version
- Composer dependencies installed
- Required plugins:
- Advanced Custom Fields Pro
- Fly Dynamic Image Resizer
- Classic Editor
- Removed
vendi-advertising/vendi-cpt-from-yaml
in favor of ACF withing JSON syncing - Added WP Rocket CLI
- Deprecating Fly images, use https://wordpress.org/plugins/webp-express/
- Testing ACF options UI
- Remove ACF-E features not used
- Added common CPTs:
- Testimonials
- Added common components
- Accordion
- Basic Copy
- Blockquote
- Callout
- Figure
- Reusable Content
- Testimonials
- Symfony has been upgraded to 6
- The tracking pixel hook after the opening body has been removed since GTM is usually used
- Upgraded theme development default template for missing components
- Added ACF Theme Options with a tab for global JavaScript
- Content Components are now standard
- Upgraded reset to more modern
- Disabled ACF-E CPTs, taxonomies and options, use YAML and PHP instead
- CPT YAML file now supports taxonomies to a limited degree
- Added theme support for HTML5 style and script
- Added thumbnail style YAML support
- Added Fly Dynamic Image Resizer along with
picture
tag support - Fixed search for URL for non-standard installs
- Added standard long-term UTM tracking
The theme has been upgraded to Chris's 2020 brain and installation should be greatly simplified.
- The install.sh script has been completely removed
- The theme's namespace for code in
/src/
will now always beVendi\\Theme
unless someone manually changes this. - Symfony has been upgraded to version 5
- The
WebMozart
path loader has been abstracted away, see the Vendi Component Loader below. - Custom Post Types should all be declared in
/.config/cpts.yaml
. , see the Vendi Custom Post Type Loader below. - Asset (CSS and JS) loading logic has been moved into a shared library, see the Vendi Asset Loader below.
- The WordPress VIP code standards are installed, and you are encouraged to run the theme against that code sniffer for that ruleset.
All themes should now use the open source components created and maintained by Vendi including the following. See each component's documentation page for further details.
- Vendi Component Loader - Allows loading components such as ACF Flexible Layouts as well as general abstract objects such as headers, footers, heroes and any other asset that can be componentized.
- Vendi Custom Post Type Loader - Created CPTs directly from a YAML file instead of having to deal with PHP arrays.
- Vendi Asset Loader - Dynamically loads all CSS and JS files from a common directory in alphabetical order.
THEMENAMEHERE should be renamed to your theme's folder name. eg. stoptheclot
- Run
git clone [email protected]:vendi-advertising/vendi-starter-theme.git
from the theme's folder. mv vendi-starter-theme THEMENAMEHERE
cd THEMENEAMEHERE
composer install
composer up
- run
rm -rf ./.git/
from the theme directory - make a new GIT repository
https://github.com/organizations/vendi-advertising/repositories/new
This theme assumes that you have certain plugins installed
- Fly Dynamic Image Resizer :
wp plugin install fly-dynamic-image-resizer --activate
- Advanced Custom Fields Pro
- Responsive Menu Pro