跳到内容

设置日志的电子邮件订阅

作者:周星驰_10月2日,2014

在开始本教程之前,您需要安装并激活免费的Jetpack插件。Read this post for instructions on how to install Jetpack.

Jetpack包含一个订阅模块,允许读者轻松订阅您的博客,以便通过电子邮件接收最新评论和文章的更新。这一强大的功能有助于鼓励更多的访问者成为普通读者,它是为一个典型的博客设置电子邮件订阅的最有效的解决方案之一。而不是使用自己的托管包来处理可能发送的大量电子邮件,jetpack使用wordpress.com上的服务器,and best of all,it doesn't cost anything either.The Subscriptions service should be activated by default once you have set up Jetpack,but you can turn it on and off from the Jetpack > Settings page as with any other module belonging to the plugin.

By default,email subscriptions will already be already be turned on,and your visitors will see checkboxes when they leave a comment on one of your posts or pages.当读者发表评论时,他们最多可以选择两个选项,包括当有人发布后续评论或发布新文章时的电子邮件通知。Additionally,you can place the Blog Subscriptions widget in any desired widget area or add the option to subscribe anywhere else on your website by using a small piece of code.

Using the Jetpack Subscriptions Widget

By far the quickest and easiest way to set up email subscriptions is to use the widget,只要激活订阅模块(默认情况下应该是订阅模块),就可以使用它。

  1. 在管理员仪表板中,navigate to Appearance > Widgets and look for the"Blog Subscriptions (Jetpack)"左侧列中的小部件。
  2. Drag the widget to the preferred widget area,例如主窗口小部件区域,它是站点上的主要侧边栏。It will be activated immediately.
  3. Configure the activated widget by clicking on its name in the right-side column to display the available settings.
  4. Enter your own widget title,如果不想使用默认选项,则显示给读者的可选文本和“订阅”按钮的文本。
  5. Check the box beside"显示订户总数“如果你想让你的读者看到有多少人正在订阅你的博客。
  6. Click on"Save"to save your changes,它们会立即出现在你的网站上。

Jetpack-订阅-1

Using the Jetpack Subscriptions Shortcode

通过将jetpack订阅模块的短代码粘贴到网站的HTML中,您可以在您的网站上的任何位置放置订阅表单,without having to be restricted by the widget areas which are available with your currently active theme.所需代码如下:

[jetpack_subscription_form]

通过添加一些附加的修改器,您还可以自定义订阅表单,其程度与您可以自定义小部件的程度相同。The available modifiers are as follows,and they need to be added within the shortcode brackets as illustrated below:

  • To change the title,使用以下语法:
    [jetpack_subscription_form title=""Your title"]
  • 要更改订阅文本,use the following:
    [jetpack订阅\u表单订阅\u文本=“"您的订阅文本"]
  • 要更改“订阅”按钮上的文本,use the following modifier:
    [jetpack_subscription_form subscript_button=”"Sign Up""]
  • To display the number of current subscribers,使用以下代码:
    [jetpack_subscription_form show_subscribers_total="1英寸]

Simply replace the bolded text with that of your choice.You can use multiple modifiers (including all four if you wish) simply by placing each one within the brackets,在每一个之间留一个空间。

Now that you have set up email subscriptions for your blog,任何人只要输入自己的电子邮件地址就可以订阅。一旦他们订阅,读者将收到一封确认电子邮件,据此他或她需要点击“确认跟踪”to start receiving updates from you.Finally,you can also customize the content of the emails to a degree by navigating to Settings > Reading in your administrator dashboard and changing the feed settings to"总结”so that only post summaries are shown in the emails.

Jetpack-订阅-2

分享这篇文章

评论

  1. Richard Scope说: 6月23日,2018年

    混淆了在哪里发布这些短代码以使DEM工作…HTML到底是什么??

    • 周星驰
      周星驰说: 6月28日,2018年

      你好,理查德,,

      您可以在希望订阅框出现的任何位置添加这些短代码。大多数人把它放在侧边栏小部件中。Just go to"外观”- >“小部件”and add a text widget there,and then you can copy/paste the shortcode.

  2. tamil says: 5月15日,2018年

    Thank you so much!I wanted to add a subscription feature to my page,and this is exactly what I was looking for.You are a life saver.

  3. health说: November 28,2017年

    Hi!Quick question that's totally off topic.
    你知道如何使你的网站移动友好吗?My web site looks weird when browsing from my iphone 4.
    我正在尝试找到一个模板或插件,可能可以解决这个问题。
    If you have any recommendations,please share.非常感谢!!

  4. 新闻体育说: November 28,2017年

    "不是哲学家,甚至不是物理学家,我不会在网上探讨这个问题,but I can let you know that,coming from a marketing standpoint,the world wide web marketing effect towards the business mentioned previously would have been a big fat zero.Try to research prior to going your house on the lifestyle in the location.Possible complications inlcude drug reactions,感染,bleeding,or perforation with the digestive tract which can require surgery.

  5. Indian说: 11月19日,2017年

    我的家人每次都说我在网上浪费时间,except I know I am
    每天通过阅读这样好的文章获得经验。

  6. 扎纳布说: June 12,2017年

    谢谢你的指导你是一个救世主斯科特奇

  7. Sean says: 3月31日,2017年

    Hey Scott,,
    Confused of where to post these shortcodes in order to make them work…what exactly is the HTML??

    • 周星驰
      周星驰说: April 1,2017年

      嗨,肖恩,,

      There are a couple of places you can place these in the HTML of your blog:

      1.在“Post Editor”屏幕中,单击右上角的标签,上面写着“文本“(next to the"Visual"标签)。这将显示HTML,您可以在其中粘贴短代码。

      2.第2条。If you want to put the shortcode in a sidebar or other menu,the best way to do that is to go to Appearance -> Widgets and then click-and-drag the"文本“widget to your desired menu.然后可以将短代码复制/粘贴到文本小部件中。

      随时通过我的金沙GD真人 if you have any more trouble.

  8. 卷轴灯上写着: August 26,2016

    Thank you so much!I wanted to add a subscription feature to my page,and this is exactly what I was looking for.You are a life saver.

  9. James says: April 18,2016

    Scott,你太棒了。Great manual for a beginner.Literally enabled me to get my blog up and running.它将是几个中的一个,使用我在你的教程中学到的东西。AWESOME job!!谢谢您,谢谢您!!

  10. 温说: August 10,2015

    谢谢你的精彩教程。But I can't seem to find the Blog Subscriptions Widget in the left-side column.

    • 周星驰
      周星驰说: 10月7日,2015

      您需要确保已安装并激活Jetpack。You won't see the widget until that is done.

  11. Barry L.休斯说: May 5,2015

    Scott… thought a blog was what happens after an extremely potent sneeze… now I know better.🙂 Thanks for the great info.

  12. Susan Joyce says: April 14,2015

    谢谢您,Scott,所有这些信息。While I don't yet feel like an expert,我对创建一个博客网站需要做些什么有了一个大致的了解,并且了解了我需要做什么来准备开始,such as deciding on names and options and themes and price packages.Most importantly,我知道从哪里开始。所以,thank you for all your help.

添加注释