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

ACW Testing

A series of functions to test the Advanced Comments Widget

by Darrin Boutote · github.com/dboutote/advanced-comments-widget-testing · website

0stars
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/dboutote/advanced-comments-widget-testing/archive/refs/heads/master.zip

Readme

Advanced Comments Widget Testing

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

Read the full README on GitHub →