mohsen 98 1 ارسال شده در تیر 15، 1398 گزارش اشتراک گذاری ارسال شده در تیر 15، 1398 سلام دوستان من قالب رو از سایت خارجی دانلود و روی لوکال فارسی و راستچین و به قول گفتنی امادش کردم ولی وقتی اپش کردم رو هاست سایت باز نمیشه این متن ارور Fatal error: Call to undefined function ghostpool_option() in /home/vitaming/public_html/wp-content/themes/huber/header.php on line 22 عکس ارور هم تو پیوست موجوده کد HEADER.PHP <!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="profile" href="http://gmpg.org/xfn/11" /> <?php if ( is_singular() && pings_open( get_queried_object() ) ) { ?> <link rel="pingback" href="https://go.20script.ir/index.php?url=https://go.20script.ir/index.php?url=<?php bloginfo( 'pingback_url' ); ?>" /> <?php } ?> <?php wp_head(); ?> </head> <body <?php body_class(); ?>> <?php if ( ! is_page_template( 'blank-page-template.php' ) ) { ?> <div id="gp-site-wrapper"> <div id="gp-page-wrapper"> <header id="gp-headers-container"> <?php if ( ghostpool_option( 'top-header' ) != 'gp-top-header-disabled' ) { ?> <header id="gp-top-header" class="<?php echo sanitize_html_class( ghostpool_option( 'header_layout' ) ); ?><?php if ( ghostpool_option( 'theme_layout' ) == 'gp-boxed-layout' ) { ?> gp-container<?php } ?>"> <div style=" text-align:right; margin-right: 328px; font-family:b yekan; font-size:19px; color:#b400ff"> امروز <?php echo date_i18n ('l , j F , Y | H:i') ; ?> به ویتامین گیم خوش اومدی ! </div> <?php if ( ghostpool_option( 'header_layout' ) == 'gp-header-boxed' ) { ?><div class="gp-container"><?php } ?> <?php if ( has_nav_menu( 'gp-top-nav' ) ) { ?> <nav id="gp-top-nav" class="gp-nav"> <?php wp_nav_menu( array( 'theme_location' => 'gp-top-nav', 'sort_column' => 'menu_order', 'container' => 'ul', 'fallback_cb' => 'null', 'walker' => new Ghostpool_Custom_Menu ) ); ?> </nav> <?php } ?> <?php if ( ghostpool_option( 'header_layout' ) == 'gp-header-boxed' ) { ?></div><?php } ?> </header> <?php } ?> <header id="gp-main-header" class="<?php echo sanitize_html_class( ghostpool_option( 'header_layout' ) ); ?><?php if ( ghostpool_option( 'theme_layout' ) == 'gp-boxed-layout' ) { ?> gp-container<?php } ?>"> <div class="gp-container"> <div id="gp-header-left"> <<?php if ( is_front_page() && ! is_home() ) { ?>h1<?php } else { ?>div<?php } ?> id="gp-logo"> <a href="https://go.20script.ir/index.php?url=https://go.20script.ir/index.php?url=<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php bloginfo( 'name' ); ?>"> <?php if ( ghostpool_option( 'text_logo' ) ) { ?> <span id="gp-text-logo"><?php echo esc_attr( ghostpool_option( 'text_logo' ) ); ?></span> <?php } else { ?> <?php if ( ghostpool_option( 'desktop_logo', 'url' ) ) { ?> <img src="<?php echo esc_url( ghostpool_option( 'desktop_logo', 'url', get_template_directory_uri() . '/lib/images/logo.png' ) ); ?>" alt="<?php bloginfo( 'name' ); ?>" width="<?php echo absint( ghostpool_option( 'desktop_logo_dimensions', 'width', 217 ) ); ?>" height="<?php echo absint( ghostpool_option( 'desktop_logo_dimensions', 'height', 32 ) ); ?>" class="gp-desktop-logo" /> <?php } ?> <?php if ( ghostpool_option( 'desktop_scrolling_logo', 'url' ) ) { ?> <img src="<?php echo esc_url( ghostpool_option( 'desktop_scrolling_logo', 'url', get_template_directory_uri() . '/lib/images/logo.png' ) ); ?>" alt="<?php bloginfo( 'name' ); ?>" width="<?php echo absint( ghostpool_option( 'desktop_scrolling_logo_dimensions', 'width', 217 ) ); ?>" height="<?php echo absint( ghostpool_option( 'desktop_scrolling_logo_dimensions', 'height', 32 ) ); ?>" class="gp-scrolling-logo" /> <?php } ?> <?php if ( ghostpool_option( 'mobile_logo', 'url' ) ) { ?> <img src="<?php echo esc_url( ghostpool_option( 'mobile_logo', 'url', get_template_directory_uri() . '/lib/images/logo.png' ) ); ?>" alt="<?php bloginfo( 'name' ); ?>" width="<?php echo absint( ghostpool_option( 'mobile_logo_dimensions', 'width', 133 ) ); ?>" height="<?php echo absint( ghostpool_option( 'mobile_logo_dimensions', 'height', 20 ) ); ?>" class="gp-mobile-logo" /> <?php } ?> <?php } ?> </a> </<?php if ( is_front_page() && ! is_home() ) { ?>h1<?php } else { ?>div<?php } ?>> </div> <?php if ( has_nav_menu( 'gp-desktop-nav' ) ) { ?> <nav id="gp-desktop-nav" class="gp-nav"> <?php wp_nav_menu( array( 'theme_location' => 'gp-desktop-nav', 'sort_column' => 'menu_order', 'container' => 'ul', 'fallback_cb' => 'null', 'walker' => new Ghostpool_Custom_Menu ) ); ?> </nav> <?php } ?> <div id="gp-header-right"> <?php if ( function_exists( 'is_woocommerce' ) && ghostpool_option( 'cart_button' ) != 'gp-cart-disabled' ) { echo ghostpool_dropdown_cart(); } ?> <?php if ( ghostpool_option( 'search_button' ) != 'gp-search-button-disabled' ) { ?> <a id="gp-search-button"></a> <?php } ?> <?php if ( has_nav_menu( 'gp-social-nav' ) && ghostpool_option( 'social_nav' ) != 'gp-social-nav-disabled' ) { ?> <nav id="gp-social-nav" class="gp-nav"> <?php wp_nav_menu( array( 'theme_location' => 'gp-social-nav', 'sort_column' => 'menu_order', 'container' => 'ul', 'fallback_cb' => 'null', 'walker' => new Ghostpool_Custom_Menu ) ); ?> </nav> <?php } ?> <?php if ( has_nav_menu( 'gp-profile-nav' ) && ghostpool_option( 'profile_nav' ) != 'gp-profile-nav-disabled' ) { ?> <nav id="gp-profile-nav" class="gp-nav"> <?php wp_nav_menu( array( 'theme_location' => 'gp-profile-nav', 'sort_column' => 'menu_order', 'container' => 'ul', 'fallback_cb' => 'null', 'walker' => new Ghostpool_Custom_Menu ) ); ?> </nav> <?php } ?> <?php if ( has_nav_menu( 'gp-mobile-nav' ) ) { ?> <div id="gp-mobile-nav-button" class="gp-open-nav"><div id="gp-nav-button-icon"></div></div> <?php } ?> </div> <div class="gp-clear"></div> </div> <?php if ( ghostpool_option( 'search_button' ) != 'gp-search-button-disabled' ) { ?> <div id="gp-search-box-wrapper" class="gp-container"> <div id="gp-search-box"> <?php get_search_form(); ?> </div> </div> <?php } ?> </header> <div> <?php echo do_shortcode("[epic_element_newsticker newsticker_title='داغترین ها' newsticker_icon='fa-fire' enable_autoplay='true' autoplay_delay='5500' newsticker_background='#dd0000' newsticker_text_color='#ffffff' number_post='10' include_author='1']"); ?> </div> </header> <div id="gp-fixed-header-padding"></div> <?php if ( has_nav_menu( 'gp-mobile-nav' ) ) { ?> <nav id="gp-mobile-nav"> <?php wp_nav_menu( array( 'theme_location' => 'gp-mobile-nav', 'sort_column' => 'menu_order', 'container' => 'ul', 'fallback_cb' => 'null', 'walker' => new Ghostpool_Custom_Menu ) ); ?> </nav> <?php } ?> <?php } ?> و وقتی که کلا هدر رو حذف یا کدشو عوض میکنم باز ارور از ایندکس فوتر و غیره میگیره ممنون میشم راهنمایی کنید لینک ها تنها برای اعضای سایت قابل نمایش است. لینک به دیدگاه به اشتراک گذاری در سایت های دیگر More sharing options...
mohsen 98 1 ارسال شده در تیر 16، 1398 مالک گزارش اشتراک گذاری ارسال شده در تیر 16، 1398 up لینک به دیدگاه به اشتراک گذاری در سایت های دیگر More sharing options...
Masih 6,279 ارسال شده در تیر 17، 1398 گزارش اشتراک گذاری ارسال شده در تیر 17، 1398 درود. تمامی افزونه های مورد نیاز قالب رو نصب و فعال کنید. متن خطا به همین دلیل هست که تابع تعریف شده ghostpool_option و ... توسط توابع یا هسته افزونه تعریف نشده و بدون تعریف تابع، ازش درحال استفاده هستید. پس یا قالبتون ناقص هست که تعریف تابع در اون انجام نشده، یا افزونه مورد نیاز قالب نصب و فعال نیست. لینک به دیدگاه به اشتراک گذاری در سایت های دیگر More sharing options...
mohsen 98 1 ارسال شده در تیر 17، 1398 مالک گزارش اشتراک گذاری ارسال شده در تیر 17، 1398 من افزونه ها رو نصب کردم بازم نمیاد . لازم به ذکره روی لوکال بدون مشکل بالا میاد لینک به دیدگاه به اشتراک گذاری در سایت های دیگر More sharing options...
پست های پیشنهاد شده