Get the App
SLTechnology News&Howtos  ›  Development  › 

How to customize the author name of an article when WordPress publishes an article

Shulou Source: shulou.com Published: 2022-06-03 10:31:33 10月04日 Update

This article is about how to customize the name of the author when WordPress publishes the article. The editor thinks it is very practical, so I share it with you. I hope you can get something after reading this article. Let's take a look at it.

Sometimes the website will receive some contributed articles, or will also reprint other people's articles, it is troublesome to create a new user, but it is not so harmonious to display your own name in the author's name. The effect is shown in the following figure:

Directly search for "Custom author name" in the background plug-in installation interface to install it online, or go to the official download: https://litepress.cn/plugins/custom-author/

If there are a large number of reprinted or contributed articles, Qimeng suggests creating a separate user dedicated to publishing such articles, and then customize the author's name when publishing the articles.

Let's take a look at the code for this little plug-in:

Author:

Tags: Articles authors names users processing information that is plug-ins more knowledge articles contributions utility code name background official work meetings suggestions ideas Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi OPPO Reno macOS Xiaomi Shulou Tech Info