رفتن به مطلب

مشکل در هنگام سیو کردن


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

سلام

سرچ کردم ولی چیز جالبی دستگریم نشد

الان قالب یک مشکلی داره اونم اینه که وقتی صفحه ای رو می خوام از داشبورد سیو کنم صفحه سیو میشه ولی موقع سیو سفید میشه صفحه

مثلا یک نوشته می نویسم ارسال نوشته رو میزنم نوشته ارسال میشه ولی صفحه سفید میشه باید دوباره برگشت نوشته ها رو زد تا نوشته بیاد

از پلاگین ها نیست از پوشه قالب ها هم نیست

فانکشن فاصله ها رو چک کردم دوستان نظری ندارند؟

لینک به ارسال

مشکل حل شده؟

اگر پیشفرض (بدون افزونه و پوسته) مشکل دارد

نصب دستی کنید

لینک به ارسال

مشکل حل شده؟

اگر پیشفرض (بدون افزونه و پوسته) مشکل دارد

نصب دستی کنید

نه حل نشده هنوز

مشکل از پلاگین ها نیست پوشه رو تغییر نام دادم درست نشد

در سایر قالب ها درست کار می کنه در قالب مورد نظر من این جوری میشه مشکل از قالب هست

با این توضیحات کسی می دونه مشکل از کجا می تونه باشه؟؟

لینک به ارسال

توی لوکال هاست هم تست کنید ببینید قالب مشکل داره یا خیر ..

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

لینک به ارسال

توی لوکال هاست هم تست کنید ببینید قالب مشکل داره یا خیر ..

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

در لوکال درست هستش

function

چیش رو بررسی کنم؟

لینک به ارسال


<?php load_theme_textdomain('pakweb', get_template_directory() . '/Lan'); ?>

<?php
register_nav_menus(
array(
'main-nav' => 'The Main Menu',
'footer-nav' => 'The Footer Menu'
)
);

function dtuts_main_nav() {
// display the wp3 menu if available
wp_nav_menu(array(
'container_id' => 'access',
'container_class' => 'wrap clearfix',
'menu' => 'The Main Menu', // nav name
'menu_id' => 'nav',
'theme_location' => 'main-nav', // where it's located in the theme
'before' => '', // before the menu
'after' => '', // after the menu
'link_before' => '', // before each link
'link_after' => '', // after each link
'depth' => 0, // limit the depth of the nav
'fallback_cb' => 'dtuts_main_nav_fallback' // fallback function
));
} /* end dtuts main nav */

function dtuts_footer_nav() {
// display the wp3 menu if available
wp_nav_menu(array(
'container_class' => 'menu footer-nav clearfix', // class of container (should you choose to use it)
'container_id' => 'footer-nav',
'menu' => 'The Footer Menu', // nav name
'menu_id' => 'nav2', // adding custom nav class
'theme_location' => 'footer-nav', // where it's located in the theme
'before' => '', // before the menu
'after' => '', // after the menu
'link_before' => '', // before each link
'link_after' => '', // after each link
'depth' => 0, // limit the depth of the nav
'fallback_cb' => 'dtuts_footer_nav_fallback' // fallback function
));
} /* end dtuts footer nav */

// this is the fallback for header main menu
function dtuts_main_nav_fallback() {
wp_page_menu( array(
'show_home' => true,
'menu_id' => 'nav main-nav clearfix', // adding custom nav class
'include' => '',
'exclude' => '',
'echo' => true,
'link_before' => '', // before each link
'link_after' => '' // after each link
) );
}

// this is the fallback for footer menu
function dtuts_footer_nav_fallback() {
wp_page_menu( array(
'show_home' => true,
'menu_class' => 'nav footer-nav clearfix', // adding custom nav class
'include' => '',
'exclude' => '',
'echo' => true,
'link_before' => '', // before each link
'link_after' => '' // after each link
) );
}
?>
<?php

function wpe_excerptlength_teaser( $length ) {

return 75;
}
function wpe_excerptlength_index( $length ) {

return 50;
}
function wpe_excerptmore( $more ) {

return '...';
}

?>

<?php
function wpe_excerpt( $length_callback = '', $more_callback = '' ) {

if ( function_exists( $length_callback ) )
add_filter( 'excerpt_length', $length_callback );

if ( function_exists( $more_callback ) )
add_filter( 'excerpt_more', $more_callback );

$output = get_the_excerpt();
$output = apply_filters( 'wptexturize', $output );
$output = apply_filters( 'convert_chars', $output );
$output = '<p>' . $output . '</p>'; // maybe wpautop( $foo, $br )
echo $output;
}

?>

<?php
register_sidebar(array(
'name' => __( 'Ads under Box One' ),
'id' => 'right-sidebar',
'description' => __( 'محل درج تبلیغ زیر باکس اول ' ),
'before_title' => '<h1>',
'after_title' => '</h1>'
));
?>


<?php
register_sidebar(array(
'name' => __( 'Ads under Box two' ),
'id' => 'right-sidebar2',
'description' => __( 'محل درج تبلیغ زیر باکس دوم ' ),
'before_title' => '<h1>',
'after_title' => '</h1>'
));
?>

<?php
register_sidebar(array(
'name' => __( 'Ads under Box three' ),
'id' => 'right-sidebar3',
'description' => __( 'محل درج تبلیغ زیر باکس سوم ' ),
'before_title' => '<h1>',
'after_title' => '</h1>'
));
?>


<?php
register_sidebar(array(
'name' => __( 'Ads under Box four' ),
'id' => 'right-sidebar4',
'description' => __( 'محل درج تبلیغ زیر باکس چهارم ' ),
'before_title' => '<h1>',
'after_title' => '</h1>'
));
?>


<?php
register_sidebar(array(
'name' => __( 'footer LEFT' ),
'id' => 'right-sidebar5',
'description' => __( 'ابزارک فوتر سمت چپ ' ),
'before_title' => '<h1>',
'after_title' => '</h1>'
));
?>

<?php
register_sidebar(array(
'name' => __( 'footer RIGHT' ),
'id' => 'right-sidebar6',
'description' => __( 'ابزارک فوتر سمت راست ' ),
'before_title' => '<h1>',
'after_title' => '</h1>'
));
?>

<?php
register_sidebar(array(
'name' => __( 'single ads' ),
'id' => 'right-sidebar7',
'description' => __( 'ابزارک تبلیغات زیر نوشته ها صفحه سینگل ' ),
'before_title' => '<h1>',
'after_title' => '</h1>'
));
?>

مشکل در این قسمت از فایل است

لینک به ارسال

تمام


?>
<?php

باید حذف بشه

<?php

load_theme_textdomain('pakweb', get_template_directory() . '/Lan');

register_nav_menus(

array(

'main-nav' => 'The Main Menu',

'footer-nav' => 'The Footer Menu'

)

);

function dtuts_main_nav() {

// display the wp3 menu if available

wp_nav_menu(array(

'container_id' => 'access',

'container_class' => 'wrap clearfix',

'menu' => 'The Main Menu', // nav name

'menu_id' => 'nav',

'theme_location' => 'main-nav', // where it's located in the theme

'before' => '', // before the menu

'after' => '', // after the menu

'link_before' => '', // before each link

'link_after' => '', // after each link

'depth' => 0, // limit the depth of the nav

'fallback_cb' => 'dtuts_main_nav_fallback' // fallback function

));

} /* end dtuts main nav */

function dtuts_footer_nav() {

// display the wp3 menu if available

wp_nav_menu(array(

'container_class' => 'menu footer-nav clearfix', // class of container (should you choose to use it)

'container_id' => 'footer-nav',

'menu' => 'The Footer Menu', // nav name

'menu_id' => 'nav2', // adding custom nav class

'theme_location' => 'footer-nav', // where it's located in the theme

'before' => '', // before the menu

'after' => '', // after the menu

'link_before' => '', // before each link

'link_after' => '', // after each link

'depth' => 0, // limit the depth of the nav

'fallback_cb' => 'dtuts_footer_nav_fallback' // fallback function

));

} /* end dtuts footer nav */

// this is the fallback for header main menu

function dtuts_main_nav_fallback() {

wp_page_menu( array(

'show_home' => true,

'menu_id' => 'nav main-nav clearfix', // adding custom nav class

'include' => '',

'exclude' => '',

'echo' => true,

'link_before' => '', // before each link

'link_after' => '' // after each link

) );

}

// this is the fallback for footer menu

function dtuts_footer_nav_fallback() {

wp_page_menu( array(

'show_home' => true,

'menu_class' => 'nav footer-nav clearfix', // adding custom nav class

'include' => '',

'exclude' => '',

'echo' => true,

'link_before' => '', // before each link

'link_after' => '' // after each link

) );

}

function wpe_excerptlength_teaser( $length ) {

return 75;

}

function wpe_excerptlength_index( $length ) {

return 50;

}

function wpe_excerptmore( $more ) {

return '...';

}

function wpe_excerpt( $length_callback = '', $more_callback = '' ) {

if ( function_exists( $length_callback ) )

add_filter( 'excerpt_length', $length_callback );

if ( function_exists( $more_callback ) )

add_filter( 'excerpt_more', $more_callback );

$output = get_the_excerpt();

$output = apply_filters( 'wptexturize', $output );

$output = apply_filters( 'convert_chars', $output );

$output = '<p>' . $output . '</p>'; // maybe wpautop( $foo, $br )

echo $output;

}

register_sidebar(array(

'name' => __( 'Ads under Box One' ),

'id' => 'right-sidebar',

'description' => __( 'محل درج تبلیغ زیر باکس اول ' ),

'before_title' => '<h1>',

'after_title' => '</h1>'

));

register_sidebar(array(

'name' => __( 'Ads under Box two' ),

'id' => 'right-sidebar2',

'description' => __( 'محل درج تبلیغ زیر باکس دوم ' ),

'before_title' => '<h1>',

'after_title' => '</h1>'

));

register_sidebar(array(

'name' => __( 'Ads under Box three' ),

'id' => 'right-sidebar3',

'description' => __( 'محل درج تبلیغ زیر باکس سوم ' ),

'before_title' => '<h1>',

'after_title' => '</h1>'

));

register_sidebar(array(

'name' => __( 'Ads under Box four' ),

'id' => 'right-sidebar4',

'description' => __( 'محل درج تبلیغ زیر باکس چهارم ' ),

'before_title' => '<h1>',

'after_title' => '</h1>'

));

register_sidebar(array(

'name' => __( 'footer LEFT' ),

'id' => 'right-sidebar5',

'description' => __( 'ابزارک فوتر سمت چپ ' ),

'before_title' => '<h1>',

'after_title' => '</h1>'

));

register_sidebar(array(

'name' => __( 'footer RIGHT' ),

'id' => 'right-sidebar6',

'description' => __( 'ابزارک فوتر سمت راست ' ),

'before_title' => '<h1>',

'after_title' => '</h1>'

));

register_sidebar(array(

'name' => __( 'single ads' ),

'id' => 'right-sidebar7',

'description' => __( 'ابزارک تبلیغات زیر نوشته ها صفحه سینگل ' ),

'before_title' => '<h1>',

'after_title' => '</h1>'

));

?>

لینک به ارسال

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

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

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

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

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

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

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

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

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