Problem mit dem postratings-plugin

    • Anzeige

    Hallo!

    Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.

    • ✔️ Schnelle Ladezeiten (optimiert für WordPress & Co.)
    • ✔️ Deutsche Server & DSGVO-konform
    • ✔️ Persönlicher Support (kein 0815-Ticket-System)

    Mehr erfahren

  • <?php get_header(); ?>

    <div class="content">

    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <div class="block">
    <div class="postinfo">
    <div class="date">
    <div class="month"><?php the_time('F'); ?></div>
    <div class="day"><?php the_time('j'); ?></div>
    </div>
    <h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
    <div class="postcc">
    <div class="postcats">
    <?php the_category(', '); ?>
    </div>
    <div class="postcomments">
    <?php comments_popup_link('0 Comments', '1 Comment', '% Comments'); ?>
    </div>
    </div>
    </div>
    <div class="post">
    <?php the_content('Read the rest of this entry &raquo;'); ?>
    </div><?php if(function_exists('the_ratings')) { the_ratings(); } ?>
    </div>

    <?php endwhile; ?>

    <div class="navigation">
    <div class="alignleft"><?php next_posts_link('&laquo; Previous Entries') ?></div>
    <div class="alignright"><?php previous_posts_link('Next Entries &raquo;') ?></div>
    </div>

    <?php else : ?>

    <div class="block">
    <div class="postinfo">
    <h1>Not Found</h1>
    </div>
    <div class="post">
    <p>Sorry, but you are looking for something that isn't here.</p>
    </div>
    </div>

    <?php endif; ?>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

  • Hmm, gerade mal im Quelltext deiner seite nachgeschaut. Kann es sein, dass in deiner header.php folgende Code-Zeie fehlt:

    PHP
    <?php wp_head(); ?>


    Falls ja, füge diese mal VOR </head> in das header.php Template ein.

    wpseek.com - Die WordPress-Code-Suchmaschine

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!