انجمن


مشکل جستجوی سایت  (۷ نوشته)

  • showp30.in

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

    اقا شرمنده باز مزاحم میشم
    چرا موتور جستجوی سایت من کار نمیکنه؟؟این ارور رو میده
    Parse error: syntax error, unexpected T_STRING in /home/showpin/public_html/wp-content/themes/WSDMagicp30_New/search.php on line 23
    کجا پوسته اشکال داره؟از کجا باید درستش کنم؟

  • Omid Sh

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

    فایل search.php رو اینجا بزارید.

  • showp30.in

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

    <?php get_header(); ?>
    
    <?php include (TEMPLATEPATH . '/rsidebar.php'); ?>
    
    <?php include (TEMPLATEPATH . '/lsidebar.php'); ?>
    
              <div id="centercol">
               <?php if (have_posts()) : ?>
               <?php while (have_posts()) : the_post(); ?>
    
               <div id="entry">
                 <div id="centercol-up"></div>
                 <div id="centercol-body">
                   <div class="entry">
                     <div class="entry-header">
                       <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a>
                     </div>
                     <div class="entry-hit">
                       <img border="0" src="<?php bloginfo('template_url'); ?>/images/hits.gif" width="10" height="13" alt="icon">بازدید: <?php if(function_exists('the_views')) { the_views(); } ?>
                       <img border="0" src="<?php bloginfo('template_url'); ?>/images/category.gif" width="17" height="12" alt="icon">دسته: <?php the_category(', '); ?>
                     </div>
                     <div class="entry-body">
                       <?php the_content('<br><img border="0" alt="icon" src="<?php bloginfo('template_url'); ?>/images/more.gif" width="16" height="16"> <b>برای دانلود اینجا کلیک کنید</b>'); ?>
                     </div>
                     <div class="entry-footer">
                       <div align="left">
                         <?php the_tags('', ', ', ''); ?>
                       </div>
                       <img border="0" src="<?php bloginfo('template_url'); ?>/images/author.gif" width="24" height="13" alt="icon"> نوشته: <?php the_author(); ?>
                       <img border="0" src="<?php bloginfo('template_url'); ?>/images/date.gif" width="19" height="13" alt="icon"> تاریخ: <?php the_time(__('j F, Y','kubrick')) ?>
                       <img border="0" src="<?php bloginfo('template_url'); ?>/images/comment.gif" width="18" height="14" alt="icon"> <?php comments_popup_link(__('بدون نظر'), __('1 نظر'), __('% نظر')); ?>
                     </div>
                   </div>
                 </div>
               </div>
               <div id="centercol-down"></div>
               <?php endwhile; ?>
    
                <div id="entry">
                  <div id="centercol-up"></div>
                  <div id="centercol-body">
                    <div class="entry">
                      <div class="entry-header">
                        سایر صفحات سایت
                      </div>
                      <div class="entry-body">
                        <?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } ?>
    
                      </div>
                    </div>
                  </div>
                </div>
                <div id="centercol-down"></div>
                <?php else : ?>
                <?php endif; ?>
    
              </div>
    
    <?php get_footer(); ?>
  • showp30.in

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

    کسی نیست؟؟

  • Parsa

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

    <?php get_header(); ?>
    
    <?php include (TEMPLATEPATH . '/rsidebar.php'); ?>
    
    <?php include (TEMPLATEPATH . '/lsidebar.php'); ?>
    
              <div id="centercol">
               <?php if (have_posts()) : ?>
               <?php while (have_posts()) : the_post(); ?>
    
               <div id="entry">
                 <div id="centercol-up"></div>
                 <div id="centercol-body">
                   <div class="entry">
                     <div class="entry-header">
                       <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a>
                     </div>
                     <div class="entry-hit">
                       <img border="0" src="<?php bloginfo('template_url'); ?>/images/hits.gif" width="10" height="13" alt="icon">بازدید: <?php if(function_exists('the_views')) { the_views(); } ?>
                       <img border="0" src="<?php bloginfo('template_url'); ?>/images/category.gif" width="17" height="12" alt="icon">دسته: <?php the_category(', '); ?>
                     </div>
                     <div class="entry-body">
                       <?php the_content('<br><img border="0" alt="icon" src="'.bloginfo('template_url').'/images/more.gif" width="16" height="16"> <b>برای دانلود اینجا کلیک کنید</b>'); ?>
                     </div>
                     <div class="entry-footer">
                       <div align="left">
                         <?php the_tags('', ', ', ''); ?>
                       </div>
                       <img border="0" src="<?php bloginfo('template_url'); ?>/images/author.gif" width="24" height="13" alt="icon"> نوشته: <?php the_author(); ?>
                       <img border="0" src="<?php bloginfo('template_url'); ?>/images/date.gif" width="19" height="13" alt="icon"> تاریخ: <?php the_time(__('j F, Y','kubrick')) ?>
                       <img border="0" src="<?php bloginfo('template_url'); ?>/images/comment.gif" width="18" height="14" alt="icon"> <?php comments_popup_link(__('بدون نظر'), __('1 نظر'), __('% نظر')); ?>
                     </div>
                   </div>
                 </div>
               </div>
               <div id="centercol-down"></div>
               <?php endwhile; ?>
    
                <div id="entry">
                  <div id="centercol-up"></div>
                  <div id="centercol-body">
                    <div class="entry">
                      <div class="entry-header">
                        سایر صفحات سایت
                      </div>
                      <div class="entry-body">
                        <?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } ?>
    
                      </div>
                    </div>
                  </div>
                </div>
                <div id="centercol-down"></div>
                <?php else : ?>
                <?php endif; ?>
    
              </div>
    
    <?php get_footer(); ?>
    کاربران زیر به‌خاطر این نوشته تشکر کرده‌اند:
    showp30.in
  • showp30.in

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

    درست شد. اما یک اشکال کوچیک داره.
    خودتون toy story رو سرچ کنین.
    بالای پستها اینو مینویسه
    http://www.showp30.in/wp-content/themes/WSDMagicp30_New

  • Parsa

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

    <?php get_header(); ?>
    
    <?php include (TEMPLATEPATH . '/rsidebar.php'); ?>
    
    <?php include (TEMPLATEPATH . '/lsidebar.php'); ?>
    
              <div id="centercol">
               <?php if (have_posts()) : ?>
               <?php while (have_posts()) : the_post(); ?>
    
               <div id="entry">
                 <div id="centercol-up"></div>
                 <div id="centercol-body">
                   <div class="entry">
                     <div class="entry-header">
                       <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a>
                     </div>
                     <div class="entry-hit">
                       <img border="0" src="<?php bloginfo('template_url'); ?>/images/hits.gif" width="10" height="13" alt="icon">بازدید: <?php if(function_exists('the_views')) { the_views(); } ?>
                       <img border="0" src="<?php bloginfo('template_url'); ?>/images/category.gif" width="17" height="12" alt="icon">دسته: <?php the_category(', '); ?>
                     </div>
                     <div class="entry-body">
                       <?php the_content('<br><img border="0" alt="icon" src="'.get_template_directory_uri().'/images/more.gif" width="16" height="16"> <b>برای دانلود اینجا کلیک کنید</b>'); ?>
                     </div>
                     <div class="entry-footer">
                       <div align="left">
                         <?php the_tags('', ', ', ''); ?>
                       </div>
                       <img border="0" src="<?php bloginfo('template_url'); ?>/images/author.gif" width="24" height="13" alt="icon"> نوشته: <?php the_author(); ?>
                       <img border="0" src="<?php bloginfo('template_url'); ?>/images/date.gif" width="19" height="13" alt="icon"> تاریخ: <?php the_time(__('j F, Y','kubrick')) ?>
                       <img border="0" src="<?php bloginfo('template_url'); ?>/images/comment.gif" width="18" height="14" alt="icon"> <?php comments_popup_link(__('بدون نظر'), __('1 نظر'), __('% نظر')); ?>
                     </div>
                   </div>
                 </div>
               </div>
               <div id="centercol-down"></div>
               <?php endwhile; ?>
    
                <div id="entry">
                  <div id="centercol-up"></div>
                  <div id="centercol-body">
                    <div class="entry">
                      <div class="entry-header">
                        سایر صفحات سایت
                      </div>
                      <div class="entry-body">
                        <?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } ?>
    
                      </div>
                    </div>
                  </div>
                </div>
                <div id="centercol-down"></div>
                <?php else : ?>
                <?php endif; ?>
    
              </div>
    
    <?php get_footer(); ?>
    کاربران زیر به‌خاطر این نوشته تشکر کرده‌اند:
    showp30.in

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



برچسب‌ها

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