رفتن به مطلب

keyvan

عضو سایت
  • تعداد ارسال‌ها

    551
  • تاریخ عضویت

  • آخرین بازدید

نوشته‌ها ارسال شده توسط keyvan

  1. سلام

    اگر بخوام با این کد اخرین ارسال های انجمنم (مای بی بی) رو نماش بدم،باید چه تغییری داده بشه؟


    <div class=div54>
    <div class="div15">
    <div class="div015"></div>
    <div class="div18"><font class="text6">آخرین ارسال های سایت</font></div>
    </div>
    <div class="div21">
    <div class=div55></div>
    <div class=div56><font class=text4>
    <ul>
    <?php $recent = new WP_Query("cat=0&showposts=10"); while ($recent->have_posts()) : $recent->the_post(); ?>
    <li><a class="last" href="<?php the_permalink(); ?>" alt="post-<?php the_ID(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a><span class="post-date">(<?php the_time(get_option('date_format')); ?>)</span></li>
    <?php endwhile; wp_reset_query(); ?>
    </ul>
    </font>
    </div></div>
    <div class=div26m>
    </div>
    </div>

  2. سلام

    اگر بخوام در این کد که آخرین ارسال ها رو نمایش میده؛ با کلیک روی عنوان مطلب، مطلب در یک صفحه جدید باز شود ،بایید چه تغییری در آن انجام شود؟


    <div class=div54>
    <div class="div15">
    <div class="div015"></div>
    <div class="div18"><font class="text6">آخرین ارسال های سایت</font></div>
    </div>
    <div class="div21">
    <div class=div55></div>
    <div class=div56><font class=text4>
    <ul>
    <?php $recent = new WP_Query("cat=0&showposts=10"); while ($recent->have_posts()) : $recent->the_post(); ?>
    <li><a class="last" href="<?php the_permalink(); ?>" alt="post-<?php the_ID(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a><span class="post-date">(<?php the_time(get_option('date_format')); ?>)</span></li>
    <?php endwhile; wp_reset_query(); ?>
    </ul>
    </font>
    </div></div>
    <div class=div26m>
    </div>
    </div>

  3. این کد رو در ساید بار گذاشتم کل قالب بهم ریخت، ستون های راست و چپ رو نمایش نمیده، ستون وسط رو نمایش نمیده و براش خطا میاره، کد رو هم برداشتم اما وقتی پوسته رو ویرایش میکنم این خطا رو میاره


    ?>
    Warning: Cannot modify header information - headers already sent by (output started at /home/blogspor/public_html/wp-content/themes/MyTheme v.2/functions.php:2) in /home/blogspor/public_html/wp-includes/pluggable.php on line 881

    رفتن راه حل بدین این مشکل رو رفع کنم

    تو پییشخوان و توی سایت که ناقص میاد بالا این رو اون بالا گذاشته ؟


    ?>

  4. گذشته از اون یه پیام خطای مشابه پیام خطای که در پست اول گذاشتم هم میاره، در خود لینکی هم که گذاشتید ،یکی هم این رو گفته

    این هم متنش

    وقتی مطلبی رو میزنم، این ارور میاد

    Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /home/roozeno/public_html/wp-content/plugins/auto-upload-images/index.php on line 173

    Warning: Cannot modify header information – headers already sent by (output started at /home/roozeno/public_html/wp-content/plugins/auto-upload-images/index.php:173) in /home/roozeno/public_html/wp-includes/pluggable.php on line 881

    • امتیاز 1
  5. اتفاقا" میخواستم در این رابطه سوال بپرسم

    کدی رو که ysm-design گذاشتن کجای قالب بذارم؟ ساید بار؟

    مورد دیگه اینکه لینکی که آقا مرتضی گذاشتید

    از کدوم کد و در کجای پوسته استفاه کنم

    ممنون میشم راهنمائی بفرمائید چون در این زمینه تخصص ندارم

  6. سلام

    قبلا" از افزونه cache-image استفاده میکردم مشکلیی نداشتم؛ ولی الان چند وقته وقتی پستی رو ویرایش میکنم ،این پیام خطا ها رو میاره

    Warning: strstr() [function.strstr]: Empty delimiter in /home/blogspor/public_html/wp-content/plugins/cache-images/cache-images.php on line 531

    Warning: Cannot modify header information - headers already sent by (output started at /home/blogspor/public_html/wp-content/plugins/cache-images/cache-images.php:531) in /home/blogspor/public_html/wp-includes/pluggable.php on line 881

    cache-images.php on line 531


    if ( strstr( $url, get_option('siteurl') . '/' . get_option('upload_path') ) || !strstr( $url, $domain) || (($res) && in_multi_array($url, $res)))

    pluggable.php on line 881


    header("Location: $location", true, $status);

    • امتیاز 1
×
×
  • اضافه کردن...