sir1 512 ارسال شده در اسفند 92 گزارش بازنشر ارسال شده در اسفند 92 سلام دوستانکسی میتونه در این چند خطایی که w3 نسبت به سایتم داده کمکم کنه؟ادرس ارورها:http://validator.w3.org/check?uri=www.acgih.ir&charset=%28detect+automatically%29&doctype=Inline&group=0 نقل قول لینک به ارسال
Farzad 3805 ارسال شده در اسفند 92 گزارش بازنشر ارسال شده در اسفند 92 تاپیک زیر رو بررسی کنید دوست عزیزآموزش رفع ارورهاي قالب در W3C 4 نقل قول لینک به ارسال
sir1 512 ارسال شده در اسفند 92 مالک گزارش بازنشر ارسال شده در اسفند 92 مشکل من اینجاست که اصلا نمیدونم اون کدی که خطا داره در کجای قالب است؟ بیشترشون را در haeder.php زدم ولی نبود.نمیدونم منظورش از Line 5, Column 127 چیه نقل قول لینک به ارسال
Black_Sky 6349 ارسال شده در اسفند 92 گزارش بازنشر ارسال شده در اسفند 92 بشتر مواقع داک تایپ باعث این خطاها میشه 2 نقل قول لینک به ارسال
sir1 512 ارسال شده در اسفند 92 مالک گزارش بازنشر ارسال شده در اسفند 92 بخشید من مبتدی هستم داک تایپ یعنی چی؟ نقل قول لینک به ارسال
Black_Sky 6349 ارسال شده در اسفند 92 گزارش بازنشر ارسال شده در اسفند 92 <!DOCTYPE html><html dir="rtl" lang="fa-IR"xmlns="http://www.w3.org/1999/xhtml"xmlns:og="http://ogp.me/ns#"xmlns:fb="http://www.facebook.com/2008/fbml" class=" html_stretched responsive responsive_large fixed_header social_header ">از<html>استفاده کنید 2 نقل قول لینک به ارسال
Farzad 3805 ارسال شده در اسفند 92 گزارش بازنشر ارسال شده در اسفند 92 داک تایپ :http://www.w3.org/QA/Tips/Doctypehttp://www.w3schools.com/tags/tag_doctype.aspمنظور از "Line 5, Column 127" یعنی اینکه در خط 5 و ستون 127 از سورس قالب شما مشکل ولیدیت وجود دارد.کد مربوطه به آن بخش :<html dir="rtl" lang="fa-IR"xmlns="http://www.w3.org/1999/xhtml"xmlns:og="http://ogp.me/ns#"xmlns:fb="http://www.facebook.com/2008/fbml" class=" html_stretched responsive responsive_large fixed_header social_header ">نحوه سازگار کردن این کدها با HTML5 :http://stackoverflow.com/questions/8696026/is-it-possible-to-validate-the-xmlnsfb-facebook-attributehttp://social.msdn.microsoft.com/Forums/en-US/6517e186-3ee5-4c97-bd1e-9b1cc6019b50/how-to-solve-attribute-xmlnsb-not-allowed-here?forum=xmlandnetfxالبته به نظر من نیازی به خطوط 2 تا 5 ندارید. 5 نقل قول لینک به ارسال
sir1 512 ارسال شده در اسفند 92 مالک گزارش بازنشر ارسال شده در اسفند 92 اصلا هیچ کدام از این کدا در فایل هدرم نیست.میشه ادیتش کنید؟header (1).php نقل قول لینک به ارسال
Black_Sky 6349 ارسال شده در اسفند 92 گزارش بازنشر ارسال شده در اسفند 92 <?phpglobal $avia_config;$style = $avia_config['box_class'];$responsive = avia_get_option('responsive_layout','responsive');$blank = isset($avia_config['template']) ? $avia_config['template'] : "";$headerS = !$blank ? avia_header_setting() : "";$headerMenu = $responsive ? avia_get_option('header_menu','mobile_drop_down') : "";?><html><head><meta charset="<?php bloginfo( 'charset' ); ?>" /><title><?php if(function_exists('avia_set_title_tag')) { echo avia_set_title_tag(); } ?></title><!-- page title, displayed in your browser bar --><?php/** outputs a rel=follow or nofollow tag to circumvent google duplicate content for archives* located in framework/php/function-set-avia-frontend.php*/if (function_exists('avia_set_follow')) { echo avia_set_follow(); }/** outputs a favicon if defined*/if (function_exists('avia_favicon')) { echo avia_favicon(avia_get_option('favicon')); }?><!-- add feeds, pingback and stuff--><link rel="profile" href="http://gmpg.org/xfn/11" /><link rel="alternate" type="application/rss+xml" title="<?php echo get_bloginfo('name'); ?> RSS2 Feed" href="<?php avia_option('feedburner',get_bloginfo('rss2_url')); ?>" /><link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /><!-- mobile setting --><?phpif( strpos($responsive, 'responsive') !== false ) echo '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">';?><?php/* Always have wp_head() just before the closing </head>* tag of your theme, or you will break many plugins, which* generally use this hook to add elements to <head> such* as styles, scripts, and meta tags.*/wp_head();?></head><body id="top" <?php body_class($style." ".$avia_config['font_stack']." ".$blank); avia_markup_helper(array('context' => 'body')); ?>><h1 style="display:none"><?php if(function_exists('avia_set_title_tag')) { echo avia_set_title_tag(); } ?></h1><div id='wrap_all'><?php if(!$blank){ ?> <header id='header' class=' header_color <?php avia_is_dark_bg('header_color'); echo " ".$headerMenu; ?>' <?php avia_markup_helper(array('context' => 'header','post_type'=>'forum'));?>> <?php if($responsive && $headerMenu == 'mobile_slide_out') { echo '<a id="advanced_menu_toggle" href="#" '.av_icon_string('mobile_menu').'></a>'; echo '<a id="advanced_menu_hide" href="#" '.av_icon_string('close').'></a>'; } $social_args = array('outside'=>'ul', 'inside'=>'li', 'append' => ''); //subheader, only display when the user chooses a social header if(strpos($headerS,'social_header') !== false) { ?> <div id='header_meta' class='container_wrap container_wrap_meta'> <div class='container'> <?php /* * display the themes social media icons, defined in the wordpress backend * the avia_social_media_icons function is located in includes/helper-social-media-php */ if(strpos($headerS,'bottom_nav_header') === false) avia_social_media_icons($social_args); //display the small submenu echo "<nav class='sub_menu' ".avia_markup_helper(array('context' => 'nav', 'echo' => false)).">"; $avia_theme_location = 'avia2'; $avia_menu_class = $avia_theme_location . '-menu'; $args = array( 'theme_location'=>$avia_theme_location, 'menu_id' =>$avia_menu_class, 'container_class' =>$avia_menu_class, 'fallback_cb' => '', 'container'=>'', 'echo' =>false ); $nav = wp_nav_menu($args); echo $nav; $phone = avia_get_option('phone'); $phone_class = !empty($nav) ? "with_nav" : ""; if($phone) echo "<div class='phone-info {$phone_class}'><span>{$phone}</span></div>"; /* * Hook that can be used for plugins and theme extensions (currently: the wpml language selector) */ do_action('avia_meta_header'); echo '</nav>'; ?> </div> </div> <?php } ?> <div id='header_main' class='container_wrap container_wrap_logo'> <?php /* * Hook that can be used for plugins and theme extensions (currently: the woocommerce shopping cart) */ do_action('ava_main_header'); ?> <div class='container'> <?php /* * display the theme logo by checking if the default logo was overwritten in the backend. * the function is located at framework/php/function-set-avia-frontend-functions.php in case you need to edit the output */ echo avia_logo(AVIA_BASE_URL.'images/layout/logo.png', false, 'strong'); if(strpos($headerS,'social_header') !== false && strpos($headerS,'bottom_nav_header') !== false) avia_social_media_icons($social_args); /* * display the main navigation menu * modify the output in your wordpress admin backend at appearance->menus */ $extraOpen = $extraClose = ""; if(strpos($headerS,'bottom_nav_header') !== false){ $extraClose = "</div></div><div id='header_main_alternate' class='container_wrap'><div class='container'>"; } echo $extraClose; echo "<nav class='main_menu' data-selectname='".__('Select a page','avia_framework')."' ".avia_markup_helper(array('context' => 'nav', 'echo' => false)).">"; $avia_theme_location = 'avia'; $avia_menu_class = $avia_theme_location . '-menu'; $args = array( 'theme_location' => $avia_theme_location, 'menu_id' => $avia_menu_class, 'container_class' => $avia_menu_class, 'fallback_cb' => 'avia_fallback_menu', 'walker' => new avia_responsive_mega_menu() ); wp_nav_menu($args); echo '</nav>'; /* * Hook that can be used for plugins and theme extensions */ do_action('ava_after_main_menu'); ?> <!-- end container--> </div> <!-- end container_wrap--> </div> <div class='header_bg'></div> <!-- end header --> </header><?php } //end blank check ?><div id='main'> 3 نقل قول لینک به ارسال
sir1 512 ارسال شده در اسفند 92 مالک گزارش بازنشر ارسال شده در اسفند 92 (ویرایش شده) اینطوری ارورهاش بیشتر شد قبلا 15 بود الان شد 200 تا ارور ویرایش شده اسفند 92 توسط sir1 نقل قول لینک به ارسال
Black_Sky 6349 ارسال شده در اسفند 92 گزارش بازنشر ارسال شده در اسفند 92 به صورت زیر تست کنید: <?phpglobal $avia_config;$style = $avia_config['box_class'];$responsive = avia_get_option('responsive_layout','responsive');$blank = isset($avia_config['template']) ? $avia_config['template'] : "";$headerS = !$blank ? avia_header_setting() : "";$headerMenu = $responsive ? avia_get_option('header_menu','mobile_drop_down') : "";?><!DOCTYPE html><html <?php language_attributes(); ?>"><head><meta charset="<?php bloginfo( 'charset' ); ?>" /><title><?php if(function_exists('avia_set_title_tag')) { echo avia_set_title_tag(); } ?></title><!-- page title, displayed in your browser bar --><?php/** outputs a rel=follow or nofollow tag to circumvent google duplicate content for archives* located in framework/php/function-set-avia-frontend.php*/if (function_exists('avia_set_follow')) { echo avia_set_follow(); }/** outputs a favicon if defined*/if (function_exists('avia_favicon')) { echo avia_favicon(avia_get_option('favicon')); }?><!-- add feeds, pingback and stuff--><link rel="profile" href="http://gmpg.org/xfn/11" /><link rel="alternate" type="application/rss+xml" title="<?php echo get_bloginfo('name'); ?> RSS2 Feed" href="<?php avia_option('feedburner',get_bloginfo('rss2_url')); ?>" /><link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /><!-- mobile setting --><?phpif( strpos($responsive, 'responsive') !== false ) echo '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">';?><?php/* Always have wp_head() just before the closing </head>* tag of your theme, or you will break many plugins, which* generally use this hook to add elements to <head> such* as styles, scripts, and meta tags.*/wp_head();?></head><body id="top" <?php body_class($style." ".$avia_config['font_stack']." ".$blank); avia_markup_helper(array('context' => 'body')); ?>><h1 style="display:none"><?php if(function_exists('avia_set_title_tag')) { echo avia_set_title_tag(); } ?></h1><div id='wrap_all'><?php if(!$blank){ ?> <header id='header' class=' header_color <?php avia_is_dark_bg('header_color'); echo " ".$headerMenu; ?>' <?php avia_markup_helper(array('context' => 'header','post_type'=>'forum'));?>> <?php if($responsive && $headerMenu == 'mobile_slide_out') { echo '<a id="advanced_menu_toggle" href="#" '.av_icon_string('mobile_menu').'></a>'; echo '<a id="advanced_menu_hide" href="#" '.av_icon_string('close').'></a>'; } $social_args = array('outside'=>'ul', 'inside'=>'li', 'append' => ''); //subheader, only display when the user chooses a social header if(strpos($headerS,'social_header') !== false) { ?> <div id='header_meta' class='container_wrap container_wrap_meta'> <div class='container'> <?php /* * display the themes social media icons, defined in the wordpress backend * the avia_social_media_icons function is located in includes/helper-social-media-php */ if(strpos($headerS,'bottom_nav_header') === false) avia_social_media_icons($social_args); //display the small submenu echo "<nav class='sub_menu' ".avia_markup_helper(array('context' => 'nav', 'echo' => false)).">"; $avia_theme_location = 'avia2'; $avia_menu_class = $avia_theme_location . '-menu'; $args = array( 'theme_location'=>$avia_theme_location, 'menu_id' =>$avia_menu_class, 'container_class' =>$avia_menu_class, 'fallback_cb' => '', 'container'=>'', 'echo' =>false ); $nav = wp_nav_menu($args); echo $nav; $phone = avia_get_option('phone'); $phone_class = !empty($nav) ? "with_nav" : ""; if($phone) echo "<div class='phone-info {$phone_class}'><span>{$phone}</span></div>"; /* * Hook that can be used for plugins and theme extensions (currently: the wpml language selector) */ do_action('avia_meta_header'); echo '</nav>'; ?> </div> </div> <?php } ?> <div id='header_main' class='container_wrap container_wrap_logo'> <?php /* * Hook that can be used for plugins and theme extensions (currently: the woocommerce shopping cart) */ do_action('ava_main_header'); ?> <div class='container'> <?php /* * display the theme logo by checking if the default logo was overwritten in the backend. * the function is located at framework/php/function-set-avia-frontend-functions.php in case you need to edit the output */ echo avia_logo(AVIA_BASE_URL.'images/layout/logo.png', false, 'strong'); if(strpos($headerS,'social_header') !== false && strpos($headerS,'bottom_nav_header') !== false) avia_social_media_icons($social_args); /* * display the main navigation menu * modify the output in your wordpress admin backend at appearance->menus */ $extraOpen = $extraClose = ""; if(strpos($headerS,'bottom_nav_header') !== false){ $extraClose = "</div></div><div id='header_main_alternate' class='container_wrap'><div class='container'>"; } echo $extraClose; echo "<nav class='main_menu' data-selectname='".__('Select a page','avia_framework')."' ".avia_markup_helper(array('context' => 'nav', 'echo' => false)).">"; $avia_theme_location = 'avia'; $avia_menu_class = $avia_theme_location . '-menu'; $args = array( 'theme_location' => $avia_theme_location, 'menu_id' => $avia_menu_class, 'container_class' => $avia_menu_class, 'fallback_cb' => 'avia_fallback_menu', 'walker' => new avia_responsive_mega_menu() ); wp_nav_menu($args); echo '</nav>'; /* * Hook that can be used for plugins and theme extensions */ do_action('ava_after_main_menu'); ?> <!-- end container--> </div> <!-- end container_wrap--> </div> <div class='header_bg'></div> <!-- end header --> </header><?php } //end blank check ?><div id='main'> 2 نقل قول لینک به ارسال
sir1 512 ارسال شده در اسفند 92 مالک گزارش بازنشر ارسال شده در اسفند 92 ینطوری مثل اولش شد 12 Errors, 6 warning(s اینطوری خیلی خوب میشه که این چندتا ارور را برطرف کرد.ولی بلد نیستم نقل قول لینک به ارسال
Black_Sky 6349 ارسال شده در اسفند 92 گزارش بازنشر ارسال شده در اسفند 92 تا الان با کد زیر درسته فقط میمونه اون خط فیسبوک که فکر کنم با افزونه هست و غیر فعال کنید و تست کنید:تا الان با کد زیر درسته فقط میمونه اون خط فیسبوک که فکر کنم با افزونه هست و غیر فعال کنید و تست کنید: <?phpglobal $avia_config;$style = $avia_config['box_class'];$responsive = avia_get_option('responsive_layout','responsive');$blank = isset($avia_config['template']) ? $avia_config['template'] : "";$headerS = !$blank ? avia_header_setting() : "";$headerMenu = $responsive ? avia_get_option('header_menu','mobile_drop_down') : "";?><!DOCTYPE html><html><head><meta charset="<?php bloginfo( 'charset' ); ?>" /><title><?php if(function_exists('avia_set_title_tag')) { echo avia_set_title_tag(); } ?></title><!-- page title, displayed in your browser bar --><?php/* * outputs a rel=follow or nofollow tag to circumvent google duplicate content for archives * located in framework/php/function-set-avia-frontend.php */ if (function_exists('avia_set_follow')) { echo avia_set_follow(); } /* * outputs a favicon if defined */ if (function_exists('avia_favicon')) { echo avia_favicon(avia_get_option('favicon')); }?><!-- add feeds, pingback and stuff--><link rel="profile" href="http://gmpg.org/xfn/11" /><link rel="alternate" type="application/rss+xml" title="<?php echo get_bloginfo('name'); ?> RSS2 Feed" href="<?php avia_option('feedburner',get_bloginfo('rss2_url')); ?>" /><link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /><!-- mobile setting --><?phpif( strpos($responsive, 'responsive') !== false ) echo '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">';?><?php/* Always have wp_head() just before the closing </head> * tag of your theme, or you will break many plugins, which * generally use this hook to add elements to <head> such * as styles, scripts, and meta tags. */wp_head();?></head><body id="top" <?php body_class($style." ".$avia_config['font_stack']." ".$blank); avia_markup_helper(array('context' => 'body')); ?>><h1 style="display:none"><?php if(function_exists('avia_set_title_tag')) { echo avia_set_title_tag(); } ?></h1><div id='wrap_all'> <?php if(!$blank){ ?> <header id='header' class=' header_color <?php avia_is_dark_bg('header_color'); echo " ".$headerMenu; ?>' <?php avia_markup_helper(array('context' => 'header','post_type'=>'forum'));?>> <?php if($responsive && $headerMenu == 'mobile_slide_out') { echo '<a id="advanced_menu_toggle" href="#" '.av_icon_string('mobile_menu').'></a>'; echo '<a id="advanced_menu_hide" href="#" '.av_icon_string('close').'></a>'; } $social_args = array('outside'=>'ul', 'inside'=>'li', 'append' => ''); //subheader, only display when the user chooses a social header if(strpos($headerS,'social_header') !== false) { ?> <div id='header_meta' class='container_wrap container_wrap_meta'> <div class='container'> <?php /* * display the themes social media icons, defined in the wordpress backend * the avia_social_media_icons function is located in includes/helper-social-media-php */ if(strpos($headerS,'bottom_nav_header') === false) avia_social_media_icons($social_args); //display the small submenu echo "<nav class='sub_menu' ".avia_markup_helper(array('context' => 'nav', 'echo' => false)).">"; $avia_theme_location = 'avia2'; $avia_menu_class = $avia_theme_location . '-menu'; $args = array( 'theme_location'=>$avia_theme_location, 'menu_id' =>$avia_menu_class, 'container_class' =>$avia_menu_class, 'fallback_cb' => '', 'container'=>'', 'echo' =>false ); $nav = wp_nav_menu($args); echo $nav; $phone = avia_get_option('phone'); $phone_class = !empty($nav) ? "with_nav" : ""; if($phone) echo "<div class='phone-info {$phone_class}'><span>{$phone}</span></div>"; /* * Hook that can be used for plugins and theme extensions (currently: the wpml language selector) */ do_action('avia_meta_header'); echo '</nav>'; ?> </div> </div> <?php } ?> <div id='header_main' class='container_wrap container_wrap_logo'> <?php /* * Hook that can be used for plugins and theme extensions (currently: the woocommerce shopping cart) */ do_action('ava_main_header'); ?> <div class='container'> <?php /* * display the theme logo by checking if the default logo was overwritten in the backend. * the function is located at framework/php/function-set-avia-frontend-functions.php in case you need to edit the output */ echo avia_logo(AVIA_BASE_URL.'images/layout/logo.png', false, 'strong'); if(strpos($headerS,'social_header') !== false && strpos($headerS,'bottom_nav_header') !== false) avia_social_media_icons($social_args); /* * display the main navigation menu * modify the output in your wordpress admin backend at appearance->menus */ $extraOpen = $extraClose = ""; if(strpos($headerS,'bottom_nav_header') !== false){ $extraClose = "</div></div><div id='header_main_alternate' class='container_wrap'><div class='container'>"; } echo $extraClose; echo "<nav class='main_menu' data-selectname='".__('Select a page','avia_framework')."' ".avia_markup_helper(array('context' => 'nav', 'echo' => false)).">"; $avia_theme_location = 'avia'; $avia_menu_class = $avia_theme_location . '-menu'; $args = array( 'theme_location' => $avia_theme_location, 'menu_id' => $avia_menu_class, 'container_class' => $avia_menu_class, 'fallback_cb' => 'avia_fallback_menu', 'walker' => new avia_responsive_mega_menu() ); wp_nav_menu($args); echo '</nav>'; /* * Hook that can be used for plugins and theme extensions */ do_action('ava_after_main_menu'); ?> <!-- end container--> </div> <!-- end container_wrap--> </div> <div class='header_bg'></div> <!-- end header --> </header><?php } //end blank check ?><div id='main'> 3 نقل قول لینک به ارسال
sir1 512 ارسال شده در اسفند 92 مالک گزارش بازنشر ارسال شده در اسفند 92 ممنون خطاهاش کمتر شد ولی خطایی مربوط به فیس بوک هم نمونده فقط هفت هشت تا خطای دیگه موندهhttp://validator.w3.org/check?uri=www.acgih.ir&charset=%28detect+automatically%29&doctype=Inline&group=0 نقل قول لینک به ارسال
sir1 512 ارسال شده در فروردین 93 مالک گزارش بازنشر ارسال شده در فروردین 93 سلام من سایتمو در chkme.com بررسی کردم میگه 5 تا h1 داره حالا header.php بررسی میکنم از یک h1 بیشتر نداره حالا شما هم نگاه کنید.<?phpglobal $avia_config;$style = $avia_config['box_class'];$responsive = avia_get_option('responsive_layout','responsive');$blank = isset($avia_config['template']) ? $avia_config['template'] : "";$headerS = !$blank ? avia_header_setting() : "";$headerMenu = $responsive ? avia_get_option('header_menu','mobile_drop_down') : "";?><!DOCTYPE html><html <?php language_attributes(); ?> class="<?php echo " html_$style ".$responsive." ".$headerS;?> "><head><meta charset="<?php bloginfo( 'charset' ); ?>" /><title><?php if(function_exists('avia_set_title_tag')) { echo avia_set_title_tag(); } ?></title><!-- page title, displayed in your browser bar --><?php/* * outputs a rel=follow or nofollow tag to circumvent google duplicate content for archives * located in framework/php/function-set-avia-frontend.php */ if (function_exists('avia_set_follow')) { echo avia_set_follow(); } /* * outputs a favicon if defined */ if (function_exists('avia_favicon')) { echo avia_favicon(avia_get_option('favicon')); }?><!-- add feeds, pingback and stuff--><link rel="profile" href="http://gmpg.org/xfn/11" /><link rel="alternate" type="application/rss+xml" title="<?php echo get_bloginfo('name'); ?> RSS2 Feed" href="<?php avia_option('feedburner',get_bloginfo('rss2_url')); ?>" /><link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /><!-- mobile setting --><?phpif( strpos($responsive, 'responsive') !== false ) echo '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">';?><?php/* Always have wp_head() just before the closing </head> * tag of your theme, or you will break many plugins, which * generally use this hook to add elements to <head> such * as styles, scripts, and meta tags. */wp_head();?><script type="text/javascript"> window.___gcfg = {lang: 'fa'}; (function() { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/platform.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })();</script></head><body id="top" <?php body_class($style." ".$avia_config['font_stack']." ".$blank); avia_markup_helper(array('context' => 'body')); ?>><h1 style="display:none"><?php if(function_exists('avia_set_title_tag')) { echo avia_set_title_tag(); } ?></h1><div id='wrap_all'> <?php if(!$blank){ ?> <header id='header' class=' header_color <?php avia_is_dark_bg('header_color'); echo " ".$headerMenu; ?>' <?php avia_markup_helper(array('context' => 'header','post_type'=>'forum'));?>> <?php if($responsive && $headerMenu == 'mobile_slide_out') { echo '<a id="advanced_menu_toggle" href="#" '.av_icon_string('mobile_menu').'></a>'; echo '<a id="advanced_menu_hide" href="#" '.av_icon_string('close').'></a>'; } $social_args = array('outside'=>'ul', 'inside'=>'li', 'append' => ''); //subheader, only display when the user chooses a social header if(strpos($headerS,'social_header') !== false) { ?> <div id='header_meta' class='container_wrap container_wrap_meta'> <div class='container'> <?php /* * display the themes social media icons, defined in the wordpress backend * the avia_social_media_icons function is located in includes/helper-social-media-php */ if(strpos($headerS,'bottom_nav_header') === false) avia_social_media_icons($social_args); //display the small submenu echo "<nav class='sub_menu' ".avia_markup_helper(array('context' => 'nav', 'echo' => false)).">"; $avia_theme_location = 'avia2'; $avia_menu_class = $avia_theme_location . '-menu'; $args = array( 'theme_location'=>$avia_theme_location, 'menu_id' =>$avia_menu_class, 'container_class' =>$avia_menu_class, 'fallback_cb' => '', 'container'=>'', 'echo' =>false ); $nav = wp_nav_menu($args); echo $nav; $phone = avia_get_option('phone'); $phone_class = !empty($nav) ? "with_nav" : ""; if($phone) echo "<div class='phone-info {$phone_class}'><span>{$phone}</span></div>"; /* * Hook that can be used for plugins and theme extensions (currently: the wpml language selector) */ do_action('avia_meta_header'); echo '</nav>'; ?> </div> </div> <?php } ?> <div id='header_main' class='container_wrap container_wrap_logo'> <?php /* * Hook that can be used for plugins and theme extensions (currently: the woocommerce shopping cart) */ do_action('ava_main_header'); ?> <div class='container'> <?php /* * display the theme logo by checking if the default logo was overwritten in the backend. * the function is located at framework/php/function-set-avia-frontend-functions.php in case you need to edit the output */ echo avia_logo(AVIA_BASE_URL.'images/layout/logo.png', false, 'strong'); if(strpos($headerS,'social_header') !== false && strpos($headerS,'bottom_nav_header') !== false) avia_social_media_icons($social_args); /* * display the main navigation menu * modify the output in your wordpress admin backend at appearance->menus */ $extraOpen = $extraClose = ""; if(strpos($headerS,'bottom_nav_header') !== false){ $extraClose = "</div></div><div id='header_main_alternate' class='container_wrap'><div class='container'>"; } echo $extraClose; echo "<nav class='main_menu' data-selectname='".__('Select a page','avia_framework')."' ".avia_markup_helper(array('context' => 'nav', 'echo' => false)).">"; $avia_theme_location = 'avia'; $avia_menu_class = $avia_theme_location . '-menu'; $args = array( 'theme_location' => $avia_theme_location, 'menu_id' => $avia_menu_class, 'container_class' => $avia_menu_class, 'fallback_cb' => 'avia_fallback_menu', 'walker' => new avia_responsive_mega_menu() ); wp_nav_menu($args); echo '</nav>'; /* * Hook that can be used for plugins and theme extensions */ do_action('ava_after_main_menu'); ?> <!-- end container--> </div> <!-- end container_wrap--> </div> <div class='header_bg'></div> <!-- end header --> </header><?php } //end blank check ?><div id='main'> نقل قول لینک به ارسال
hamidwi 479 ارسال شده در فروردین 93 گزارش بازنشر ارسال شده در فروردین 93 سلام سایت شما در صفحه اصلی 6 تا تگ h1 داره که فقط یکیش توی فایل هدر هستش .کدهای h1 سایت شما ...<h1 style="display:none">سایت تخصصی دانشجویان بهداشت حرفه ای</h1>و<h1 class="main-title entry-title"><a href="http://www.acgih.ir/" rel="bookmark" title="لینک ثابت : Home" itemprop="headline">Home</a></h1>و<h1 class="ls-s-1" style="position: absolute; top: 80px; left: 573.5px; font-size: 35px; color: rgb(252, 252, 252); background-color: rgba(55, 219, 82, 0.65098); border-top-left-radius: 6px; border-top-right-radius: 6px; border-bottom-right-radius: 6px; border-bottom-left-radius: 6px; white-space: nowrap; width: auto; height: auto; line-height: 35px; padding: 0px; border-width: 0px; opacity: 1; -webkit-transform: rotate(0deg) scale(1, 1); margin-left: 853px; margin-top: 0px; display: block; visibility: visible; background-position: initial initial; background-repeat: initial initial;"> پروژه های دانشگاهی </h1>و<h1 class="ls-s-1" style="position: absolute; top: 350px; left: 242.5px; color: rgb(237, 19, 19); white-space: nowrap; width: auto; height: auto; font-size: 34px; line-height: 34px; padding: 0px; border-width: 0px; opacity: 1; -webkit-transform: rotate(0deg) scale(1, 1); margin-left: 0px; margin-top: 0px; display: block; visibility: visible;"> ACGIH را در شبکه های اجتماعی دنبال کنید</h1>و<h1 class="" style="font-size: 40px; color: rgb(245, 235, 235); background-color: rgba(235, 18, 18, 0.521569); border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; width: auto; height: auto; line-height: 40px; padding: 0px; border-width: 0px; background-position: initial initial; background-repeat: initial initial;"> وبلاگ </h1>و<h1 class="title gray">Original text</h1> 1 نقل قول لینک به ارسال
sir1 512 ارسال شده در فروردین 93 مالک گزارش بازنشر ارسال شده در فروردین 93 خب کجا پیداشون کد و حذف کنم؟Home که صفحه اصلی استسومین و چهارمین کد هم مال اسلایدر قالبم هستو اخرین کدی هم که گذاشتی مربوط به لینکی هست که زیر مجموعه home است نقل قول لینک به ارسال
sir1 512 ارسال شده در فروردین 93 مالک گزارش بازنشر ارسال شده در فروردین 93 مال اسلایدر ها رو پیدا کردم و حذف کردم الات دو تا تگ h1 موندهاین تگ اگه میدونستم کجاست خوب میشد<h1 class="title gray">Original text</h1> نقل قول لینک به ارسال
hamidwi 479 ارسال شده در فروردین 93 گزارش بازنشر ارسال شده در فروردین 93 سایتت رو در مرورگر کروم باز کن و با راست کلیک و انتخاب گزینه inspect element سورس صفحه واست باز میشه و برای جستجو در سورس صفحه کلید ctrl+f رو بزن و تگ یا هر چیزی رو که می خوای سرچ کن. 1 نقل قول لینک به ارسال
sir1 512 ارسال شده در فروردین 93 مالک گزارش بازنشر ارسال شده در فروردین 93 سایتت رو در مرورگر کروم باز کن و با راست کلیک و انتخاب گزینه inspect element سورس صفحه واست باز میشه و برای جستجو در سورس صفحه کلید ctrl+f رو بزن و تگ یا هر چیزی رو که می خوای سرچ کن.خب شما درست میگید حالا من این کدو پیدا کردم چطور بدونم که از کجا فراخوانی میشه؟<h1 class="title gray">Original text</h1> نقل قول لینک به ارسال
پست های پیشنهاد شده
به گفتگو بپیوندید
هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .