My solution:
Duplicate debug template and change template.php to:
<?php
/**
* Available variables passed from the caller script
* - $aTweets : the fetched tweet arrays.
* - $aArgs : the passed arguments such as item count etc.
* - $aOptions : the plugin options saved in the database.
*/
?>
<?php
foreach ($aTweets as $t){
$id = $t['id'];
echo do_shortcode("[tweet id='".$id."']<br>");
}
?>
-
This reply was modified 8 years ago by ancafe.