Merhaba,
cat=1 yerine değil de oradaki 1 yerine çekmek istiyorsanız
<?php $recent = new WP_Query("cat=".stripslashes(get_option('kod'))."&showposts=1&offset=0"); while($recent->have_posts()) : $recent->the_post();?>şu şekilde yapın. cat=1 yerine komple ise yukarıdaki koddan cat= kısmını silersiniz.
kolaylıklar,iyi bayramlar.
<?php $recent = new WP_Query("cat=1&showposts=1&offset=0"); while($recent->have_posts()) : $recent->the_post();?>cat=1 yerine aşağıdaki bu kodu ekleyerek id numarasını çekmek isiyorum
<?php echo stripslashes(get_option('kod')); ?>bu kodu nasıl eklersem çalışır arkadaşlar.
Wordpress siteme panel eklemek istiyorum bu kodlarla da id numarasını admin tarafından girilmesi lazım panelden