avada.io
AVADA logo
Avada
Published on

How to use the shortcode in Wordpress

546 words3 min read
Author
  • Author
    Author:
    hanhph
    Twitter

Setting up the blog subscription lets your readers update your daily, weekly or monthly notifications from your new posts instantly. Thankfully, WordPress is now so supportive that it allows users to embed blog subscription tool by shortcode.

Have you ever come across a blog that touch you by the author’s writing which made you want to catch whenever he releases new posts. As a reader, the subscription button is a method to follow and encourage one author’s writing so as not to miss any works from him.

On the other hand, for blog owner, one of the easiest ways to increase your social media follower is by placing the subscription button on your blog. Once readers press the blog subscription button, they will receive an email every time you write a new post, or to receive daily or weekly digests of all of your updated blogs. Therefore, none post of yours will face reach and interaction problem.

The shortcode form is a bit different depending on whether or not the user is logged into a WordPress.com account. In today’s article, the upcoming instruction will help you to use the blog subscription shortcode for your Wordpress website.

Form for Logged-in Visitors

This form is created for visitors who already signed in their WordPress account.

how to use the shortcode

Form for Non-logged-in Visitors

This form is for external visitors who have yet to log in or just come across the website.

how to use the shortcode

How to use the shortcode

  1. Open your Page or Post editor.
  2. Make sure that you are on the Visual tab.
  3. Paste [blog_subscription_form] into the box.
  4. Highlight the code and turn off Bold.
  5. Save Draft, Update, or Publish.

Arguments

If you want to customize how the shortcode looks after being added, follow these arguments:

title

Specify the title of the form for visitors who have yet to subscribe your site.

Default: Follow Blog via Email

Example: [blog_subscription_form title="Subscribe"]

title_following

Specify the title of the form for visitors who already followed your site.

Default: You are following this blog

Example: [blog_subscription_form title_following="You are already subscribed"]

subscribe_text

Specify the subscription prompt for logged-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_logged_in

Specify the subscription prompt for logged-in visitors.

Default: Click to follow this blog and receive notifications of new posts by email.

Example: [blog_subscription_form subscribe_logged_in="Click to subscribe to this site"]

subscribe_button

Customize the text on the subscription button.

Default: Follow

Example: [blog_subscription_form subscribe_button="Click 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 arguments in a single shortcode. In that case, separate them with a space. For instance:

[blog_subscription_form title="Subscribe" title_following="You are already subscribed" subscribe_text="Enter your email to subscribe to notifications from this site" subscribe_logged_in="Click to subscribe to this site" subscribe_button="Click me!" show_subscribers_total=true]

Conclusion

The detail guidance above gives information about the method to embed blog subscription shortcode on your WordPress. We hope that you will find it helpful and pleasant with the instruction. Let us know if there is any problem with manipulating all the steps.

Exclusive Offer: Shopify Deal for PageFly Audience

Start Your Online Business with Shopify 12 Day Free Trial + Pay Only 1$ For Your First Month

Exclusive Offer: The Online Store Starter Kit

Get the Shopify Free Trial plus the premium package designed especially for new Shopify merchants - all for FREE!

What’s in it for you?

  • The Shopify free trial
  • Ecommerce CRO checklist: set up a high-converting Shopify store - with over 300+ checkpoints to boost your conversion rate, AOV, and more (value)
  • Enjoy 2 months free on all AVADA paid apps (value)
  • Exclusive discounts on top-rated Shopify apps and themes + Additional perks (value)

How can I get it?

The Online Store Starter Kit will be delivered to your email after signing up for Shopify using the custom landing page Shopify made for AVADA’s audience. There’s no additional cost for you!

Start your Shopify Free Trial now and get it for free!

Advertisement
img Advertisement