开发者 |
wordpressdotorg
iandunn ryelle shaunandrews melchoyce |
---|---|
更新时间 | 2023年11月3日 04:03 |
捐献地址: | 去捐款 |
PHP版本: | 3.9 及以上 |
WordPress版本: | 4.3 |
版权: | GPLv2 or Later |
[tagregator hashtag="#WordPress"]
into a page, then you'll see posts that mention the #WordPress hashtag.
Included Social Media Sources:
http://www.example.org
), and then leave the "Callback URL" field empty. Once the application is created, copy the Consumer Key and Consumer Secret into Tagregator's settings.
Step 2) Add the [tagregator] shortcode to a post or page, and include the hashtag(s) you want to aggregate:
Examples:
[tagregator hashtag="#WordPress"]
[tagregator hashtag="#wcsf, #wcsf14"]
You can also enter keywords or search queries, like this:
[tagregator hashtag="cooking"]
[tagregator hashtag="ice cream"]
You can specify the number of columns you want with the layout
attribute:
[tagregator hashtag="#WordCamp" layout="one-column"]
[tagregator hashtag="#WordCamp" layout="two-column"]
[tagregator hashtag="#WordCamp" layout="three-column"]
The default is three-column
. On mobile devices, it will automatically reduce to one or two-columns in order to fit on the screen.
Step 3) Wait 30-60 seconds for the plugin to pull new content in.There could be something wrong with your API credentials or network that is causing the API requests to fail. Tagregator logs the raw responses to assist in debugging.
To view the logs, add this line to a functionality plugin, and then visit the Tagregator > Log page.
add_filter( 'tggr_show_log', '__return_true' );
Warning: The logs will contain your private API keys, so don't post them on public forums, etc.
This is probably because you haven't configured your timezone in WordPress's General Settings. After updating the timezone, you may need to wait up to 23 hours for new posts to appear ahead of the ones that were saved with the old timezone.
Twitter's API doesn't guarantee that every tweet will be available in the results it returns.
You can achieve a similar look by specifying one-column
in the shortcode's layout
parameter:
[tagregator hashtag="#WordCamp" layout="one-column"]
If you find a security issue, please disclose it to us privately via Automattic's HackerOne bounty program, so that we can release a fix for it before you publish your findings.
Yes, Tagregator allows you to add custom modules that you develop for other services by hooking into the tggr_media_sources
filter and adding an instance of your class.
The best way to get started is by downloading the example plugin and customizing it to fit your needs.
Once you're done, please consider sharing it with others by submitting it to the WordPress.org repository.
global $post
statements with calls to get_post()
.