Möchten Sie Ihren WordPress-Beiträgen eine Autoren-Bio-Box hinzufügen?
Die Autoren-Bio-Box ist ein kleiner Bereich, in dem Sie Informationen über den Autor des Beitrags, Links zu sozialen Medien und mehr anzeigen können. Einige WordPress-Themes haben diese Funktion jedoch nicht integriert, oder Sie möchten sie möglicherweise anpassen.
In diesem Artikel zeigen wir Ihnen, wie Sie Ihrem WordPress-Blog ganz einfach eine Autoren-Infobox hinzufügen können.
Warum eine Autoren-Infobox in WordPress hinzufügen?
Die meisten WordPress-Themes zeigen standardmäßig den Namen des Autors eines Blogbeitrags an, aber keine anderen Informationen über ihn.
Die Darstellung der Person, die hinter den Inhalten steht, trägt zur Glaubwürdigkeit bei Ihren Lesern bei und kann die Autorität Ihrer Website stärken.
Eine „Über mich“-Seite kann zwar hilfreich sein, aber nicht jeder Leser wird sich die Zeit nehmen, sie zu besuchen. Und wenn Sie eine WordPress-Website mit mehreren Autoren haben, kann eine Autorenbox für Ihre Leser nützlich sein, die mehr über den Autor hinter jedem Beitrag erfahren möchten.
Autorenboxen bieten den Autoren einen zusätzlichen Anreiz, häufiger Beiträge zu verfassen und mit den Lesern zu interagieren, da sie ihre eigene Website und Links zu sozialen Medien teilen können, um ihre Followerschaft zu vergrößern.
Wenn Sie möchten, dass mehr Nutzer Inhalte auf Ihrer Website veröffentlichen, dann ist eine Autoren-Infobox eine großartige Möglichkeit, Autoren anzusprechen, die auf der Suche nach Aufmerksamkeit und neuen Zielgruppen sind.
In diesem Sinne zeigen wir Ihnen, wie Sie in WordPress eine Autoreninfobox hinzufügen können. Verwenden Sie einfach die unten stehenden Links, um direkt zu der gewünschten Methode zu gelangen.
- Method 1: Adding Author Info Box Using Your WordPress Theme Settings
- Method 2: Adding Author Info Box in WordPress Using a Free WordPress Plugin
- Method 3: Display Author Info Box in WordPress Sidebar Widget Area
- Method 4: Adding Author Info Box by Adding Code to WordPress
- Method 5: Adding Author Info Box in WordPress With AIOSEO's Author SEO
- Bonus: Displaying Author Info Box in WordPress with a Premium Page Builder Plugin
Methode 1: Hinzufügen einer Autoren-Infobox über die Einstellungen Ihres WordPress-Themes
Einige der besten WordPress-Themes verfügen über eine Autoren-Infobox, die automatisch unter jedem Artikel angezeigt wird.
Prüfen Sie zunächst, ob Ihr aktuelles Theme eine integrierte Unterstützung für eine Autoreninfobox bietet.
Gehen Sie dazu einfach in Ihrem WordPress-Administrationsbereich auf Benutzer “ Alle Benutzer.
Bewegen Sie dann den Mauszeiger über das Benutzerprofil, das Sie ändern möchten, und klicken Sie auf den Link „Bearbeiten“.
Dies bringt Sie zum Profilbearbeitungsbildschirm.
Scrollen Sie auf der Seite nach unten zum Abschnitt „Biografische Informationen“, um die Biografie des Autors hinzuzufügen. Sie können in diesem Feld auch HTML verwenden, um manuell Links zu den Social-Media-Profilen des Autors hinzuzufügen.
Das Profilbild des Autors wird automatisch von dem Dienst Gravatar bezogen. Wenn der Autor bereits ein Konto eingerichtet hat, wird dieses automatisch angezeigt.
Wenn Sie fertig sind, klicken Sie auf die Schaltfläche „Profil aktualisieren“ unten auf der Seite, um Ihre Änderungen zu speichern.
Jetzt können Sie jeden Artikel auf Ihrer Website aufrufen, der von diesem Autor geschrieben wurde, und Sie sehen Ihre Autoren-Bio-Box live.
Methode 2: Hinzufügen einer Autoren-Infobox in WordPress mit einem kostenlosen WordPress-Plugin
Wenn Ihr Theme nicht die Option hat, eine Autoren-Bio-Box anzuzeigen, oder Sie das Aussehen anpassen möchten, dann ist diese Methode für Sie geeignet.
Dazu verwenden wir das Author Bio Box Plugin. Es ist eines der besten Autoren-Bio-Box-Plugins für WordPress, mit dem Sie einfach eine anpassbare Autoren-Bio-Box zu Ihrer Website hinzufügen können.
Als Erstes müssen Sie das Plugin installieren und aktivieren. Weitere Einzelheiten finden Sie in unserem Leitfaden für Anfänger zur Installation eines WordPress-Plugins.
Nach der Aktivierung müssen Sie Einstellungen “ Autor-Bio-Box aufrufen, um die Plugin-Einstellungen zu konfigurieren.
Hier können Sie die Farben, die Gravatar-Größe für das Autorenfoto, die Position für die Anzeige der Autoren-Bio-Box und mehr auswählen.
Klicken Sie anschließend auf die Schaltfläche „Änderungen speichern“ am unteren Rand des Bildschirms, um Ihre Änderungen zu speichern.
Als Nächstes müssen Sie Benutzer “ Alle Benutzer aufrufen und auf den Link „Bearbeiten“ unter dem Benutzer klicken, dem Sie eine Biografie hinzufügen möchten.
Blättern Sie dann auf dem Bildschirm „Profil bearbeiten“ nach unten zum Abschnitt „Kontaktinformationen“.
Hier können Sie Social-Media-Links für die Social-Media-Profile Ihrer Autoren hinzufügen. Das Plugin zeigt nur Icons für soziale Netzwerke an, für die Sie eine URL eingeben.
Danach blättern Sie zum Abschnitt „Biografische Informationen“, um die Biografie des Autors hinzuzufügen.
Sie können in diesem Feld auch HTML verwenden, um manuell Links hinzuzufügen oder grundlegende HTML-Formatierungsoptionen zu verwenden.
Wenn Sie fertig sind, klicken Sie auf die Schaltfläche „Profil aktualisieren“, um Ihre Änderungen im Benutzerprofil zu speichern.
Sie können jetzt jeden Artikel besuchen, der von diesem Benutzer geschrieben wurde, um das Autoreninformationsfeld in Aktion zu sehen.
Methode 3: Anzeige der Autoren-Infobox im WordPress-Sidebar-Widget-Bereich
Möchten Sie die Autoreninformationen in der Seitenleiste oder im Widget-Bereich anzeigen, anstatt unter dem Artikel? Wenn ja, dann ist diese Methode genau das Richtige für Sie, denn sie ermöglicht es Ihnen, das Autoreninformationsfeld in einem Seitenleisten-Widget anzuzeigen.
Für diese Methode müssen Sie das Meks Smart Author Widget Plugin installieren und aktivieren. Weitere Details finden Sie in unserer Schritt-für-Schritt-Anleitung für die Installation eines WordPress-Plugins.
Nach der Aktivierung müssen Sie Appearance “ Widgets in Ihrem WordPress-Dashboard aufrufen.
Klicken Sie dann auf das Plus-Symbol für das Hinzufügen von Blöcken im Widget-Bereich „Sidebar“.
Danach müssen Sie nach „Meks Smart Author“ suchen.
Klicken Sie dann auf den Block, um ihn auszuwählen.
Das Widget verfügt über eine Reihe von Optionen, mit denen Sie die Anzeige anpassen können.
Die wichtigste Option, die Sie aktivieren müssen, ist das Kontrollkästchen neben „Autor automatisch erkennen“.
Klicken Sie dann auf die Schaltfläche „Speichern“, um Ihre Widget-Einstellungen zu speichern.
Sie können nun Ihre Website besuchen, um das Autoren-Bio-Widget in Aktion zu sehen.
Dieses Plugin holt die Benutzerinformationen aus ihrem WordPress-Profil. Sie oder Ihre Autoren müssen ihre Bio-Informationen ausfüllen, indem sie ihre Profile bearbeiten.
Wenn Sie mehr über die Bearbeitung von Benutzerprofilen erfahren möchten, lesen Sie unsere Anleitung zum Hinzufügen neuer Benutzer und Autoren zu Ihrem WordPress-Blog.
Methode 4: Hinzufügen einer Autoren-Infobox durch Hinzufügen von Code zu WordPress
Diese Methode ist eher für fortgeschrittene Benutzer geeignet, da Sie dazu Ihre WordPress-Theme-Dateien bearbeiten müssen. Wenn Sie dies noch nicht getan haben, lesen Sie unsere Anleitung zum Kopieren und Einfügen von Code in WordPress.
Dann können Sie den folgenden Codeschnipsel in Ihre functions.php-Datei, in ein Site-spezifisches Plugin oder mit Hilfe eines Plugins für Codeschnipsel hinzufügen.
function wpb_author_info_box( $content ) {
global $post;
// Detect if it is a single post with a post author
if ( is_single() && isset( $post->post_author ) ) {
// Get author's display name
$display_name = get_the_author_meta( 'display_name', $post->post_author );
// If display name is not available then use nickname as display name
if ( empty( $display_name ) )
$display_name = get_the_author_meta( 'nickname', $post->post_author );
// Get author's biographical information or description
$user_description = get_the_author_meta( 'user_description', $post->post_author );
// Get author's website URL
$user_website = get_the_author_meta('url', $post->post_author);
// Get link to the author archive page
$user_posts = get_author_posts_url( get_the_author_meta( 'ID' , $post->post_author));
if ( ! empty( $display_name ) )
$author_details = '<p class="author_name">About ' . $display_name . '</p>';
if ( ! empty( $user_description ) )
// Author avatar and bio
$author_details .= '<p class="author_details">' . get_avatar( get_the_author_meta('user_email') , 90 ) . nl2br( $user_description ). '</p>';
$author_details .= '<p class="author_links"><a href="'. $user_posts .'">View all posts by ' . $display_name . '</a>';
// Check if author has a website in their profile
if ( ! empty( $user_website ) ) {
// Display author website link
$author_details .= ' | <a href="' . $user_website .'" target="_blank" rel="nofollow">Website</a></p>';
} else {
// if there is no author website then just close the paragraph
$author_details .= '</p>';
}
// Pass all this info to post content
$content = $content . '<footer class="author_bio_section" >' . $author_details . '</footer>';
}
return $content;
}
// Add our function to the post content filter
add_action( 'the_content', 'wpb_author_info_box' );
// Allow HTML in author bio section
remove_filter('pre_user_description', 'wp_filter_kses');
Dieser Code holt einfach die Autoreninformationen ab und zeigt sie unter den WordPress-Beiträgen an.
Wir empfehlen das Hinzufügen dieses Codes mit WPCode, dem besten Code Snippets Plugin für WordPress. Es macht es sicher und einfach, benutzerdefinierten Code in WordPress hinzuzufügen, ohne die functions.php-Datei Ihres Themes zu bearbeiten.
Um loszulegen, müssen Sie das kostenlose WPCode-Plugin installieren und aktivieren. Wenn Sie Hilfe benötigen, lesen Sie diese Anleitung zur Installation eines WordPress-Plugins.
Rufen Sie nach der Aktivierung die Seite Code Snippets “ + Snippet hinzufügen in Ihrem WordPress-Dashboard auf.
Suchen Sie dort die Option „Eigenen Code hinzufügen (neues Snippet)“ und klicken Sie auf die Schaltfläche „Snippet verwenden“ darunter.
Fügen Sie dann einen Titel für Ihr Snippet hinzu und fügen Sie den Code von oben in das Feld „Codevorschau“ ein.
Vergessen Sie nicht, in der Dropdown-Liste auf der rechten Seite des Bildschirms „PHP Snippet“ als Codetyp auszuwählen.
Danach schalten Sie einfach den Schalter von „Inaktiv“ auf „Aktiv“ um und klicken auf die Schaltfläche „Snippet speichern“.
Jetzt müssen Sie dieses Autoreninformationsfeld so gestalten, dass es gut aussieht und zu Ihrem WordPress-Theme passt. Wenn Sie keine CSS-Kenntnisse haben, lesen Sie unsere Anleitung, wie Sie Ihrer WordPress-Website ganz einfach benutzerdefinierte CSS hinzufügen können.
Als Nächstes navigieren Sie zu Darstellung “ Anpassen in Ihrem WordPress-Administrationsbereich.
Daraufhin wird das WordPress-Theme-Anpassungsfenster geöffnet. Sie müssen auf die Registerkarte „Zusätzliche CSS“ klicken.
Damit können Sie benutzerdefinierten CSS-Code direkt zu Ihrem WordPress-Theme hinzufügen und die Änderungen live sehen.
Hier finden Sie einige Beispiele für CSS-Code, die Ihnen den Einstieg erleichtern:
.author_bio_section{
background-color: #F5F5F5;
padding: 15px;
border: 1px solid #ccc;
}
.author_name{
font-size:16px;
font-weight: bold;
}
.author_details img {
border: 1px solid #D8D8D8;
border-radius: 50%;
float: left;
margin: 0 10px 10px 0;
}
Fügen Sie dann den Code direkt in das Feld „Zusätzliches CSS“ ein.
Klicken Sie dann auf die Schaltfläche „Veröffentlichen“, um Ihre Änderungen wirksam werden zu lassen.
Jetzt können Sie einen Ihrer WordPress-Blog-Beiträge besuchen und Ihr neues Autoreninformationsfeld sehen.
So sieht die Autoren-Bio-Box in unserem Thema aus.
Methode 5: Hinzufügen einer Autoren-Infobox in WordPress mit AIOSEO’s Author SEO
All in One SEO (AIOSEO) ist das beste WordPress-SEO-Plugin auf dem Markt, mit über 3 Millionen Nutzern. Sie können es auch verwenden, um detaillierte Autoreninformationsfelder zu jedem WordPress-Beitrag oder jeder Seite hinzuzufügen.
Im Gegensatz zu den anderen Methoden hilft Ihnen diese Methode, Ihr SEO mit AIOSEOs leistungsstarkem Author SEO Addon zu verbessern. Es ermöglicht Ihnen, Ihre Erfahrung, Ihr Fachwissen und Ihre Autorität zu präsentieren, um die E-E-A-T Content-Richtlinien von Google zu erfüllen.
Um loszulegen, müssen Sie das All in One SEO-Plugin installieren und aktivieren. Wenn Sie Hilfe benötigen, lesen Sie unsere Anleitung zur Installation eines WordPress-Plugins.
Hinweis: Es gibt eine kostenlose Version von All in One SEO, die Sie nutzen können. Für den Zugriff auf die Autoren-SEO-Funktionen benötigen Sie jedoch den AIOSEO Pro-Plan.
Sobald das Plugin aktiviert und eingerichtet ist, gehen Sie im WordPress-Dashboard auf Benutzer “ Alle Benutzer. Klicken Sie dann auf den Namen des Autors oder auf den Link „Bearbeiten“ darunter.
Daraufhin wird die Seite „Benutzer bearbeiten“ für diesen Autor geöffnet. Auf dieser Seite müssen Sie auf die Registerkarte „Autoren-SEO“ klicken.
Im Bereich Autoren-SEO können Sie Informationen wie Ausbildung, Arbeitgeber und Berufsbezeichnung hinzufügen, um Ihre E-E-A-T-Signale zu validieren.
Sie können auch Themenkategorien hinzufügen, in denen Sie sich auskennen, um Suchmaschinen und Lesern Ihre Fachgebiete zu präsentieren.
Hinweis: Diese Themenkategorien müssen zunächst in All in One SEO im Einstellungsbereich Suche Erscheinungsbild „ Erweitert „ Autorenerfahrungsthemen eingegeben werden.
Als Nächstes können Sie nach unten scrollen, um ein Autorenbild, einen Autorenauszug und eine vollständige Autorenbiografie hinzuzufügen.
Sie können auch soziale Profile in Ihrem Autoreninfofeld anzeigen, indem Sie Ihre Profil-URL für Facebook, Instagram, Twitter, YouTube und andere eingeben.
Es gibt auch eine Einstellung „Autoren-Bio an Beiträge anhängen“, die Sie aktivieren oder deaktivieren können.
Wenn diese Einstellung aktiviert ist, zeigt All in One SEO automatisch eine kompakte Autorenbio am Ende Ihrer Beiträge an.
Sie können die Einstellung deaktivieren, wenn Sie manuell kompakte oder vollständige Autorenbiografien am Ende von Beiträgen hinzufügen möchten, indem Sie AIOSEOs Autorenbioblöcke verwenden. Weitere Details finden Sie in dieser Anleitung zum Hinzufügen von Autorenblöcken in Ihren Beiträgen.
In diesem Tutorial lassen wir die Einstellung aktiviert, dass Autorenbiografien automatisch an Beiträge angehängt werden.
Wenn Sie Ihre Autorendaten eingegeben haben, vergessen Sie nicht, auf die Schaltfläche „Benutzer aktualisieren“ zu klicken, um Ihre Änderungen zu speichern.
Jetzt können Sie einen Ihrer WordPress-Beiträge besuchen, um Ihr neues Autoreninformationsfeld in Aktion zu sehen.
Bonus: Anzeige der Autoren-Infobox in WordPress mit einem Premium Page Builder Plugin
Wenn Sie ein vollständig benutzerdefiniertes WordPress-Theme erstellen möchten und in der Lage sein wollen, eine Autoren-Infobox an beliebiger Stelle auf Ihrer Website anzuzeigen, empfehlen wir die Verwendung von SeedProd.
SeedProd ist der beste Drag & Drop Page Builder für WordPress. Mit ihm können Sie ganz einfach benutzerdefinierte WordPress-Themes und Seitenlayouts erstellen, ohne dass Codierung erforderlich ist.
Es enthält mehr als 300 Themen- und Seitenvorlagen, die Sie mit nur einem Klick importieren können. Die Themenvorlagen enthalten alle Teile, die Sie für eine Website benötigen, darunter eine Homepage, eine einzelne Seite, einen einzelnen Beitrag, ein Blog-Archiv, eine Kontaktseite und mehr.
Mit dem visuellen Theme Builder können Sie Ihr Thema nach Belieben anpassen. SeedProd macht es Ihnen leicht, denn es bietet mehr als 90 vorgefertigte Blöcke, die Sie per Drag-and-Drop auf jede Seite ziehen können, darunter auch einen „Author Box“-Block.
Nachdem Sie den Block Author Box zu Ihrer Seite hinzugefügt haben, klicken Sie einfach darauf, um die Details zu bearbeiten.
Sie können die Typografie, die Schriftgröße, die Ausrichtung, die Hintergrundfarbe und den Rahmen ändern, das Profilbild aktivieren oder deaktivieren und vieles mehr.
Sobald Sie mit der Anpassung fertig sind, aktivieren Sie einfach Ihr neues SeedProd-Theme.
Jetzt können Sie Ihre WordPress-Website besuchen und Ihr benutzerdefiniertes Autoreninformationsfeld sehen.
Weitere Einzelheiten finden Sie in unserem Tutorial zur Erstellung eines benutzerdefinierten WordPress-Themes mit SeedProd.
Wir hoffen, dass dieser Artikel Ihnen geholfen hat, zu lernen, wie man eine Autoren-Infobox zu WordPress-Beiträgen hinzufügt. Vielleicht interessieren Sie sich auch für unseren Leitfaden zur Auswahl des besten WordPress-Hostings und unsere Expertenauswahl der besten AI-Chatbots-Software für Ihre Website.
Wenn Ihnen dieser Artikel gefallen hat, dann abonnieren Sie bitte unseren YouTube-Kanal für WordPress-Videotutorials. Sie können uns auch auf Twitter und Facebook finden.
Syed Balkhi says
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
Dennis Muthomi says
thank you for this incredibly helpful guide!!!
my WordPress theme had a basic author bio box, but it doesn’t allow me to include links to the author’s social media profiles.
I was about to hire a developer to add that feature but I have tried out Author Info Box as you have highlighted and it has fixed this issue.
You saved me some bucks there…haha!
WPBeginner Support says
Glad we could help!
Admin
Michael says
Simple and perfect, thank yo!
WPBeginner Support says
You’re welcome
Admin
Jiří Vaněk says
Thanks for providing the complete php code. In Elementor, I solve it with a widget, but outside of Elementor, I would very much like to use a ready-made solution from you.
Gleni says
This only works for posts. I usually post everything from pages, not posts. How can I get this sorted?
WPBeginner Support says
We don’t have a specific method we would recommend for pages at the moment but we will look into the possibilities in the future.
Admin
Bojan says
Please, replace this code with this if you want to show only on blog posts:
// Detect if it is a single post with a post author
if ( is_single() && isset( $post->post_author ) ) {
with:
// Detect if it is a single post with a post author
if ( is_singular(‚post‘) && isset( $post->post_author ) ) {
WPBeginner Support says
Thanks for sharing this for those looking for that customization
Admin
Mark Beese says
I would like to add something like the option of related stories to the author box, but show a random selection of others posts/stories from that author. Is that possible?
WPBeginner Support says
For something like that, we would recommend taking a look at our guide below for showing related posts by the same author:
https://www.wpbeginner.com/wp-tutorials/how-to-display-related-posts-by-same-author-in-wordpress/
Admin
Ramon says
This is excellent, works out of the box.
Keep in mind that you might want to add a „title“ attribute to a href links ..
WPBeginner Support says
Thanks for sharing your recommendation.
Admin
Kelly says
I came here for your opinion because my SEO teacher (paid class) says that even though my website/URL is my name, Google needs to know who wrote the posts. I write them (with the exception of guest writers from time to time). You said, „For a single-author WordPress blog, you can just add an about me page.“ Do you mean just have an about me page on your blog? Or link to the about me page within the author box at the end of posts?
WPBeginner Support says
That would be a personal preference decision but having an about page publicly visible was what we recommended. It is not required in every article.
Admin
Rozard says
I added the code in Theme function.php. It’s working better than a plugin. I just need little bit help if that is possible. My website is not in English, which is right to left. I added a css code that start paragraph from right to left, now the problem is that most of the author bios are in English, is there way to modify the alignment of bios to make left to right?
I really appreciate your help. Thank you
WPBeginner Support says
You would need to add in the CSS for the author box:
direction: ltr;
Admin
Jerry says
I have an author info box that shows at the end of every blog post. I want it to be shown on my About me static page as well apart from the blog post. How can I enable this?
WPBeginner Support says
It would depend on what is adding the author box, if your theme is adding it you would want to reach out to your theme’s support for having it appear on a page.
Admin
usef says
Hi. I used the method 4. It worked like a charm. Thank you for sharing this.
WPBeginner Support says
You’re welcome, glad you found our guide helpful
Admin
Lauren Colquhoun says
Hello
Could you please tell me how to only display the author bio box for certain categories? Thank you
WPBeginner Support says
If you are using the widget method you can conditionally display the widget using the method from our guide here: https://www.wpbeginner.com/plugins/how-to-show-or-hide-widgets-on-specific-wordpress-pages/
Admin
Gustavo Razzetti says
Hi I used the plugin and now it’s showing two bios–the one generated by the plugin and the one created by WordPress (which looks uglier and I don’t want to use). How I avoid having two bios?.
WPBeginner Support says
If your theme included its own author bio, you would need to reach out to the theme’s support for how to remove it
Admin
Prajyot Kumbharjuvekar says
Looks like the Guerrilla’s Author Box plugin is no longer available… Do you can you suggest any alternatives? thank you
WPBeginner Support says
While we don’t have a recommended plugin at the moment, we will certainly look to update this article with an alternative
Admin
Louis Chaussé says
Hi,
I have a problem with method #3
I added the php code to the functions.php file and the css to additonal css section in WP
Everything is working except that the bio is displaying twice on the page…
Once at the proper place at the bottom of the post, and it is also displaying at the top of the page (before header)
Any thoughts?
Warwick Levey says
Is there anyway to disable to author box for profiles which don’t have any info in the author bio?
We use a custom field to add authorship to guest posts, and we don’t have a bio for most of our guests, and the blank box at the bottom of the page is z bit of an eyesore for these posts.
Thanks in advance for any help
Elizabeth Thompson says
Does this mean I have to give them user access????
This doesn’t make sense for me? THey’re random people?
Thanks
re: Each author on your site will need to add their biographical information and links to their user profiles. They can do this by logging in to their WordPress account on your website and then click on the Profile link from the WordPress admin menu.
WPBeginner Support says
Hi Elizabeth,
Random people should not have access to your WordPress site. Please see our beginner’s guide about WordPress user roles and permissions.
Admin
Morteza says
Hi to all!
How to add EDD vendor name in EDD receipt?
I add this to my downloads page by adding:
echo get_the_author_meta( ’name_of_store‘, $post->post_author );
and
echo get_the_author_meta( ‚display_name‘, $post->post_author );
,
It seems in this case I need to hook this, BUT HOW?
thanks
Mick says
Thanks for this which is what I was looking for. Although now I see it with the bio in 2 places, what I would like is that the bio at the end of each post different to the bio down the side.
Is this possible or do I have to remove Meks and replace it with some other plugin?
Thanks
Wilson Lee says
Hey,
This was just what I was looking for. I think I will stick with installing a plug-in though.
Coding makes my head hurt.
Thanks for the great wordpress content!
Wilson
Matt Stephens says
hahaha! I thought exactly the same thing while reading through the post. Why go through the stress of coding, when there’s a plugin to get the job done?
Manjit Kumar says
It’s great and so much helpful…
ingresos pasivos says
Hi, I was wondering how I can add a margin higher than my box using the code that you left us.
My box shows very close to the letters of my post, I hope your answer.
A big greeting.
Vishal Rana says
very helpful thanks a lot
Hina Ilyas says
I have added the Guerrilla’s author box, but author details still don’t show on my posts. I can only see these three lines:
Author: Hina Ilyas
Filed Under: Weekly Rundown
Tags:
i don’t understand what is the issue!
Magnus says
If I use method 3, it only shows the author info box when viewing a post.
The post itself doesn´t show at all.
Any suggestions?
Thank you in advance.
Kingsford says
Please how can I add the author box to specific categories only?
Pls help.
Andy W. says
You may have found the answer for this already (it’s kind of disappointing someone makes this posts and doesn’t respond to the questions), but I used this to display the box on only certain categories.
If you want to display the author box only on single posts that are assigned to any category, change:
// Detect if it is a single post with a post author
if ( is_single() && isset( $post->post_author ) ) {
to
// Detect if it is a single post with a post author
if ( is_single() && isset( $post->post_author ) && has_category() ) {
If you want to display the box ONLY in a certain category, then change the above to:
// Detect if it is a single post with a post author
if ( is_single() && isset( $post->post_author ) && in_category(‚X‘) ) {
Change „X“ to the category ID.
To include more than one category, simply replay „X“ with an array() of category IDs:
// Detect if it is a single post with a post author
if ( is_single() && isset( $post->post_author ) && in_category( array(‚X‘, ‚X‘) ) ) {
Joseph says
Hi andy can you help me, i-followed the method #3, how can i hide it to my wocommerce product page description here’s the site
Joseph says
i just solved it, i used this code of yours:
// Detect if it is a single post with a post author
if ( is_single() && isset( $post->post_author ) && has_category() ) {
thanks for this
Shraddha Kapoor says
Hi. I am facing a problem while adding hyperlink in the author bio. I tried add hyper link using anchor text at edumovlive.com but failed. Can anyone help me to get hyperlink in author bio.
Gabrielle says
Hi, i added custom admin column: thumbnail to all users table
, how can i print each user gravatar, by user id, inside this column?
I added sucessfully featured image column inside all post table,
that links each image to each post via edit link, is there a way to add gravatar column in all users that links to edit user?
Anis Chity says
How can I add links to my posts within the author box?
Nishat says
Thanks for the post, great help. Is it possible to make the author box interactive? Like the bottom of this page?
I would like something similar to the ‚as well as‘ feature but I know nothing about CSS.
Agus Tamanuri says
Nice Post ..
Thanks for Your Article,
gagan says
I added author box using method 3 but it showing author box above sharing icons how to move this down near comment section??
Annie says
Do I need add links to social media profiles to the author, any idea?
Amir says
For method #3 which is really the simplest and the fastest (involves some php coding skills) I added a break tag on the line where it shows picture and text as follows. Because it looks odd when only the first line of the bio shows up next to the picture and the rest of the bio separately.
$author_details .= “ . get_avatar( get_the_author_meta(‚user_email‘) , 90 ) . “ . nl2br( $user_description ). “;
Deyo says
The hard coding worked perfectly with a little style tweaking, many thanks!
under the // Get author’s biographical information or description is the some kind of way to control the word or character count without having to edit the user bio itself? Maybe similar to controlling the excerpt length on a post page in functions?
King says
I dont know how to add codes via my functions.php i might get an error. Any plugin to add codes into functions.php?
Wajiha Rizvi says
You have to add it after the closing php tag that looks like this ( ?> ) in you child theme’s functions.php file.
Lorraine Reguly says
Hi. I have three sites. For some reason, my author box automatically shows up on one of them. I had to install the Guerilla plugin to get it to show up on the others.
Why would one site show it and not the other two???
Shafi Khan says
Hey There, Great article. The video attached to the post is not for instructions on „how to install a plugin“ as written above it.
It it is a mistake, please correct it
sonja says
Hi there, having trouble with the picture for the author box. I’ve moved the author widget to the sidebar for it to appear and it has along with the text but scratching my head on what to do to get the picture to show up also. I’m using a WordPress theme. Thanks for all your help!
Christopher Simmons says
Heya… dealing with this today. Theme has a nice author box, but missing the socials at bottom.
Love your roll your own example, which we’re messing with „right now“ — any chance you might expand on the example to include pulling in the „if socials“ from the user meta, below the author’s website link ?
TIA ! Thanks for another great article
(12 year WP user — so not just for beginners! )
Peter Brown says
Did you ever figure this out Christopher? I’m having the same issue with my theme.
Natanael David says
Hi, thanks for this! I’m having a lot of help from you guys! For this and other functions.
One question: How can I set the max lenght in the Author description. Also, can I use a custom text for the box description in the single page and a full description in the Author page?
moon says
Hi,
Thanks for your helpful information.
I have a problem, but I don’t know how to describe it. I added a picture into article, and set it style=“float: right; margin-left: 20px;“
It can show the web page well upon browsed on desktop computer, left hand side is content, and right hand side show picture.
but it cannot show the web page well upon browsed on mobile phone, please refer below URL:
Is it possible to show text first, and the picture under the text not around the picture?
If so, how?
Please try to help me out.
Thanks in advance.
Best regards,
Mario says
Hi guys,
Do you know a way of inserting the author’s widget next to the post entry, but not in a sidebar? just as here:
thanks!
WPBeginner Support says
You may want to add a widget area right next to the content.
Admin