• Hi,
    habe mal eine Frage,und zwar möchte ich für jeden Author eine kleine Seite erstellen,wo man Informationen über die jeweillige Person findet.
    Wenn man bei einem Beitrag auf den Namen des Author klickt,der den Beitrag geschrieben hat,der mit <?php the_author() ?></p> angezeigt wird,sollte man auf diese Seite gelinkt werden,die dem Author gewidmet ist.
    Ist sowas möglich?

    • 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

  • also ich hab mir das plugin runtergeladen und wenn ich es aktiviere bekomme ich folgende fehlermeldung:

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-admin/admin.php on line 10

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-admin/admin.php on line 11

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-admin/admin.php on line 12

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-admin/admin.php on line 13

    mehr hab ich ja noch garnicht gemacht,wieso erscheitn dann ein fehler?

  • nein,wie unten zu erkennen :/

  • kann mir einer erklären wie dieses plugin genau funktioniert?
    ich kann auch nicht wirklich draus erkennen,welchen code ich auf der z.B. author.php wiedergeben muss damit die profile aller user angezeigt werden.

  • Zitat von lemox

    kann mir einer erklären wie dieses plugin genau funktioniert?
    ich kann auch nicht wirklich draus erkennen,welchen code ich auf der z.B. author.php wiedergeben muss damit die profile aller user angezeigt werden.


    das steht auf der website des plugins:

    PHP
    <?php get_author_profile(auth_ID); ?>


    dann findet man dort weiter unten noch ein Beispiel:

    dazwischen steht auch noch was, ..bitte selber weiterlesen,-weil ich ja nicht weiß was Du nicht weißt oder brauchst

    lgMonika

  • so,das plugin läuft nun und ist unter folgendem link zu finden:
    http://www.gedankeninferno.de/wordpress/?page_id=51

    dennoch erscheint im wp-admin bereich oben immernoch besagter fehler:
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-admin/admin.php on line 10

    dazugekommen ist noch:
    Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-login.php on line 7

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-login.php on line 8

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-login.php on line 9

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-login.php on line 10

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-login.php on line 11

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-includes/pluggable-functions.php on line 163

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-includes/pluggable-functions.php on line 164

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-includes/pluggable-functions.php on line 165

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-includes/pluggable-functions.php on line 166

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-login.php on line 27

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-login.php on line 28

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-login.php on line 29

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-login.php on line 30

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/web45/html/wordpress/wp-content/plugins/get-author-profile.php:97) in /var/www/web45/html/wordpress/wp-includes/pluggable-functions.php on line 129

    wenn ich mich auf meiner seite ausloggen möchte.

    abgesehen von den fehlern ein schönes plugin,wer mag mich retten? :)

  • völlig unabhängig vom plugin

    hast Du die Autoren gefragt, ob Du deren email Adresse veröffentlichen darfst und deren Zugänge,

    denn 1.musst Du das(rechtlich) und
    2. nehm ich 10000000% an, werdet ihr mit spamemails zugeschüttet, wenn die emails Adressen einfach so auf einer website stehen..... :shock:

    lG
    Monika

  • Keiner hat bisher seine Einwände genannt,vielleicht freuen sie sich ja auch,wenn sie eventuell Liebesbriefe bekommen,falls sich jemand in den Schreibstil verliebt *grummel*

    ich wollt eigentlich nur die fehler beseitigt haben.

  • 1. die inhaltlich verantwortlichen sind im impressum zu nennen, auch mit email, eigentlich sogar mit telefon.

    2. ist der eintrag nach dem ich gefragt habe vorhanden? daran könnte es nämlich liegen.

  • 1. Das hier ist meine profile.php, dort steht dieser besagte wp-head tag nicht:

    2.Handelt es sich um eine private, nicht gewerbliche Seite, und dort muss weder ein Impressum vorhanden sein, weder noch Name,Email oder gar Telefonnummer.

  • So,hab diesen Beitrag nochmal editiert.Habe zuerst das

    </p entfernt,aber daran lags nichts.
    Aber ihr glaubt nicht nach welcher Aktion es nun funktioniert und keine Fehler mehr ausgibt:
    In der get-author-profile.php war an letzter Stelle bei

    Code
    }
    ?>


    hinter dem > ein Leerzeichen,für das blosse Auge nicht zu erkennen,habe auch nur zufällig dort hingeklickt und mir nichts dabei gedacht einmal return zu drücken.
    Jetzt funktioniert es :)
    Trotzdem Dankeschön

  • Ich führe den Beitrag mal fort, da es um dasselbe Thema geht. Allerdings will ich es nicht mit einem Plugin lösen, sondern mit dem Template author.php

    Ausgehend von einem Beispiel aus hemingwayGray habe ich folgende author.php für das verwendete Theme erstellt:

    Das Problem liegt darin, dass die oberen Angaben zum Autor nicht angezeigt werden. Klassische Varianten wie

    PHP
    <?php the_author_nickname(); ?>

    kann ich nicht nutzen, da sich der obere Teil nicht im Loop befindet und es natürlich keinen Sinn macht, den Loop dahin zu erweitern ;-)

    Hat jemand einen Tipp, wie sich das Problem lösen lässt?

Jetzt mitmachen!

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