ammargraph گفت:
سلام دوست عزیز
خب اول برو خط 5 این فایل رو بررسی کن : header . php ببین چه مشکلی داره؟!
اگه نشد همین فایل رو بذار اینجا(به صور کُد) تا ما ببینیم ...
یا علی
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id="main">
*
* @package web2feel
* @since web2feel 1.0
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device-width" />
<title><?php
/*
* Print the <title> tag based on what is being viewed.
*/
global $page, $paged;
wp_title( '|', true, 'right' );
// Add the blog name.
bloginfo( 'name' );
// Add the blog description for the home/front page.
$site_description = get_bloginfo( 'description', 'display' );
if ( $site_description && ( is_home() || is_front_page() ) )
echo " | $site_description";
// Add a page number if necessary:
if ( $paged >= 2 || $page >= 2 )
echo ' | ' . sprintf( __( 'Page %s', 'web2feel' ), max( $paged, $page ) );
?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<!--[if lt IE 9]>
<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
<![endif]-->
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<div id="page" class="hfeed site">
<header id="masthead" class="site-header cf" role="banner">
<div class="site-name ">
<h1 class="site-title">" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></h1>
<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
</div>
<div class="contact-info">
<span class="smail">ایمیل : <span><?php echo of_get_option('w2f_mail'); ?></span></span>
<span class="sphone">شماره پشتیبانی: <span><?php echo of_get_option('w2f_phone'); ?></span></span>
</div>
</header><!-- #masthead .site-header -->
<div class="main_nav cf">
<div class="container_12">
<?php wp_nav_menu( array( 'container_id' => 'submenu', 'theme_location' => 'primary','menu_id'=>'web2feel' ,'menu_class'=>'sfmenu','walker' => new description_walker() ) ); ?>
</div>
</div>
<div class="sub_nav">
<div class="mycart"><?php wp_nav_menu( array( 'theme_location' => 'second' )); ?></div>
<div class="sbox">
<form role="search" method="get" id="searchform" action="<?php echo home_url( '/' ); ?>">
<div>
<input type="text" value="جستجو در محصولات ..." name="s" id="s" />
<input type="submit" id="searchsubmit" value="جستجو" />
<input type="hidden" name="post_type" value="products" />
</div>
</form>
</div>
</div>
<div id="main" class="site-main cf">
<div class="container_12">