Re: [解決済み] Slide Showcaseについて
フォーラム › 拡張プラグイン › [解決済み] Slide Showcaseについて › Re: [解決済み] Slide Showcaseについて
2011年9月14日 1:03 AM
#62772
nanbu
キーマスター
こちらでは問題なく動作していますので、コピペするときにおかしくなるのかもしれませんね。
改行は無くても問題ありませんので、改行を取って下記のコードではどうでしょうか。
add_filter('slide_showcase_filter_list', 'my_showcase_filter_list', 10, 2);
function my_showcase_filter_list($html, $post){
global $usces;
$list = '<li><a href="' . get_permalink($post->ID) . '">' . usces_the_itemImage($number = 0, $width = 130, $height = 130, $post, 'return' ) . '<div class="thumtitle">' . esc_html(usces_the_itemName('return')) . '</div></a><div class="price">' . __('$', 'usces') . number_format(usces_the_firstPrice('return')) . $usces->getGuidTax() . '</div></li>';
return $list;
}