<?php if(function_exists('discuss_on_twitter_button')){describe_on_twitter_button(); } ?>
}?>
code> pre>
Inserting this button tag will link to a Twitter search looking for the URL of your post.
插入此按钮标记将链接到Twitter搜索,以查找您的帖子的网址。 p>
Note: the Simple installation does not enable auto-tweeting of new posts, or the prompting of direct replies to a tweet about the post.
注意:“简单”安装无法启用自动发布新帖子或提示直接回复有关该帖子的推文的功能。
But it is the easiest way to get started.
但这是上手的最简单方法。 p>
Advanced Installation
高级安装 h4>
The advanced installation enables auto-tweeting of new posts from your account and direct connection between the “Discuss on Twitter” button and the tweet about the post.
通过高级安装,您可以从您的帐户中自动发布新帖子,并可以直接在“讨论Twitter”按钮和有关该帖子的推文之间建立联系。 p>
The advanced installation builds upon the awesome WP to Twitter plugin by WP to Twitter 插件构建。
/www.joedolson.com/" rel="nofollow">Joseph C. Dolson.
/www.joedolson.com/“ rel =” nofollow“> Joseph C. Dolson 。 p>
After completing the steps for Simple Installation, above, do the following:
完成上述简单安装步骤后,请执行以下操作: p>
Install and activate the WP to Twitter plugin.
安装并激活 WP to Twitter 插件。 p>
li>
Set up your Twitter Developer account and create a new app for your site.
设置您的 Twitter开发者帐户,并为您的网站创建一个新应用。
This may require waiting for approval from Twitter if you are setting up your developer account for the first time.
如果您是首次设置开发者帐户,则可能需要等待Twitter的批准。 p>
li>
In the WP to Twitter settings under “Twitter Connection” configure your API keys and secrets, as per the WP to Twitter documentation.
在“ Twitter连接”下的WP to Twitter设置中,根据WP to Twitter文档配置您的API密钥和机密。 p>
li>
ol>
In the WP to Twitter settings under “Basic Settings”, ensure that “Update when Posts are published” is checked.
在“基本设置”下的WP to Twitter设置中,确保选中“发布帖子时更新”。
This will ensure that a new tweet is posted to your timeline when you publish a post.
这样可以确保在发布帖子时将新的推文发布到您的时间轴上。
(see screenshots)
(请参见屏幕截图) p>
In the WordPress create/edit post screen, you’ll notice a new sidebar menu called “WP to Twitter”.
在WordPress创建/编辑帖子屏幕中,您会注意到一个名为“ WP to Twitter”的新边栏菜单。
This includes an option to “Tweet” or “Don’t Tweet” when a new post is published.
当发布新帖子时,其中包括“ Tweet”或“ Do n't Tweet”选项。
(see screenshots)
(请参见屏幕截图) p>
For new posts, where tweets are created upon publishing, the “Reply on Twitter” button will tee-up a reply to the original tweet.
对于新帖子,发布时会在其中创建推文,而“在Twitter上回复”按钮将显示对原始推文的回复。 p>
For older posts which do not have a tweet associated with them, the “Reply on Twitter” button will @mention your account, including the link to the post, but will not be formed as a reply to a tweet about the post
对于没有相关推文的较早的帖子,“在Twitter上回复”按钮将@提及您的帐户,包括该帖子的链接,但不会形成为对该帖子的推文的回复
.
p>