Single.php (Autorenschaft einfügen)

  • Hallo!

    Ich habe bei Google folgende Fehlermeldung im Rich Snippets Tool
    Warning: Missing required hCard "author".

    Wie vermeide ich diesen Fehler? Per Eintragung in die single.php? (Müsste ja reichen...)

    Hier mein single.php

    VIELEN LIEBEN DANK!!!!

    <?php get_header(); ?>

    <div id="content" class="section">
    <?php arras_above_content() ?>

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <?php arras_above_post() ?>
    <div id="post-<?php the_ID() ?>" <?php arras_single_post_class() ?>>

    <?php arras_postheader() ?>

    <div class="entry-content clearfix">
    <?php the_content( __('<p>Read the rest of this entry &raquo;</p>', 'arras') ); ?>
    <?php wp_link_pages(array('before' => __('<p><strong>Pages:</strong> ', 'arras'),
    'after' => '</p>', 'next_or_number' => 'number')); ?>
    </div>

    <?php arras_postfooter() ?>

    <?php
    if ( arras_get_option('display_author') ) {
    arras_post_aboutauthor();
    }
    ?>
    </div>

    <?php arras_below_post() ?>
    <a name="comments"></a>
    <?php comments_template('', true); ?>
    <?php arras_below_comments() ?>

    <?php endwhile; else: ?>

    <?php arras_post_notfound() ?>

    <?php endif; ?>

    <?php arras_below_content() ?>
    </div><!-- #content -->

    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    • 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

Jetzt mitmachen!

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