رفتن به مطلب

پست های پیشنهاد شده

سلام و درود

دوستان یک مشکل عجیب (البته برای من عجیبه) برای سایت ایجاد شده :در سمت چپ سایت یک فضای بسیار زیاد خالی ایجاد شده که هر چه تلاش کردم که از بین بره نشد که نشد حتی با عوض کردن قالب !

در تصویر زیر ببینید :

Untitled_2.jpg

یا میتوانید به سایت رجوع کنید و مشکل را ببنید:


tabasnews.ir

به نظر شما مشکل از چیه؟

نسخه وردپرس من : 3.3.1

لینک به ارسال

قالبو عوض کردم باز هم مشکل پابرجا بود!

این هم فایل ایندکس:


<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package Graphene
* @since Graphene 1.0
*/
global $graphene_settings;
get_header(); ?>
<?php

/* Check if the user selects specific category for the front page */
if ( is_home() && $graphene_settings['frontpage_posts_cats'] && ! in_array( 'disabled', $graphene_settings['frontpage_posts_cats'] ) ) {
global $wp_query;
$cats = $graphene_settings['frontpage_posts_cats'];

// Display the sticky posts first
$stickies = get_option('sticky_posts');
if ( get_query_var( 'paged' ) < 2 && ( $stickies ) ) {
$args = array( 'category__in' => $cats, 'post__in' => $stickies );
query_posts( apply_filters( 'graphene_frontpage_posts_cats_sticky_args', $args ) );
$wp_query->is_home = true;
$wp_query->is_category = false;
$wp_query->is_archive = false;

if ( have_posts() ){
get_template_part( 'loop', 'index' );
}

wp_reset_query();
}

// Display the rest of the posts from the category
$args = array( 'category__in' => $cats, 'paged' => get_query_var( 'paged' ), 'post__not_in' => $stickies );
query_posts( apply_filters( 'graphene_frontpage_posts_cats_args', $args ) );
$wp_query->is_home = true;
$wp_query->is_category = false;
$wp_query->is_archive = false;
}

do_action('graphene_index_pre_loop');

/* Run the loop to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-index.php and that will be used instead.
*/
if ( ! ( is_home() && $graphene_settings['frontpage_posts_cats'] && ! have_posts() ) ) {
while ( have_posts() ) {
the_post();
get_template_part( 'loop', 'index' );
}
}

/* Posts navigation. */
graphene_posts_nav();
?>

<?php get_footer(); ?>

لینک به ارسال

افزونه‌ها را غیر فعال کنید

و تست کنید. احتمالا مشکل از افزونه ها باشد

لینک به ارسال

احتمال (احتمال) داره از افزونه های اشتراک گذاری (گوگل پلاس و ... ) یا نظر ستجی یا خبرنامه باشه . چون من با اینا همین مشکلو داشتم ( بیشتر اشتراک گذاری )

لینک به ارسال

خیلی ممنون از همه دوستان .. همانطور که فرمودید مشکل از افزونه ها بود : افزونه ای که این بلا را سر سایت آورده بود: schreikasten-plugin-for-wp یا همون افزونه ستون حرف مردم

[دوستان نمیدونم از کجا باید تاپیک را به حالت حل شده تغییر داد اگه میدونستم انجام میدادم]ممنون

ویرایش شده توسط sajjadnajafi
لینک به ارسال

به گفتگو بپیوندید

هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .

مهمان
ارسال پاسخ به این موضوع ...

×   شما در حال چسباندن محتوایی با قالب بندی هستید.   حذف قالب بندی

  تنها استفاده از 75 اموجی مجاز می باشد.

×   لینک شما به صورت اتوماتیک جای گذاری شد.   نمایش به صورت لینک

×   محتوای قبلی شما بازگردانی شد.   پاک کردن محتوای ویرایشگر

×   شما مستقیما نمی توانید تصویر خود را قرار دهید. یا آن را اینجا بارگذاری کنید یا از یک URL قرار دهید.

×
×
  • اضافه کردن...