[WP.org] Homepage zeigt mehr Artikel an, als eingestellt
-
Hallo,
ich habe für meine Seite in den Einstellungen festgelegt, dass bloß vier Posts auf der Startseite gezeigt werden sollen. Lief auch alles immer problemlos.
Als ich heute in der CSS ein paar Einstellungen für Bilder vorgenommen hatte, bemerkte ich später den Fehler auf meiner Startseite:
[url]www.piratensenderskateboards.de[/url]
Wie man sieht, hat sich über dem aktuellen Post „Mats Hanno Clip“ ein älterer Post vorgedrängt.
Hier meine CSS-Datei
[PHP]/* Begin Typography & Colors */
body {
font-size: 70%; /* Resets 1em to 10px */
font-family: Century Gothic, sans-serif;
background-color: #000;
background-image: url(http://s1.directupload.net/images/110802/6nczgz69.jpg);
color: #333;
text-align: center;
}#page {
text-align: center;
width: 1000px;
}#header {
background-color: ;
}#content {
background-image: url(http://piratensenderskateboards.de/images/content_bg_2.png);
background-position: -15px 0;font-size: 1.2em;
z-index: 2;
width: 580px;
height: 1970px;
margin-left: -75px;
margin-top:-55px;
}
#content_s {
font-size: 1.2em;
z-index: 1;
background-image: url(http://piratensenderskateboards.de/images/blog_bg_rausch.png);width: 950px;
height: 1600px;
margin-left: -92px;
margin-top:-43px;
}
#content_p {
font-size: 1.2em;
z-index: 1;
background-image: url(http://piratensenderskateboards.de/images/blog_bg_rausch_2.png);
background-repeat: repeat-y;
width: 1000px;
height: 1600px;
margin-left: -92px;
margin-top:-43px;
}.widecolumn .entry p {
font-size: 1.05em;}
.narrowcolumn .entry, .widecolumn .entry {
line-height: 1.4em;
}.widecolumn {
line-height: 1.4em;
}.narrowcolumn .postmetadata {
text-align: left;
}.alt {
margin: 50px;
text-align: justify;
background-color: #fff;
width: 500px;
border-top: 0px solid #000;
border-bottom: 0px solid #000;
}small {
font-family: Century Gothic, sans-serif;
font-size: 0.9em;
line-height: 1.5em;
}strong {
color: #000;
}h1 {
font-family: Century Gothic, sans-serif;
font-weight: bold;
}h2, h3 {
font-family: Century Gothic, sans-serif;
}h1 {
font-size: 3.4em;
text-align: center;
text-transform: uppercase;
letter-spacing: 12px;
}.description {
font-size: 1.2em;
text-align: center;
letter-spacing: .6em;
}h2 {
font-size: 2.0em;
}h2.pagetitle {
font-size: 2em;
}#sidebar {
border-top: 1px solid #000;
border-bottom: 1px solid #000;
}#sidebar h2 {
font-family: Century Gothic, sans-serif;
font-size: 1.2em;
}h3 {
font-size: 1.7em;
}h1, h1 a, h1 a:hover, h1 a:visited, .description {
text-decoration: none;
color: #000;
}h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
color: #1b1b1b;
}h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
text-decoration: none;
}.entry p a:visited, a {
color: #000;
text-decoration: underline;
font-weight: bold;
}#sidebar {
font-family: Century Gothic, sans-serif;
background-image: url();
background-repeat:no-repeat;
}small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
color: #666;
}code {
font: 1.1em ‚Century Gothic‘, Century Gothic, Fixed;
}acronym, abbr, span.caps
{
font-size: 0.9em;
letter-spacing: .07em;
}a, h2 a:hover, h3 a:hover {
color: #000;
text-decoration: none;
}a:hover {
color: #707070;
text-decoration: underline;
}#wp-calendar #prev a {
font-size: 9pt;
}#wp-calendar a {
text-decoration: none;
}#wp-calendar caption {
font: bold 1.3em Century Gothic;
text-align: center;
}#wp-calendar th {
font-style: normal;
text-transform: capitalize;
}/* End Typography & Colors */
/* Begin Structure */
#page {
margin: 30px 0px 0px 0px;
width: 500px;
height: 800px;
left: 50%;
position: relative;
margin-left: -400px;
}#header {
left:80px;
}.narrowcolumn {
float: left;
padding: 0 0 20px 45px;
margin: 0px 0 0;
width: 450px;
}.widecolumn {
padding: 10px 0 20px 0;
margin: 5px 0 0 150px;
width: 450px;
}.pagepost {
margin: 60px 0px 40px;
width: 500px;
border-top: 0px solid #000;
margin-top: 90px;
border-bottom: 1px solid #000;
margin-bottom:0;}
.post {
margin: 80px 160px -40px;
text-align: left;
width: 350px;
border-top: 0px solid #000;
border-bottom: 2px solid #000;
margin-bottom:0;}
.post_s {
margin-left: 240px;
text-align: justify;
border-top: 0px solid #000;
border-bottom: 2px solid #000;
width: 500px;
margin-top:80px;
}
.page_s {
margin-left: 240px;
text-align: justify;
border-top: 0px solid #000;
border-bottom: 0px solid #000;
width: 500px;
margin-top:80px;
}.widecolumn .post {
margin: 0;
}.narrowcolumn .postmetadata {
padding-top: 5px;
}.widecolumn .postmetadata {
margin: 30px 0;
}#footer {
padding: 0 0 0 0;
margin: 0 auto;
width: 760px;
clear: both;
margin-bottom:0;
}#footer p {
margin: 0;
padding: 20px;
text-align: center;
margin-bottom:0;
}
#footy {
margin:-55px 650px;
margin-bottom:0;
}}
/* End Structure *//* Begin Lists
Special stylized non-IE bullets
Do not work in Internet Explorer, which merely default to normal bullets. */html>body .entry ul, .entrytext ul, .pagepost ul {
margin-left: 0px;
padding: 0 0 0 30px;
list-style: none;
padding-left: 10px;
text-indent: -10px;
}html>body .entry li, .entrytext li, .pagepost li {
margin: 5px 0 5px 10px;
}.entry ul li:before, .entrytext ul li:before, #sidebar ul ul li:before, .pagepost ul li:before {
content: „0BB 020“;
}.entry ol {
padding: 0 0 0 35px;
margin: 0;
}.entry ol li {
margin: 0;
padding: 0;
}.postmetadata ul, .postmetadata li {
display: inline;
list-style-type: none;
list-style-image: none;
}/* Begin Sidebar */
#sidebar
{
background-image: url(http://piratensenderskateboards.de/images/sidebar_bg.png);
background-position: 265px 0;
width:600px;
height:2000px;
margin-left: 272px;
margin-top: -55px;
z-index: 1;
}#sidebar form {
margin-left: 0px;
}/* End Sidebar */
/* Begin Calendar */
#wp-calendar {
empty-cells: show;
margin: 10px auto 0;
width: 155px;
}#wp-calendar #next a {
padding-right: 20px;
text-align: right;
}#wp-calendar #prev a {
padding-left: 10px;
text-align: left;
}#wp-calendar a {
display: block;
}#wp-calendar caption {
text-align: center;
width: 100%;
}#wp-calendar td {
padding: 3px 0;
text-align: center;
}#wp-calendar td.pad:hover { /* Doesn’t work in IE */
background-color: #000;
}/* End Calendar */
/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
cursor: help;
}acronym, abbr {
border-bottom: 1px dashed #999;
}blockquote {
margin: 15px 30px 0 10px;
padding-left: 20px;
border-left: 1px solid #333;
}blockquote cite {
margin: 5px 0 0;
display: block;
}
hr {
display: none;
}.center {
text-align: center;
}a img {
border: none;
}.navigation {
display: block;
text-align: center;
margin-top: 10px;
margin-bottom: 60px;
}.aligncenter, div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}.alignleft {
text-align: left;
float: left;
margin-left:120px;
}.alignright {
text-align: right;
float: right;
margin-right:60px;
}.entry img, .entrytext img {
margin: 0 auto;
}.gravatar img {
float:right;
margin-top:-15px;
visibility: hidden;
}.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
}.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}
[/PHP]
Und die Index.php
[PHP]<?php get_header(); ?>
<div id=“content“ class=“narrowcolumn“>
<meta property=”og:image” content=”http://www.piratensenderskateboards.de/images/pslogo.jpg”><?php the_content(‚weiter‘); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?><?php require(‚post.php‘); ?>
<?php endwhile; ?>
<div class=“navigation“>
<div class=“alignleft“><?php posts_nav_link(“,“,’« Vorherige Seite‘) ?></div>
<div class=“alignright“><?php posts_nav_link(“,“,’Nächste Seite »‘) ?></div>
</div>
<?php else : ?><h2 class=“center“>Not Found</h2>
<p class=“center“><?php _e(„Sorry, but you are looking for something that isn’t here.“); ?></p>
<?php include (TEMPLATEPATH . „/searchform.php“); ?><?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>[/PHP]Ich hoffe man kann mir helfen, denn ich finde nirgends den Fehler. Danke schonmal im Voraus (:
MortenDer Blog bei dem ich Hilfe benötige heißt (nur für angemeldete Benutzer sichtbar).
-
Der Blog, den sie angegeben haben (piratensenderskateboards.de) wird anscheinend nicht auf WordPress.com gehostet.
Dieses Support-Forum ist für Blogs gedacht, die unter WordPress.com gehostet sind. Wenn du deinen WordPress-Blog auf einem eigenen Server gehostet hast, suche bitte Hilfe im deutschen WordPress.org Forum.
Wenn du den Unterschied nicht kennst, könnte diese Information hilfreich sein.
Wenn Du den Link zu Deinem Blog nur vergessen hast, kannst Du einfach auf diesen Beitrag antworten und diese Information nachreichen. Es wird den anderen Leuten helfen, Deine Frage zu beantworten.
Dies ist eine automatisch generierte Nachricht.
- Das Thema ‘[WP.org] Homepage zeigt mehr Artikel an, als eingestellt’ ist für neue Antworten geschlossen.