How to Add Authors’ Social Media in WordPress

You want to add authors’ social media links to their posts or the author page template. There are ways to do that and in this tutorial, I explain one of them.

Table of Contents

Add Authors’ Social Media via User Profile

From the WordPress Admin Dashboard, navigate to Users > All Users and click on the Edit link of the author to whom you want to add social media links.

Then, scroll down until you reach Biographical Info.

You should add the combination of text and HTML codes below (after editing) to the text area.

I provide demo contents to test WordPress themes. I try to cover every aspect of themes so end users utilize themes without any worry. Find me on <a href="https://twitter.com/alvand1399" rel="nofollow">Twitter</a> and <a href="https://www.facebook.com/alvand1399" rel="nofollow">Facebook</a>.

Instead of “I provide demo contents to test WordPress themes. I try to cover every aspect of themes so end users utilize themes without any worry.“, add the author’s biography text.

In the code part, instead of “alvand1399“, add the author’s Twitter and Facebook usernames respectively. If you follow the code template, you can also add other socials.

Include Added Authors’ Social Media in Your Theme

Now, you should include social media in your theme. In this example, I have a default twenty twenty-two child theme activated. Note that the twenty-twenty-two is a block theme. As always, using a child theme to customize your theme is recommended. If you do not have a child theme, consider reading this article: How to Create a WordPress Child Theme Easily

After all, from the WordPress Admin Dashboard, navigate to the Appearance menu and click on Editor.

I decided to add the author’s biographical information to the Single template. It will appear in every post that the author publishes on my website.

From the Editor, click on Templates and then on Single.

Then, I add a Group block. Inside it, I add a Stack block. Inside the stack, I add a Paragraph block “About the Author” and a Post-Author Biography block. I also add a background color to the Stack block. It is a simple example; you can add an author avatar, name, etc. via blocks.

You can see the result in a blog post below:

Conclusion

This was just one way to do this task and I used it through a block theme. You can use a plugin like Simple Author Box that has advanced features. After reading this article, you may want to read How to Change the 404 Page Title in WordPress.

منتشر شده در:

به‌روزرسانی‌شده در:

دسته‌بندی:

برچسب‌ها:

به این پست امتیاز دهید و به ما در بهبود محتوایمان برای خدمت‌رسانی بهتر به شما کمک کنید.

به ما در پخش این مقاله کمک کنید! برای اشتراک‌گذاری این مقاله با دنبال‌کنندگانتان، روی دکمه‌های اشتراک‌گذاری در زیر کلیک کنید.

ما دوست داریم نظرات شما را در مورد این مقاله بدانیم. در صورت تمایل می‌توانید در زیر دیدگاه خود را بنویسید.

دیدگاهتان را بنویسید

نشانی ایمیل شما منتشر نخواهد شد. بخش‌های موردنیاز علامت‌گذاری شده‌اند *

پانزده − ده =