WP Manifestindependent plugin directory
manifest / ecommerce / extend-give-wp

Extend GiveWP

Customizes the Give donation plugin to render custom content to the donation page.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/rgadon107/extend-give-wp/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Purpose

This plugin extends the GiveWP donation plugin by:

(1) setting an option in the WordPress database to store and retrieve the featured image post ID displayed in the Give donation form;

(2) registering custom functions to the GiveWP plugin to render additional labels, content blocks, and a captioned featured image; and

(3) registering extend-give-wp with the Custom module of the central-hub must-use plugin to flush the rewrite rules on plugin status change ( e.g. activation, deactivation, uninstall );

This plugin's structure is modeled on the Sandbox-Workspace plugin, which is also available from the KnowtheCode.io code repository on GitHub.com.

Application

The plugin is currently in use on the Cornerstone Chorale & Brass website. It's also under version control in the 'extend-give-wp' repository on Github.com.

Install Dependencies with Composer, the PHP Package Manager

A composer.json file is included in the plugin root directory. Composer adds several development dependencies to add the WordPress coding standards to this plugin.

To activate Composer:

  1. From the Terminal command line, change directories to the /plugins directory in your WordPress install.

  2. Open the repository on Github.com and either clone the repository directly into the /plugins directory, or download the plugin as a *.zip archive, and upload and activate the plugin with the WordPress plugin installer.

  3. From the Terminal command line, change directories to extend-give-wp.

  4. On the command line, type composer install. Composer will install all dependencies in the plugin /vendor directory, and add a composer.lock file to lock down the installed packages.

  5. To update Composer packages, change directories to extend-give-wp, and type 'composer update' on the command line. Composer will check for any package installs, updates, and removals.

Contributions

All feedback, bug reports, and pull requests are welcome.