0
我想在我的模板中添加Shareaholic推薦插件。wordpress do_shortcode和Shareaholic插件
結果始終是空格...誰能幫助我?
<div id="recommendations">
<?php do_shortcode("shareaholic app='recommendations' id='xxxx'");?>
</div>
或者:
<div id="recommendations">
<?php global $wp_embed;
$post_embed = $wp_embed->run_shortcode('shareaholic app="recommendations" id="xxxx"');?>
</div>
感謝