WP Manifestindependent plugin directory
manifest / developer / advanced-comments-widget-testing

ACW Testing

A series of functions to test the Advanced Comments Widget

★ 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/dboutote/advanced-comments-widget-testing/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.

This is small plugin for testing the Advanced Comments Widget. It's meant as a brief overview, outlining ways to extend the widget.

A Quick Overview

  1. Add to the widget $instance via the acw_instance_defaults filter.
  2. Add the field to the widget form via the "acw_form_before_field_{$name}" filter or the "acw_form_after_field_{$name}" filter.
  3. Hook into the Widget_ACW_Recent_Comments::update() method to save the field value.
  4. Hook into the Widget_ACW_Recent_Comments::widget() method to display the field value.

For a step-by-step walk-through visit: Adding a Subtitle to the Advanced Comments Widget for WordPress

Resources