Noch nicht viel geschrieben
Hallo,
ich bin dabei eine HTML Seite in Wordpress umzuwandeln.
habe das soweit auch zum laufen bekommen, aber ich habe ein Template das nur die Blog Inhalte darstellen soll, doch was ich auch mache ich bekomme nur die Überschrift der Seite aber keinen Beitrags Inhalt angezeigt?? Hat jemand eine Idee?
Hier der Code des Templates:
ich bin dabei eine HTML Seite in Wordpress umzuwandeln.
habe das soweit auch zum laufen bekommen, aber ich habe ein Template das nur die Blog Inhalte darstellen soll, doch was ich auch mache ich bekomme nur die Überschrift der Seite aber keinen Beitrags Inhalt angezeigt?? Hat jemand eine Idee?
Hier der Code des Templates:
PHP:
<?php /* * Template Name: LOTTO spielen online Blog */ get_header();?>
<!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 if ( function_exists('language_attributes') ) language_attributes(); ?> id="fb">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Startseite | Ihre Chance auf die Jackpot-Millionen | Spielregeln | Lotto 6 aus 49</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<style type="text/css" media="screen">
@import url( <?php bloginfo('stylesheet_url'); ?> );
</style>
<meta name="robots" content="index,follow" />
<meta http-equiv="expires" content="0" />
<meta name="description" content="Ihre chance auf die Jackpot-Millionen | Spielregeln | Lotto 6 aus 49" />
<meta name="keywords" content=" Lotto, Lottozahlen 6 aus 49, Ziehung der Lottozahlen, 6 aus 49, Lotto online spielen, Lotto bw, Lottoquoten, Jackpot, Lotto Gewinner" lang="de" />
<?php wp_head(); ?>
</head>
<body>
<div id="wrapper">
<div id="rahmen">
<div class="logo">
<h1><a href="index.html">LOTTO <br />6 aus 49</a></h1>
<img src="<?php bloginfo( 'template_url' ); ?>/images/lotto-header.png" alt="Lotto Gewinnen Jackpot" />
</div>
<div style="width:180px; padding-top:5px; padding-bottom:5px; float: right; margin: 30px 20px 0 0;">
<iframe src="http://www.lottozahlenonline.de/data_extern/lottozahlen.php" name="Lottozahlen" width="180" height="115" scrolling="no" frameborder="0" marginheight="0" marginwidth="0">
<p> </p>
</iframe>
<div style="margin-left:5px;">› <a style="font-family:verdana, geneva; font-size:8px; color:#000000" href="http://www.lottozahlenonline.de/">www.lottozahlenonline.de</a></div>
</div>
<div class="kasten">
<div class="menue">
<?php wp_nav_menu( array( 'theme_location' => 'header-menu' ) ); ?>
</div>
<div class="affiliate">
</div>
<div class="top-content">
<img src="<?php bloginfo( 'template_url' ); ?>/images/chance.png" alt="Chance Jackpot-Millionen" style="float: left;" />
</div>
</div>
<div class="content">
<div id="content">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<p class="postmetadata">Posted in <?php the_category('Lotto'); ?></p>
</div>
<div class="entry">
<?php the_content(); ?>
</div>
<?php endwhile; else: ?>
<h2> Sorry noch keine Texte vorhanden</h2>
<?php endif; ?>
</div>
</div>
</div>
<img src="<?php bloginfo( 'template_url' ); ?>/images/lotto-gewinne.png" alt="Traumhaus Traumurlaub" style="float: right; margin-top: 20px;" />
</div>
</body>
</html>
Zuletzt bearbeitet von einem Moderator: