huhu,
der link zu meinem blog: Ksmeetshb.de
problem: wie man siehz, möchte ich auf dem karierten papier den beitrag ausgeben - auf dem linierten papier die kommentare dazu. das klappt sogar (ja ich war selbst erstaunt) mit folgendem tag:
ich war überglücklich - eigenes design und sogar das klappt... zum test wollte ich dann einen kommentar schreiben . und siehe da. zu früh gefreut.
gibt man in der textarea auf dem linierten papier was ein, läd die wp-comments-posts.php und nichts passiert - weiße seite.
zum test setzte ich den o.g. code dann unter die beitragsausgabe - getestet - funzt alles. kommentar wird richtig übertragen.
nur wo bitte liegt mein fehler?
ich gestehe, ich hab von sowas nicht wirklich peilung. designen - gerne, aber das dann in einen blog basteln (oder umgekehrt ^^)
kann mir bitte jemand helfen? :oops:
falls jemand net auf den quelltext klicken mag^^
header.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title><?php bloginfo('name'); ?><?php if ( is_single() ) { ?> » <?php } ?><?php wp_title(); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<meta http-equiv="content-type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta name="author" content="ksmeetshb” />
<meta name=”description” content=”<?php bloginfo(’description’); ?>” />
<meta name=”robots” content=”follow” />
<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=”application/atom+xml” title=”Atom 1.0″ href=”<?php bloginfo(’atom_url’); ?>” />
<link rel=”pingback” href=”<?php bloginfo(’pingback_url’); ?>” />
</head>
<body>
<div id="page">
<div id="header">
</div>
Alles anzeigen
index.php
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<meta name="generator; content="Adobe GoLive" />
<title>Ksmeetshb.de</title>
<style type="text/css"><!--
body { background-image: url(images/bg.png); color: #123456; font-family: cursive; }
#bg { height: 1500px; width: 1000px; left: 0; top: 0; position: absolute; z-index: 0; visibility: visible; }
#postkarte { height: 468px; width: 537px; left: 0; top: 0; position: absolute; z-index: 1; visibility: visible; }
#aufh_nger { height: 61px; width: 83px; left: 562px; top: 220px; position: absolute; z-index: 2; visibility: visible; }
#kork { height: 903px; width: 659px; left: 271px; top: 318px; position: absolute; z-index: 3; visibility: visible; }
#stift { height: 29px; width: 222px; left: 701px; top: 240px; position: absolute; z-index: 4; visibility: visible; }
#rahmen { height: 1006px; width: 755px; left: 228px; top: 267px; position: absolute; z-index: 5; visibility: visible; }
#nagel { height: 24px; width: 27px; left: 591px; top: 219px; position: absolute; z-index: 6; visibility: visible; }
#blume { height: 220px; width: 218px; left: 782px; top: 239px; position: absolute; z-index: 7; visibility: visible; }
#schaf { height: 181px; width: 110px; left: 204px; top: 315px; position: absolute; z-index: 8; visibility: visible; }
#ticket { height: 175px; width: 224px; left: 698px; top: 1041px; position: absolute; z-index: 5; visibility: visible; }
#pingruen { height: 27px; width: 27px; left: 712px; top: 1069px; position: absolute; z-index: 10; visibility: visible; }
#us { height: 337px; width: 412px; left: 77px; top: 1155px; position: absolute; z-index: 11; visibility: visible; }
#pinmom { height: 83px; width: 117px; left: 197px; top: 1143px; position: absolute; z-index: 13; visibility: visible; }
#textinhalt { height: 640px; width: 480px; left: 410px; top: 414px; position: absolute; z-index: 6; visibility: visible; }
#date { height: 40px; width: 120px; left: 770px; top: 420px; position: absolute; z-index: 6; visibility: visible; }
#title { height: 60px; width: 390px; left: 448px; top: 466px; position: absolute; z-index: 12; visibility: visible; font-size: x-large; font-weight: bold; }
#author { height: 40px; width: 158px; left: 680px; top: 1000px; position: absolute; z-index: 13; visibility: visible; }
#beitrag { height: 470px; width: 390px; left: 448px; top: 520px; position: absolute; overflow: scroll; overflow-x: auto; overflow-y: auto; z-index: 14; visibility: visible; }
#zurueck { height: 30px; width: 40px; left: 498px; top: 1010px; position: absolute; z-index: 14; visibility: visible; }
#vor { height: 30px; width: 40px; left: 578px; top: 1010px; position: absolute; z-index: 14; visibility: visible; }
#pixelblume { height: 35px; width: 35px; left: 538px; top: 1000px; position: absolute; z-index: 14; visibility: visible; }
#comments { height: 180px; width: 410px; left: 320px; top: 1014px; position: absolute; z-index: 5; visibility: visible; }
#commentsinhalt { height: 110px; width: 290px; left: 350px; top: 1046px; position: absolute; overflow: scroll; overflow-x: auto; overflow-y: auto; z-index: 15; visibility: visible; }
--></style>
</head>
<body>
<div id="comments">
<img src="images/comment.png" alt="" width="341" height="180"border="0" /></div>
<div id="commentsinhalt">
<?php $withcomments = 1; comments_template(); ?>
</div>
<div id="pixelblume">
<center><img src="images/pixel_blume.png" alt="" width="35" height="35"border="0" /></div></center>
</div>
<div id="vor">
<?php previous_posts_link('<img src="images/vor.png" border=0 title="nächsten Eintrag" >') ?>
</div>
<div id="zurueck">
<?php next_posts_link('<img src="images/zurueck.png" border=0 title="vorheriger Eintrag" >') ?>
</div>
<p></p>
<?php get_header(); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div id="beitrag">
<?php the_content('Den ganzen Beitrag lesen'); ?>
<?php $withcomments = 1; comments_template(); ?>
</div>
<div id="title">
<?php the_title(); ?>
</div>
<div id="author">
<?php the_author() ?>
</div>
<div id="textinhalt">
<img src="images/inhalt.png" alt="" width="480" height="640"border="0" /></div>
<div id="date">
<?php the_time('d.m.Y') ?>
</div>
<div id="pinmom">
<img src="images/pinmom.png" alt="" width="117" height="83" border="0" /></div>
<div id="us">
<img src="images/us.png" alt="" width="412" height="337" border="0" /></div>
<div id="pingruen">
<img src="images/pingruen.png" alt="" width="27" height="27" border="0" /></div>
<div id="ticket">
<img src="images/ticket.png" alt="" width="224" height="175" border="0" /></div>
<div id="schaf">
<img src="images/schaf.png" alt="" width="110" height="181" border="0" /></div>
<div id="blume">
<img src="images/blume.png" alt="" width="218" height="220" border="0" /></div>
<div id="nagel">
<img src="images/nagel.png" alt="" width="27" height="24" border="0" /></div>
<div id="rahmen">
<img src="images/rahmen.png" alt="" width="755" height="1006" border="0" /></div>
<div id="stift">
<img src="images/stift.png" alt="" width="222" height="29" border="0" /></div>
<div id="kork">
<img src="images/kork.png" alt="" width="659" height="903" border="0" /></div>
<div id="aufh_nger">
<img src="images/aufhaenger.png" alt="" width="83" height="61" border="0" /></div>
<div id="postkarte">
<img src="images/postkarte.png" alt="" width="537" height="468" border="0" /></div>
<div id="bg">
<img src="images/bg.png" alt="" width="32" height="32" border="0" /></div>
<p></p>
<?php endwhile; ?>
<?php endif; ?>
<?php get_footer(); ?>
Alles anzeigen
ich weiß, dass ist nicht der standardaufbau eines templates, aber es funzt ja bisher ^^