Forum
Hello,
I upgraded Xhanch - My Twitter to version 2.7.4
Unfortunately I had some problems and I can no longer view the tweets
In the past I have always used Xhanch - My Twitter on the page,
using the code that was recommended and everything worked properly.
This time I utlizzato the new code:
[xmt profile = <profile name> before_widget = "" after_widget = "" before_title = "" after_title = ""]
I also tried this:
<? php
$ args = array (
'before_widget' =>'',
'after_widget' =>'',
'before_title' =>'',
'after_title' =>'',
);
xmt ($ args, '<profile name>');
?>
But it does not work in either case.
If you use the widget XMT Latest tweets everything works fine
Year you can help me understand?
My website is: www.giampaolofrongia.it
Thanks Giampaolo
Have you changed the <profile name> to your actual profile name so the shortcode will be something like:
[xmt profile=Primary before_widget="" after_widget="" before_title="" after_title=""]
Hi,
Absolutely, here's the code I used:
<div id="sidebar-top">
<div id="tweet-title">Gusto Sardegna via Twitter</div>
<div id="tweet-content">Gusto Sardegna on Twitter
<a href="" http://twitter.com/gustosardegna"> ;"
http//twitter.com/gustosardegna </a></div>
[xmt profile=<Primary> before_widget="" after_widget="" before_title="" after_title=""]
<div id="tweet-footer"> </div>
</div >
The settings in the admin panel
all seem ok.
With the widget works, but with the code inserted into the page,
do not appear tweets.
Thank you, best regards.
Something wrong with your shortcode:
[xmt profile=<Primary> before_widget="" after_widget="" before_title="" after_title=""]
It should be:
[xmt profile=Primary before_widget="" after_widget="" before_title="" after_title=""]
Hi,
I used the right code but unfortunately still does not work.
Before upgrading, usavoquesto code and everything worked properly. :
<?php if (function_exists('xmt')) {
$args = array(
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
'after_title' => '',
);
xmt($args, 'rpg');
}
else {
echo '<div id="xmt_rpg_wid" class="xmt xmt_rpg"> </div>';
}
?>
What can I do.?
I'm disappointed with this plugin because I was very good.
Greetings and thanks
I used the right code but unfortunately still does not work.
Before upgrading, usavoquesto code and everything worked properly.
What can I do.?
Are you sure?
I can see that you have no rpg profile, you only have Primary profile.
What if you place this PP codes:
<?php
if(function_exists('xmt')){
$args = array(
'before_widget' => '',
'after_widget' => '',
'before_title' => '',
'after_title' => '',
);
xmt($args, 'Primary');
echo 'XMT HERE';
}else{
echo '<div id="xmt_rpg_wid" class="xmt xmt_rpg">NO XMT</div>';
}
?>
Hi
In the previous version I used a profile that was called "RPG."
But in this version I'm using "primary".
I also tried to re-use this code but does not work anymore.
The only anomaly I've observed is that the
code:
[xmt profile = Primary before_widget = "" after_widget = "" before_title = "" after_title = ""]
Is not interpreted as code, but is displayed as text in the browser,
this s means you may miss a few lines of code to be integrated?
best regards gp
Where did you actually place this code?
[xmt profile=Primary]
In a text widget or page/post content?
It should be OK if you placed it in page/post content.
But, if you placed it in a text widget, you'll need to use thi splugin to enable shortcode on text widget
http://xhanch.com/wordpress-plugin-my-advanced-settings/