wordpress自动发布_在WordPress中发布新帖子时如何自动鸣叫

wordpress自动发布

Twitter is one of the best tools to let your followers know whenever you publish a new post in WordPress. If you have an active Twitter following, then you may want to automatically send tweets from your WordPress site whenever you publish a new post. In this article we will show you how to automatically send a tweet when you update or publish a new post in WordPress.

Twitter是当您在WordPress中发布新帖子时让关注者知道的最佳工具之一。 如果您有活跃的Twitter关注者,那么您可能希望在发布新帖子时自动从WordPress网站发送推文。 在本文中,我们将向您展示如何在WordPress中更新或发布新帖子时自动发送推文。

影片教学 (Video Tutorial)

演示地址

If you don’t like the video or need more instructions, then continue reading.

如果您不喜欢该视频或需要更多说明,请继续阅读。

First thing you need to do is install and activate WP to Twitter plugin. After activating the plugin, go to Settings » WP to Twitter to configure plugin settings.

您需要做的第一件事是安装并激活WP to Twitter插件。 激活插件后,转到“设置”»“ WP to Twitter”以配置插件设置。

WP to Twitter settings screen
为您的WordPress网站创建Twitter应用 (Creating a Twitter App for Your WordPress Site)

To make use of Twitter API, Twitter now requires authentication using OAuth protocol. In order to use this plugin, you would need to create a Twitter App for your website. Go to Twitter Apps Registration page and sign in with your Twitter account. Next click on Create New App button to register your app. On the next page, simply enter a name for your app, a little description, your website URL and then use the same URL as callback URL for the app.

为了使用Twitter API,Twitter现在需要使用OAuth协议进行身份验证。 为了使用此插件,您需要为您的网站创建一个Twitter App。 转到Twitter Apps注册页面,然后使用您的Twitter帐户登录。 接下来,单击“ 创建新应用”按钮以注册您的应用。 在下一页上,只需输入应用程序的名称,简短说明,您的网站URL,然后使用与应用程序的回调URL相同的URL。

Registering your Twitter App

Twitter will now create an app for you and will take you to your app page. Now you need to give this app read-write access to your Twitter account. To do that, simply click on the Settings tab, and scroll down to Application Type section. Under Access field choose Read and Write and update your Twitter app settings.

Twitter现在将为您创建一个应用程序,并将您带到您的应用程序页面。 现在,您需要授予此应用对您的Twitter帐户的读写权限。 为此,只需单击“ 设置”选项卡,然后向下滚动到“ 应用程序类型”部分。 在访问字段下,选择读写,然后更新您的Twitter应用程序设置。

Next you need to go back to your Twitter app’s Details page. Scroll down to the bottom of the page and click on Create My Access Token button. Twitter will now generate your access token. Below your access token keys, it will also show you access level, make sure it is Read and Write.

接下来,您需要返回到Twitter应用程序的“ 详细信息”页面。 向下滚动到页面底部,然后单击“ 创建我的访问令牌”按钮。 Twitter现在将生成您的访问令牌。 在访问令牌键下方,它还会显示您的访问级别,并确保它是“读写”。

At this time, you have all the keys you need to authenticate your site with Twitter. Copy your consumer key, consumer secret, access token, and access token secret keys and paste them in WP to Twitter settings. Once you do that, simply click on connect to Twitter to authenticate your site.

目前,您拥有使用Twitter验证网站所需的所有密钥。 复制您的使用者密钥,使用者密钥,访问令牌和访问令牌密钥,并将它们粘贴到WP中到Twitter设置。 完成此操作后,只需单击“连接到Twitter”即可验证您的网站。

设置WP到Twitter (Setting up WP to Twitter)

After authenticating your site with Twitter, the next step is to configure WP to Twitter settings for your tweets. On the plugin’s settings page, scroll down to Basic Settings section.

使用Twitter验证您的网站后,下一步是为您的tweet配置WP to Twitter设置。 在插件的设置页面上,向下滚动到“ 基本设置”部分。

Configuring WP to Tweet settings

The first option under basic settings is to choose a URL shortening service provider if you use one. It will also show you options for each post type. If you are using custom post types, then those post types would appear here as well. By default, it will show posts, pages, and links. You can simply click the check-boxes for post types you want to tweet.

基本设置下的第一个选项是使用URL缩短服务提供商。 它还将显示每种帖子类型的选项。 如果您使用的是自定义帖子类型,则这些帖子类型也会显示在此处。 默认情况下,它将显示帖子,页面和链接。 您只需单击要发布的帖子类型的复选框即可。

WP to Tweet can automatically send a tweet whenever a new post is published or updated. You can set your own tweet message for outgoing tweets. Once you are done with configuration, save your settings.

每当发布或更新新帖子时,WP to Tweet都会自动发送一条Tweet。 您可以为外发的推文设置自己的推文消息。 完成配置后,保存设置。

Basically this is all you need to set up automatic tweets for new posts in WordPress. However, the plugin comes with some advanced options which will allow you to use WordPress tags as hashtags for your tweets. You can also exclude categories from automatic tweeting, allow individual authors to send tweets, and enable Google Analytics tracking.

基本上,这就是为WordPress中的新帖子设置自动推文所需的全部。 但是,该插件带有一些高级选项,可让您将WordPress标记用作推文的主题标记。 您还可以从自动推文中排除类别,允许单个作者发送推文,并启用Google Analytics(分析)跟踪。

Advance settings for WP to Twitter

Under the Author Settings you can check the box next to ‘Authors have individual Twitter accounts’ which will allow other authors on your site to add their Twitter handles in their profiles. Under author settings you can also choose user roles which will have permission to add their twitter information, send tweets, or over-ride default tweet settings.

作者设置下,您可以选中“作者拥有各自的Twitter帐户”旁边的框,这将允许您网站上的其他作者在其个人资料中添加其Twitter句柄。 在作者设置下,您还可以选择将具有添加其Twitter信息,发送推文或覆盖默认推文设置的权限的用户角色。

Allow authors to add twitter handles in their profiles
发还是不发? (To Tweet or Not to Tweet?)

Once you have setup WP to Twitter to automatically send tweets, you can still over ride these settings for individual posts on the post edit screen. You can choose to tweet or not to tweet a post, or even replace the default template with a custom tweet for the post.

将WP设置为Twitter自动发送推文后,您仍然可以在帖子编辑屏幕上对各个帖子进行这些设置。 您可以选择鸣叫或不鸣叫帖子,甚至可以将默认模板替换为帖子的自定义鸣叫。

Override default auto tweet with a custom tweet

The problem with automatic sharing and tweeting is that sometimes you may want to remove a post or change it. Sometimes you may even accidentally publish a post which was not ready for publishing. If you set up auto-tweet, then it’s too late for that. The word is out there with your tweet. To avoid this, we recommend scheduling WordPress posts for social media using BufferApp which would allow you to share on all your social media accounts when you publish a new post. You can also use Floating Social Bar and share your posts after publishing.

自动共享和发推的问题在于,有时您可能想删除或更改帖子。 有时,您甚至可能不小心发布了尚未准备好发布的帖子。 如果您设置了自动推文,那么为时已晚。 您的推特上有字。 为避免这种情况,我们建议使用BufferApp 为社交媒体安排WordPress帖子,当您发布新帖子时,它可以让您在所有社交媒体帐户上共享。 您还可以使用Floating Social Bar并在发布后共享您的帖子。

We hope this article helped you send automatic tweets when you publish new posts in WordPress. For feedback and questions, you can leave a comment or join us on Twitter or Google+.

我们希望本文能帮助您在WordPress中发布新帖子时发送自动推文。 对于反馈和问题,您可以发表评论或在TwitterGoogle+上加入我们。

翻译自: https://www.wpbeginner.com/plugins/how-to-automatically-send-tweet-when-you-publish-a-new-post-in-wordpress/

wordpress自动发布

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值