WP Manifestindependent plugin directory
manifest / content / modularity-link-cards

Modularity LinkCards

A link-cards for creating Modularity modules.

by Starter · github.com/considbrs-webdev/modularity-link-cards · website

0stars
89composer installs
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/considbrs-webdev/modularity-link-cards/archive/refs/heads/main.zip

Also on Packagist as considbrs-webdev/modularity-link-cards:

composer require considbrs-webdev/modularity-link-cards

From the readme

Modularity LinkCards A link-cards for creating Modularity modules. Getting Started 1. Clone this repository 2. Run composer install to install PHP dependencies 3. Run npm install to install Node dependencies 4. Run npm run build to build assets Development - npm run dev - Start development server - npm run watch - Watch for changes and rebuild - npm run build - Build for production - composer test - Run PHP tests - composer lint - Lint PHP code - composer format - Format PHP code Structure Creating Your Module 1. Rename modularity-link-cards.php and update the plugin header 2. Update the namespace in composer.json and all PHP files 3. Rename source/php/Module/LinkCards.php to your module name 4. Update ACF fields in source/php/AcfFields/json/ 5. Customize views in source/php/Module/views/ 6. Add styles in source/sass/ License MIT

Read the full README on GitHub →