Verfisere TD i Wordpress?

muffins

Medlem
Du skal legge den i header.php ja. Har du brukt header.php fra themet ditt? Viktig at du gjør det :)

Ellers så skal du legge den mellom <head> og </head>
 
<?php global $theme_options, $newspro; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<!-- TradeDoubler site verification 1669122 -->
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title>
<?php if(is_home() ) { bloginfo('name'); ?> | <?php bloginfo('description'); } ?>
<?php if(is_single() || is_page() || is_archive() || is_tag() || is_category() ) { wp_title('',true); ?> | <?php bloginfo('name'); } ?>
<?php if(is_404()) { ?> <?php echo $newspro["404"]; ?> | <?php bloginfo('name'); } ?>
<?php if(is_search()) { ?><?php echo $newspro["seresults"]; ?> <?php echo wp_specialchars($s, 1); ?> | <?php bloginfo('name'); } ?>
</title>

<style type="text/css" media="screen">@import url( <?php bloginfo('stylesheet_url'); ?> );</style>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/styles/style<?php echo $theme_options["style"]; ?>.css" type="text/css" media="screen" />

<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/javascript/prototype.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/javascript/control.tabs.2.1.1.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/javascript/dropdown.js"></script>

<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
<?php wp_head(); ?>
</head>
 

Anders

Medlem
PHP:
<?php global $theme_options, $newspro; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title>
<?php if(is_home() ) { bloginfo('name'); ?> | <?php bloginfo('description'); } ?>
<?php if(is_single() || is_page() || is_archive() || is_tag() || is_category() ) { wp_title('',true); ?> | <?php bloginfo('name'); } ?>
<?php if(is_404()) { ?> <?php echo $newspro["404"]; ?> | <?php bloginfo('name'); } ?>
<?php if(is_search()) { ?><?php echo $newspro["seresults"]; ?> <?php echo wp_specialchars($s, 1); ?> | <?php bloginfo('name'); } ?>
</title>

<style type="text/css" media="screen">@import url( <?php bloginfo('stylesheet_url'); ?> );</style>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/styles/style<?php echo $theme_options["style"]; ?>.css" type="text/css" media="screen" />

<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/javascript/prototype.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/javascript/control.tabs.2.1.1.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/javascript/dropdown.js"></script>

<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />	
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />	
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />	
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />	
<?php wp_get_archives('type=monthly&format=link'); if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>	
<?php wp_head(); ?>
<!-- TradeDoubler site verification 1669122 -->
</head>
 

testdriver

Ha det bra..
Backup. Forsøk å lage normale head-tags. Last opp siden. Verifiser nettsiden. Endre tilbake til vanlig.

Mulig det fungerer.
 

picxx

WF 09
Jeg hadde trøbbel med automatisk verifikasjon tidligere.
Send en medling til support om dette og sidene blir manuelt verifisert ganske så kjapt.
 
Topp