personskadeportalen.no
Jeg klarer ikke å få kontroll over menyen over headeren!
Jeg har følgende filer i temaet:
Templates
404 Template
(404.php)
Archives
(archive.php)
Comments
(comments.php)
Footer
(footer.php)
Header
(header.php)
Main Index Template
(index.php)
Page Template
(page.php)
Search Results
(search.php)
Theme Functions
(functions.php)
home.php
(home.php)
l_sidebar.php
(l_sidebar.php)
myheader.php
(myheader.php)
myheader1.php
(myheader1.php)
r_sidebar.php
(r_sidebar.php)
Styles
Stylesheet
(style.css)
Antatt at dette styres av header.php, myheader.php eller myheader1.php.
Header.php:
<!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">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="distribution" content="global" />
<meta name="robots" content="follow, all" />
<meta name="language" content="en, sv" />
<title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' :'; } ?> <?php bloginfo('name'); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<!-- leave this for stats please -->
<link rel="Shortcut Icon" href="<?php echo get_settings('home'); ?>/wp-content/themes/elements-of-seo/images/favicon.ico" type="image/x-icon" />
<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'); ?>
<?php wp_head(); ?>
<style type="text/css" media="screen">
<!-- @import url( <?php bloginfo('stylesheet_url'); ?> ); -->
</style>
</head>
<body>
<div id="wrap">
<div id="stripe"></div>
<div id="nav">
<ul>
<li><a href="<?php echo get_settings('home'); ?>">Home</a></li>
<?php wp_list_pages('title_li=&depth=1'); ?>
</ul>
</div>
<div id="masthead">
<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
<h3><?php bloginfo('description'); ?></h3>
</div>
<div id="banner" onclick="location.href='<?php echo get_settings('home'); ?>';" style="cursor: pointer;"></div>
Jeg har forsøkt å endre fra home til Hjem, men ingenting vil forandres. Egentlig vil jeg bare ha 4-5 lenker der oppe - og ikke at alle pages jeg lager automatisk skal komme opp der. Er det riktig sted i koden i det hele tatt?
Jeg klarer ikke å få kontroll over menyen over headeren!
Jeg har følgende filer i temaet:
Templates
404 Template
(404.php)
Archives
(archive.php)
Comments
(comments.php)
Footer
(footer.php)
Header
(header.php)
Main Index Template
(index.php)
Page Template
(page.php)
Search Results
(search.php)
Theme Functions
(functions.php)
home.php
(home.php)
l_sidebar.php
(l_sidebar.php)
myheader.php
(myheader.php)
myheader1.php
(myheader1.php)
r_sidebar.php
(r_sidebar.php)
Styles
Stylesheet
(style.css)
Antatt at dette styres av header.php, myheader.php eller myheader1.php.
Header.php:
<!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">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="distribution" content="global" />
<meta name="robots" content="follow, all" />
<meta name="language" content="en, sv" />
<title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' :'; } ?> <?php bloginfo('name'); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<!-- leave this for stats please -->
<link rel="Shortcut Icon" href="<?php echo get_settings('home'); ?>/wp-content/themes/elements-of-seo/images/favicon.ico" type="image/x-icon" />
<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'); ?>
<?php wp_head(); ?>
<style type="text/css" media="screen">
<!-- @import url( <?php bloginfo('stylesheet_url'); ?> ); -->
</style>
</head>
<body>
<div id="wrap">
<div id="stripe"></div>
<div id="nav">
<ul>
<li><a href="<?php echo get_settings('home'); ?>">Home</a></li>
<?php wp_list_pages('title_li=&depth=1'); ?>
</ul>
</div>
<div id="masthead">
<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
<h3><?php bloginfo('description'); ?></h3>
</div>
<div id="banner" onclick="location.href='<?php echo get_settings('home'); ?>';" style="cursor: pointer;"></div>
Jeg har forsøkt å endre fra home til Hjem, men ingenting vil forandres. Egentlig vil jeg bare ha 4-5 lenker der oppe - og ikke at alle pages jeg lager automatisk skal komme opp der. Er det riktig sted i koden i det hele tatt?