Hallo zusammen,
ich möchte eine Frage stellen, obwohl es ähnliches gibt und hoffe, es kann mir jemand helfen. Ich komme nicht zurecht mit den bisherigen Threads, und bin leider kein Crack, daher muss ich diese Frage evtl. nochmals stellen.
1. Ich habe eine Subdomain eingerichtet, welche auf den Blog pointed: Also home.newlandsolution.ch (pointed auf http://www.newlandsolution.ch/newland)
2. wenn man diese aufruft möchte ich gerne, dass nicht der blog, sondern die statische page "about" kommt.
3. Ich hab eine automatische Pages Navigations-Leiste oben (listet automatisch alle erfassten Pages), wo blog erst aussen rechts kommt, und da will ich eben keinen home Eintrag, sondern nur Pages.
Kann mir jemand sagen, wie ich das bewerkstellige? Brauche ich das static-front plugin, oder kann ich da was im index ändern?
Vielen Dank für Eure Hilfe...
PS. I: Falls noch jemand weiss, wie ich den Abstand oben unter dem Header (bevor die Einträge kommen) wieder wegbekomme, dann würde ich niederknien und denjenigen mit Dank überschütten. Dieses Format kam mit der Pages-Navigationsleiste. Der Code, welcher in der header.php integriert wurde sieht so aus:
[COLOR="Red"]/* <!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'); ?>" />
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<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'); ?>" />
<style type="text/css" media="screen">
/* BEGIN IMAGE CSS */
/* To accomodate differing install paths of WordPress, images are referred only here,
and not in the wp-layout.css file. If you prefer to use only CSS for colors and what
not, then go right ahead and delete the following lines, and the image files. */
body { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgcolor.jpg"); } <?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single()) && (! is_page())) { ?>
#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg.jpg") repeat-y top; border: none; } <?php } else { // No sidebar ?>
#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; } <?php } ?>
#header { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickheader.jpg") no-repeat bottom center; }
#footer { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickfooter.jpg") no-repeat bottom; border: none;}
/* Because the template is slightly different, size-wise, with images, this needs to be set here
If you don't want to use the template's images, you can also delete the following two lines. */
#header { margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 150px; width: 758px; }
#headerimg { margin: 7px 9px 0; height: 140px; width: 740px; }
/* END IMAGE CSS */
/* To ease the insertion of a personal header image, I have done it in such a way,
that you simply drop in an image called 'personalheader.jpg' into your /images/
directory. Dimensions should be at least 760px x 200px. Anything above that will
get cropped off of the image. */
/*
#headerimg { background: url('<?php bloginfo('stylesheet_directory'); ?>/images/personalheader.jpg') no-repeat top;}
*/
</style>
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php wp_head(); ?>
<LINK REL="SHORTCUT ICON" HREF="http://www.newlandsolution.ch/favicon.ico">
</head>
<body>
<div id="page">
<div id="header">
<div id="headerimg">
</div>
</div>
<hr />
<!--
Top navigation bar for Wordpress default theme(Kubrick) by http://www.LiewCF.com/
Credit:
- CSS code ripped from http://binarybonsai.com/kubrick/
- idea to use wp_list_pages() enlighten by http://www.lamateporunyogur.com/pool
Apply:
Copy and paste all code here into the END of /wp-content/themes/default/index.php
-->
<style type="text/css" media="screen">
#supernav {
font: bold 11px/11px Verdana, Lucida Grande, Arial, Helvetica, Sans-Serif;
position: relative;
top: -20px;
left: 73%;
width: 450px;
margin: 0 0 0 -252px;
padding: 2px 16px; /* duplicate the tab size */
text-align: left;
display: block;
}
#supernav li {
margin: 0;
padding: 0;
text-transform: lowercase;
display: inline;
}
#supernav a {
color: #63569E;
background: #DBF7C7;
font-weight: bold;
height: 19px;
padding: 2px 16px;
/*
-moz-border-radius-topright: 6px;
-moz-border-radius-topleft: 6px; */
}
#supernav a:hover {
color: #63569E;
background: white;
text-decoration: none;
/*
-moz-border-radius-topright: 6px;
-moz-border-radius-topleft: 6px; */
}
#supernav .current_page_item a {
color: #63569E;
background: white;
text-decoration: none;
/*
-moz-border-radius-topright: 6px;
-moz-border-radius-topleft: 6px; */
}
#hack {
background: none;
height: 2px;
width: 450px;
display: inline;
position: absolute;
top: 180px;
left: 50%;
margin: 0 0 0 -400px;
padding: 0;
z-index: 2;
}
</style>
<?php //highlight 'Blog' if not Page
if (is_page()) {
$highlight = "page_item";
} else {
$highlight = "page_item current_page_item";
}
?>
<div>
<ul id="supernav">
<?php wp_list_pages('menu_order&title_li'); ?>
<li class="<?php echo $highlight; ?>"><a href="<?php echo get_settings('home'); ?>">Blog</a></li>
</ul>
</div>
<div id="hack"></div>
<!--
End - Top navigation bar for Wordpress default theme(Kubrick) - by http://www.LiewCF.com
--> */[/COLOR]
PS II: Ach ja, noch was: wie kann ich machen, dass bei den Pages die Sidebar nicht erscheint? Beim Single.php weiss ich dies (hab ich extra geändert, d.h. single ebenfalls mit sidebar) aber für die statischen Seiten hätte ich gerne OHNE sidebar...wie geht das, weiss dies einer/e?
Vielen Dank für Eure Hilfe!!!
Livio, Zürich