Veröffentlicht am entfernen zum tausendsten....

  • Hi Leute,
    ich möchte gern den "[COLOR=#999999][FONT=&quot][FONT=inherit]Veröffentlicht unter[/FONT] Allgemein [/FONT][/COLOR][COLOR=#999999][FONT=&quot][/FONT][/COLOR][COLOR=#999999][FONT=&quot]| [/FONT][/COLOR][COLOR=#999999][FONT=&quot][/FONT][/COLOR][COLOR=#999999][FONT=&quot][COLOR=#F2641D][FONT=inherit]Kommentar hinterlassen" [/FONT][/COLOR][/FONT][/COLOR]
    auf der Beitragsseite löschen. Ich habe dazu bereits das hier gelesen:
    http://forum.wpde.org/design/90590-t…-entfernen.html

    Ich finde auch den Codeschnipsel

    [COLOR=#007700][FONT=monospace]function [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]twentyeleven_posted_on[/FONT][/COLOR][COLOR=#007700][FONT=monospace]() {
    [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]printf[/FONT][/COLOR][COLOR=#007700][FONT=monospace]( [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]__[/FONT][/COLOR][COLOR=#007700][FONT=monospace]( [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]'<span class="sep">Posted on </span><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>'[/FONT][/COLOR][COLOR=#007700][FONT=monospace], [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]'twentyeleven' [/FONT][/COLOR][COLOR=#007700][FONT=monospace]),
    [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]esc_url[/FONT][/COLOR][COLOR=#007700][FONT=monospace]( [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]get_permalink[/FONT][/COLOR][COLOR=#007700][FONT=monospace]() ),
    [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]esc_attr[/FONT][/COLOR][COLOR=#007700][FONT=monospace]( [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]get_the_time[/FONT][/COLOR][COLOR=#007700][FONT=monospace]() ),
    [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]esc_attr[/FONT][/COLOR][COLOR=#007700][FONT=monospace]( [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]get_the_date[/FONT][/COLOR][COLOR=#007700][FONT=monospace]( [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]'c' [/FONT][/COLOR][COLOR=#007700][FONT=monospace]) ),
    [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]esc_html[/FONT][/COLOR][COLOR=#007700][FONT=monospace]( [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]get_the_date[/FONT][/COLOR][COLOR=#007700][FONT=monospace]() ),
    [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]esc_url[/FONT][/COLOR][COLOR=#007700][FONT=monospace]( [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]get_author_posts_url[/FONT][/COLOR][COLOR=#007700][FONT=monospace]( [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]get_the_author_meta[/FONT][/COLOR][COLOR=#007700][FONT=monospace]( [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]'ID' [/FONT][/COLOR][COLOR=#007700][FONT=monospace]) ) ),
    [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]sprintf[/FONT][/COLOR][COLOR=#007700][FONT=monospace]( [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]esc_attr__[/FONT][/COLOR][COLOR=#007700][FONT=monospace]( [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]'View all posts by %s'[/FONT][/COLOR][COLOR=#007700][FONT=monospace], [/FONT][/COLOR][COLOR=#DD0000][FONT=monospace]'twentyeleven' [/FONT][/COLOR][COLOR=#007700][FONT=monospace]), [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]get_the_author[/FONT][/COLOR][COLOR=#007700][FONT=monospace]() ),
    [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]esc_html[/FONT][/COLOR][COLOR=#007700][FONT=monospace]( [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]get_the_author[/FONT][/COLOR][COLOR=#007700][FONT=monospace]() )
    );
    } [/FONT][/COLOR]


    in der functions.php, wenn ich den aber entferne, gibts eine Fehlermeldung und die Seite ist nicht mehr erreichbar...
    Wäre für Hilfe dankbar.

    • 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

  • du kannst alle templates durchsuchen und das rauslöschen


    PHP
    <?php twentyeleven_posted_on (); ?>


    am besten in einem Child Theme

    Google wird dann meckern und feststellen die Microformate liefern Fehler, wenn du bei Webmastertools /Search Console angemeldet bist.


    du kannst dies auch mit display:none; ausblenden, steht dann noch im Quelltext ist aber nicht mehr sichtbar

    dazu via Developertools die diese Funktion umgebende CSS ID oder Klasse suchen.
    Am besten in einem Custom CSS.

  • Hallo Monika,
    vielen Dank für deine Antwort allerdings überforderst du mich deutlich :-)
    Ich habe jetzt
    footer .entry-meta{display:none}
    In der style.css meines Themes Twenty Eleven an letzter Stelle gesetzt und dennoch passiert nüschte.
    Mit deinen anderen Antworten kann ich nichts anfangen.
    Kannst du mir ein developertool für Chrome empfehlen?
    Ich hatte mal den Firebug für den Firefox, und der hat mir angezeigt in welcher Datei auf welcher Zeile etwas steht.
    Leider habe ich so lange nicht mehr damit gearbeitet, das ich nicht mehr damit umgehen kann :-)

  • wenn footer die class entry-meta hat, dann musst das so schreiben

    footer.entry-meta

    also kein Abstand zwischen footer und dem Punkt


    markieren und rechte Maustaste => Auswahlquelltext anzeigen

    oder Firebug nutzen

Jetzt mitmachen!

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