Update Author Metadata on Posts
-
Hi, can someone explain to me how the “author” display name on Posts can be updated? I have found that updating the Name/Display Name/Nickname of the authors’ User Profile does not alter the author tag on old posts. Is there a way to get this metadata on the post updated?
Is there a select I could do on the database to update this?
Many thanks for any help you can provide.
-
That applies to comments, but not to posts.
For a comment, the name and email is saved as text in the comment table.
For a post, the author ID is saved, which is a number that is used to look up the author details in the user table.The user profile page has a choice for how the name should be displayed publicly, and the theme is supposed to respect that choice. If it isn’t, that is a theme problem. If you didn’t actually change how it should be displayed, you should try that.
Ah thanks so much for responding! One followup question, the “author ID” is that an internal numeric ID? Or is that perchance the “nicename”? I did change the nicename (I always manually change the nicename in the database so that it is not the same as the username).
It’s the author ID in the post table. The option for which to display is on the User profile page. It only shows the names that are available to choose from.
Thanks for the help, after searching I found that the Genesis theme has a specific setting where you define what will be used for the post meta. In this case, it had been set as a text string (not a variable) which is why it wasn’t updated.
Thanks for the help @joyously
The topic ‘Update Author Metadata on Posts’ is closed to new replies.