开发者 |
thierrypigot
willybahuaud |
---|---|
更新时间 | 2016年10月20日 16:35 |
捐献地址: | 去捐款 |
PHP版本: | 3.5.0 及以上 |
WordPress版本: | 4.6.1 |
版权: | GPLv3 |
版权网址: | 版权信息 |
[twitter-wall/]
to display the feed inside your website.
If you encounter a 404 page when visitng twitterwall URI, please flush your permalinks through the 'Settings > Permalinks' screen.All available query operators are detailled here. More commons are:
exemple
.#exemple
.-something
.OR
. If you define multiple words, the search query will retrieve tweets containing all of them. exemple OR another
will get tweets with one of theses words (or more).@
: @someone
will get all tweets were the user named 'someone' is mentioned. to:someone
will obtain all tweets sended to this user, and from:someone
will get all tweets writed by him.Paste these lines into your 'functions.php' theme file:
add_action( 'wp_enqueue_scripts', 'custom_enqueue_script', 11 ); function custom_enqueue_script() { $style = get_stylesheet_directory_uri() . '/my-custom-twitterwall-style.css'; // this is an example wp_deregister_style( 'twitter-wall-css' ); wp_register_style( 'twitter-wall-css', $style, false, '1', 'all' ); }
If you use this plugin on an event, it is likely than some twitter accounts will try to spam your wall (especially if you appear in trending topics). WP Twitter Wall offer two ways to prevent that this happen: