Yardımcı olan herkese şimdikten teşekkürler.
15
●588
<ul>
<?php query_posts('showposts=5&orderby=date&cat=-100'); ?>
<?php while (have_posts()) : the_post(); ?>
<li><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></li>
<?php endwhile; ?>
</ul>mesela hocam burada özel bir döngü var, ikinci satırda cat-100 yazısını görüyorsunuz, buraya videoların bulunduğu kategorinin id'sini yazarsanız o kategoriden olanları çekmez, birden fazla ise virgül koyarak ayırabilirsiniz,
<div class="mansetBg" id="singleBlok" >
<?php query_posts('showposts=5&orderby=date&cat=-100'); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div id="mansetContainer" class="ortala singleContainer">
<div id="topNav" class="ortala">
<h1><?php echo get_the_title(); ?></h1>
<?php endwhile; else: endif; ?>
<?php include(TEMPLATEPATH . '/lib/sosyal.php'); ?>
</div><!--topMenu-->
</div><!--mansetBg bitiş-->
<div id="wrapper" class="ortala">
<?php include(TEMPLATEPATH . '/lib/head_ad.php'); ?>
<div class="solBlok singleSol">
<?php include(TEMPLATEPATH . '/loop.php'); ?>
<?php include(TEMPLATEPATH . '/lib/paginate.php'); ?>
</div><!--solBlok bitiş-->
<?php get_footer(); ?>cat 100 yazan yere yazılarını istemediğiniz kategorinin id'sini veya idlerini yazın, showpost karşısındaki yerde kaç yazı geleceği