Need to add custom authors for posts

Posted in: Newspaper
Post count: 5

Hi, I need the ability to add custom authors to my wordpress site. I oftentimes have one-off posts that really don’t need a user account to be created. Before Newspaper, I had followed these instructions to add a custom author to a post (Custom author link – https://www.wpbeginner.com/wp-tutorials/how-to-rewrite-guest-author-name-with-custom-fields-in-wordpress/). It gave me a custom field at the bottom of my blog post that I could fill in to override the author field. I’ve tried it now after installing Newspaper, and I don’t seem to have access to any of those custom fields?

How can I add custom authors with this theme without creating a new user?

Post count: 35449

Hi,

You can try the Co-Authors plugin -> https://www.wpbeginner.com/plugins/allow-multiple-authors-to-be-associated-with-a-post-in-wordpress/
You can check the implementation from this plugin in this similar topic -> https://forum.tagdiv.com/topic/co-authors-plugin-code/

Thank you!

Post count: 5

Hey Calin, this is great. I think this plugin will work. However, I can’t find the authors_template.php file to add the extra code? I saw the screenshots in the post that you linked to, but I still don’t see that the authors_template.php file in my theme editor. How do I get there?

Post count: 35449

Hi

The author-template.php is locate in wp-includes/author-template.php and you’ll need to replace this line of code -> http://prntscr.com/oif9c5

Hope this will help!

Post count: 5

Hey Calin, I truly appreciate how responsive you’ve been. Unfortunately, after updating the PHP file as you instructed, the author name still isn’t updating for me. Neither on the blog page itself or when a preview of the blog is displayed on a category page or anywhere else. Whether I change the author or add multiple authors, the blog just keeps displaying the original blog default author (my name – Erik Larsen) and ignores my choices completely. Here’s a link to a PDF I created with some screenshots – https://www.dropbox.com/s/ykjvvgos3l6u9rx/TagDiv%20Support_Guest%20Author%20error%20screenshots.pdf?dl=0

Screenshot 1 is the updated PHP file.
Screenshot 2 is the guest author that I created and chose for our Quiktrip blog.
Screenshot 3 and 4 show the blog’s original default author still displaying despite the guest author being chosen.

I’ve also tried 2 other plugins: “Guest Author” and (Simply) Guest Author Name. The first didn’t change the author at all, and the second actually fixes the author’s name on the blog page itself, but it doesn’t update the author name when a preview of the blog is shown on the category page, sidebar, or anywhere else.

I don’t know what to do?

Post count: 35449

Hi,

Please try the steeps from this topic -> https://forum.tagdiv.com/topic/co-authors-plugin-code/ maybe this will help you better!

Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.