WordPress.org

Plugin Directory

jetpack

Opened 4 years ago

Closed 4 years ago

#1923 closed enhancement (wontfix)

Subscriptions: Wildcard for total subscribers in subscription widget

Reported by: yellyc Owned by: tmoorewp
Priority: low Severity: normal
Plugin: jetpack Keywords: subscriptions widgets has-patch
Cc: yellyc, jeremy+wp@…

Description

The subscription widget has an option to display the current number of subscribers, but the text of the message cannot be customised.
To solve this, I have added a the option to add a wildcard in the widget text, "%d", that is replaced with the total number of subscribers.
The patch is simple and has been running on my live site for nearly a year now. I have opted to leave this as a "hidden" feature (it is not documented within the widget prefs), but text explaining this option can be easily added.
yelly

Attachments (1)

subscriptions-total-wildcard.diff (1.1 KB) - added by yellyc 4 years ago.
A diff to add the "%d" wildcard to the subscription widget

Download all attachments as: .zip

Change History (5)

@yellyc4 years ago

A diff to add the "%d" wildcard to the subscription widget

comment:1 @yellyc4 years ago

  • Component changed from subscribe2 to jetpack
  • Owner changed from skippy to tmoorewp

comment:2 @yellyc4 years ago

  • Cc yellyc added

comment:3 @jeherve4 years ago

  • Cc jeremy+wp@… added
  • Keywords subscriptions widgets has-patch added
  • Summary changed from Wildcard for total subscribers in subscription widget to Subscriptions: Wildcard for total subscribers in subscription widget

comment:4 @tmoorewp4 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

This patch doesn't allow customization of the text. We're going to be doing an update to the widgets in the near future soon and will take this into consideration.

Note: See TracTickets for help on using tickets.