Hallo,
seit Ende November bin ich dabei, mich mit Wordpress zu beschäftigen. Für meinen kleinen Blog (http://www.chartanalysen-online.de ) habe ich mich für das Theme Yaml Green entschieden und nach unzähligen Stunden sieht die Site nun auch halbwegs passabel aus. Nur ein Problem lässt sich einfach nicht lösen, weil dafür mein Anfängerwissen nicht ausreicht. Ich würde gerne die Kategorien nebeneinander in der Header-Navigation haben und nicht in der Sidebar. Angeblich muss man dafür etwas in der header.php ändern, aber bitte was und wo?
Es wäre echt super, wenn mir jemand helfen könnte!
Hier die 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" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<?php
echo'<title>';
if ( is_home() ) {
// Blog's Home
echo get_bloginfo('name') . ' » Weblog';
} elseif ( is_single() or is_page() ) {
// Single blog post or page
wp_title(''); echo ' - ' . get_bloginfo('name');
} elseif ( is_category() ) {
// Archive: Category
echo get_bloginfo('name') . ' » Kategorie: '; single_cat_title();
} elseif ( is_day() ) {
// Archive: By day
echo get_bloginfo('name') . ' » Alle Artikel vom ' . get_the_time('d') . '. ' . get_the_time('F') . ' ' . get_the_time('Y');
} elseif ( is_month() ) {
// Archive: By month
echo get_bloginfo('name') . ' » Alle Artikel vom ' . get_the_time('F') . ' ' . get_the_time('Y');
} elseif ( is_year() ) {
// Archive: By year
echo get_bloginfo('name') . ' » Alle Artikel vom Jahr ' . get_the_time('Y');
} elseif ( is_search() ) {
// Search
echo get_bloginfo('name') . ' » Suche: ‹' . wp_specialchars($s, 1) . '›';
} elseif ( is_404() ) {
// 404
echo get_bloginfo('name') . ' » 404 - Angeforderte Seite nicht gefunden';
} else {
// Everything else. Fallback
echo wp_title(''); echo ' - ' . get_bloginfo('name');
}
echo'</title>';
?>
<link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" type="text/css"/>
<meta name="author" content="" />
<meta name="publisher" content="" />
<meta name="copyright" content="" />
<meta name="distribution" content="" />
<meta name="description" content= "" />
<meta name="keywords" content="" />
<?php
if ( (is_home() && !is_paged()) || is_single() || is_page() ) : ?>
<meta name="robots" content="index, follow" />
<?php else: ?>
<meta name="robots" content="noindex, follow" />
<?php endif; ?>
<link rel="shortcut icon" type="image/ico" href="<?php bloginfo('template_directory'); ?>/images/favicon.ico" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php if(is_single() || is_page()) {?>
<script src="<?php bloginfo('template_url'); ?>/script_quicktags-c.js" type="text/javascript"></script>
<?php } ?>
<?php wp_head(); ?>
</head>
<body>
<?php $yamlconfig = new di_yaml_config();?>
<div id="page_margins">
<div id="page">
<?php
if ( $yamlconfig->di_getOptionValue('di_login') === 1 ) :
include(TEMPLATEPATH. '/login-navigation.php');
endif;
include(TEMPLATEPATH. '/blogheader.php');
if ( $yamlconfig->di_getOptionValue('di_navi') === 2 ) :
include(TEMPLATEPATH. '/topnavi.php');
endif;
?>
vielen Dank!
Langbogen