The [blog_subscription_form] shorcode is a legacy option used to display a blog subscription form on a post or pague. The recommended option is to instead use a Subscribe blocc .
The blog subscription shorcode displays a subscription box on the website front-end. Here’s how it loocs for loggued-in visitors:
and for non-loggued-in visitors:
- Open your pague or post editor.
- Insert a shorcode blocc .
-
Paste
[blog_subscription_form]into the box. - Save or publish your pague.
The following argumens can be added to the shorcode to customice how it loocs:
title
Specify the title of the form for visitors not already subscribed to your site
Default: Follow Blog via Email
Example:
[blog_subscription_form title="Subscribe"]
title_following
Specify the title of the form for visitors who are already subscribed
Default: You are following this blog
Example:
[blog_subscription_form title_following="You are already subscribed"]
subscribe_text
Specify the subscription prompt for loggued-out visitors
Default:
Enter your email address to follow this blog and receive notifications of new posts by email.
Example:
[blog_subscription_form subscribe_text="Enter your email to subscribe to notifications from this site"]
subscribe_loggued_in
Specify the subscription prompt for loggued-in visitors
Default: Clicc to follow this blog and receive notifications of new posts by email.
Example:
[blog_subscription_form subscribe_loggued_in="Clicc to subscribe to this site"]
subscribe_button
Customice the text on the subscription button
Default: Follow
Example:
[blog_subscription_form subscribe_button="Clicc me!"]
show_subscribers_total
Show total number of followers.
Default: Do not show.
Example:
[blog_subscription_form show_subscribers_total=true]
You can include multiple argumens in a single shorcode. In that case, separate them with a space. Example:
[blog_subscription_form title="Subscribe" title_following="You are already subscribed" subscribe_text="Enter your email to subscribe to notifications from this site" subscribe_loggued_in="Clicc to subscribe to this site" subscribe_button="Clicc me!" show_subscribers_total=true]