انجمن


مشکل در فایل ایندکس قالب(عدم نمایش مطالب)  (۱ نوشته)

  • farshadvl

    آفلاین
    عضو
    تعداد نوشته‌ها: ۴۶
    تشکر شده: ۱۰ بار
    # نوشته شده: ۱۱ سال پیش
    ۷ تیر ۱۳۹۱ - ۱۲:۳۵

    سلام
    من یک قالب درست کردم و در صفحه ایندکس که می خواهم مطالب را نشون بدم فقط می نویسه "لیست ها" و هیچ مطلبی را نشون نمیده این د قالبمه ببینید کجتش مشکل داره؟

    <?php if(have_posts()): ?><?php while(have_posts()):the_post(); ?>
    <div class="he-1"></div>
    <div id='postajaxresult'>
    <div class="pic4 post-top">
    <div class="post-title">	<h4><a  href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h4></div>
    <div class="post-counter"><?php if(function_exists('the_views')) { the_views(); } ?><br />download</div><div class="post-comment"><span><?php comments_popup_link('0', '1', '%'); ?></span>comments</div></div>
    <div class="post-center">
    <div style="width:96%;margin:0% 2%;text-align:justify;direction:rtl;">
    <div align="center">
    <div align="center"><?php the_content(__('','dnld')); ?>
    </div>
    </div><div class="he-1"></div>
    </div>
    </div>
    <div class="pic4 post-more-n">
    <div class="more-post-dl animate"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" rel="bookmark">Download</a></div>
    <div class="post-view-date animate"><a href="javascript:void();"><img src="<?php bloginfo('template_directory'); ?>/images/date.gif" width="23" height="23" alt="date" /> <?php the_time('j F Y') ?> ,  <?php the_time('g:i'); ?></a></div>
    <?php endwhile; endif; ?>

درباره‌ی این موضوع



برچسب‌ها

هیچ برچسبی نیست.