michaelwe
Forum Replies Created
-
Forum: Plugins
In reply to: [Fetch Tweets] How to cut off Search Title code?thank you very much, by the way I am very like Japan!
Forum: Plugins
In reply to: [Fetch Tweets] How to cut off Search Title code?awesome!
works!which type of tweets fetched with the code you write?
mixed – includes both popular and real time results in the response.
recent – returns only the most recent results in the response.
popular – return only the most popular results in the response.Forum: Plugins
In reply to: [Fetch Tweets] How to cut off Search Title code?I find it!
single_post_title must be the xxx.aaa bbbso
I replace the bbb with “”
and works!
can I replace more?
do I just add line
$_sPostTitle = str_replace( “ccc”, ”, $_sPostTitle );
$_sPostTitle = str_replace( “ddd”, ”, $_sPostTitle );will they works?
Forum: Plugins
In reply to: [Fetch Tweets] How to cut off Search Title code?yep,
I have replace itthis one should be the whole title in <title></title>
<?php fetchTweets( array( 'q' => is_single() ? single_post_title( '', false ) : wp_title( '', false ), 'lang' => 'en' ) ); ?>and this is what I do
<?php $_sPostTitle = is_single() ? single_post_title( '', false ) : wp_title( '', false ); $_sPostTitle = str_replace( ".aaa bbb - home", '', $_sPostTitle ); fetchTweets( array( 'q' => $_sPostTitle, 'lang' => 'en' ) ); ?>But the result is the same!
Forum: Plugins
In reply to: [Fetch Tweets] How to cut off Search Title code?not works…
can you cut the code before first dot?
Forum: Plugins
In reply to: [Fetch Tweets] How can I use specific search keywords with post title?Great!!!!!!!!!!!
It works.
do you online on twitter? I want to follow you , and we can chatForum: Plugins
In reply to: [Fetch Tweets] How can I use specific search keywords with post title?not works….
Do I just put the code in sidebar template?Forum: Plugins
In reply to: [Fetch Tweets] How can I use specific search keywords with post title?So,it can be one widget code , and every post get fetch the different tweets!
make it auto!
Forum: Plugins
In reply to: [Fetch Tweets] How can I use specific search keywords with post title?Example:
post title is “sunday morning”
then, the sidebar of tweets will fetch the “sunday morning” keywords search in twitter.post title is “my night”
then, the sidebar of tweets will fetch the “my night” keywords search in twitter.so , the search query is changing with the post title.