Plugin Directory

jetpack

Opened 11 years ago

Closed 11 years ago

#1923 closed enhancement (wontfix)

Subscriptions: Wildcard for total subscribers in subscription widget

Reported by: yellyc's profile yellyc's profile yellyc Owned by: tmoorewp's profile tmoorewp's profile 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 11 years ago.
A diff to add the "%d" wildcard to the subscription widget

Download all attachments as: .zip

Change History (5)

@yellyc
11 years ago

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

#1 @yellyc
11 years ago

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

#2 @yellyc
11 years ago

  • Cc yellyc added

#3 @jeherve
11 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

#4 @tmoorewp
11 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.