最近の投稿でマーキー コードを持っています。カテゴリ ベースで変更したいと思います。注目のカテゴリを選択するとします。このマーキー コードで、最近 10 の注目のカテゴリのポスト タイトル ショーを作成したいと考えています。
私の最近の郵便番号は以下に表示されます...
<marquee width="820px" style="font-size: 12pt; height:32px;padding-bottom: 10px;" behavior="scroll" direction="left" bgcolor="#DEE9FB" scrollamount="2" scrolldelay="60" onmouseover="this.stop()" onmouseout="this.start()"><?php $latest = get_posts('numberposts='.$bnews_options["BnEnumber"].'&offset='.$bnews_options["BnPostSkip"].'&cat='.$bnews_options["BnCatID"]); foreach( $latest as $post ): ?
<img src="http://hostshine.net/wp-content/uploads/2013/02/dot.png"> </font><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a><?php endforeach; ?></marquee>
どのコードを変更できますか?それはカテゴリベースですか?