How to edit blog subscription short code
-
Borrowing from a Jetpack idea, I have discovered that it is possible to edit the [blog_subscription_form] short code to show total subscribers and change the title and text in the button. BUT what am I doing wrong below to add custom text:
[blog_subscription_form title=”Follow E2R by Email” subscribe_text='My custom text” subscribe_button='Sign Me Up' show_subscribers_total='1']
Everything works except for the ‘My custom text’ part.
The blog I need help with is: (visible only to logged in users)
-
Hi Paul.
Good catch! I found that the subscribe_text attribute wasn’t working with the shortcode on my test either. I’ve gone ahead to report this back to our team, and I’ll let you know what I hear back.
-
Hi Paul,
In the shortcode example you have a double curly quote after “My custom text” — try it with a single quote instead, it should work correctly.Cheers,
Lance -
Thanks Lance,
I have since discovered it also works with double quotes. The reason it didn’t work in my original example was I mixed a single quote with a double quote mark on the ‘My custom text” bit. So we’re all here because I can’t type properly!
Apologies for the inconvenience. But I hope others find the short code adaptations useful.
- The topic ‘How to edit blog subscription short code’ is closed to new replies.