الله يعطيك العافيهه ..
اريد عمل طريقة عرض التدوينات في الاقسام والارشيف والوسوم والبحث وملفات الاعضاء مثل الرئيسية
وهذا قالب index
\[code\]<?php get\_header(); ?>
<?php
$options = get\_option('inove\_options');
if (function\_exists('wp\_list\_comments')) {
add\_filter('get\_comments\_number', 'comment\_count', 0);
}
?>
<?php if ($options\['notice'\] && $options\['notice\_content'\]) : ?>
<div class="post" id="notice">
<div class="content">
<?php echo($options\['notice\_content'\]); ?>
<div class="fixed"></div>
</div>
</div>
<?php endif; ?>
<?php if (have\_posts()) : while (have\_posts()) : the\_post(); update\_post\_caches($posts); ?>
<div class="post" id="post-<?php the\_ID(); ?>">
<h2><a class="title" href="<?php the\_permalink() ?>" rel="bookmark"><?php the\_title(); ?></a></h2>
</div>
<?php endwhile; else : ?>
<div class="errorbox">
<?php \_e('Sorry, no posts matched your criteria.', 'inove'); ?>
</div>
<?php endif; ?>
<div id="pagenavi">
<?php if(function\_exists('wp\_pagenavi')) : ?>
<?php wp\_pagenavi() ?>
<?php else : ?>
<span class="newer"><?php previous\_posts\_link(\_\_('Newer Entries', 'inove')); ?></span>
<span class="older"><?php next\_posts\_link(\_\_('Older Entries', 'inove')); ?></span>
<?php endif; ?>
<div class="fixed"></div>
</div>
<?php get\_footer(); ?>\[/code\]