WP Manifestindependent plugin directory
manifest / content / agreable-longform-plugin

Agreable Longform Plugin

A very agréable Longform plugin for Croissant

by Shortlist Media · github.com/shortlist-digital/agreable-longform-plugin · website

0stars
1.5kcomposer installs
1forks

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/shortlist-digital/agreable-longform-plugin/archive/refs/heads/master.zip

Also on Packagist as shortlist-digital/agreable-longform-plugin:

composer require shortlist-digital/agreable-longform-plugin

From the readme

Shortlist Media Wordpress Longform Plugin Wordpress Plugin built for Croissant stack using Herbert plugin framework. Dependencies Timber Advanced Custom Fields Create custom post type /app/customPostType.php Plugin degines an widget using ACF available to articles /widget-loader-acf.php A Croissant theme (e.g. Troisieme) will traverse plugins directory for 'slm' prefixed sub directories which contain widget-loader-acf.php at their root. This ACF definition is added to list of widgets available in theme. Add plugin view path to Timber's paths for rendering /app/hooks/timberloaderpaths.php Parent theme will include the plugin Twig templates and render using Timber (see lab-troisieme-2015/src/views/partials/widget-container.twig). Therefore we add our plugin paths to Timber's internal array of paths using this filter called by Timber: 'timber/loader/paths. Fire plugin specific action whilst rendering (to enqueue styles/scripts within plugin) /app/hooks/slmpluginenqueue.php Just before rendering the plugin template, the parent theme calls Wordpress doaction('acf{{name}}enqueue'). e.g. (using Timber): {% do action('slm'~widget.acffclayout~'enqueue', widge

Read the full README on GitHub →

Releases

TagPublished
3.0.4 Jun 27, 2017
3.0.3 Jun 27, 2017

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.