开发者 | nocksoft |
---|---|
更新时间 | 2024年11月16日 19:24 |
PHP版本: | 5.3 及以上 |
WordPress版本: | 6.7 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
You have two options. Either through Gravatar, or you can use a local image in your user profile settings. This setting can be made separately for each user. But for this, you need to install the additional plugin "Local Avatars by Nocksoft" first.
You can do this in your user profile settings.
You can adjust settings in the user profile settings and in the global settings under "Settings" -> "Author Box".
You can add the following code in your functions.php and replace SAMPLEPAGE with your desired page:
add_action("wp_head", "remove_authorbox"); function remove_authorbox() { global $pagename; if (is_page() && function_exists("nstab_add_authorbox") && $pagename == "SAMPLEPAGE") { remove_action("the_content", "nstab_add_authorbox"); } }
You have to disable the author box of your theme. How to do this depends on your theme. But for the WordPress default themes you will find a suitable setting in this plugins settings.