multi author on post

Posted in: Newspaper
Post count: 39

can I assigned to posts/article more author of the text?

multi authors

post in silesion.pl with multi author

Post count: 22421

Sorry, but our theme does not have any such option. You can search for a plugin that can provide such a feature but i cannot recommend any since we have not tested any co-authors plugin.
Thank you!

Post count: 9

Hi!

I’m having that same question, and based on the forum it seems like there is no such option in Newspaper 7 right now.

Only plugin that seems used at least to some extent seems to be Co-Author Plus:
https://wordpress.org/plugins/co-authors-plus/

This works as promised out-of-the-box in the backend, and does so also for Newspaper 7. However, to implement this to the front you need to edit the template php files: https://vip.wordpress.com/documentation/incorporate-co-authors-plus-template-tags-into-your-theme/
“To integrate Co-Authors Plus, you’ll want to replace existing author template tags in your theme with a simple conditional that uses the Co-Authors Plus template tags if Co-Authors Plus is available”

This seems like a somewhat easy task to do on one of the standard themes, but in Newspaper 7 there are LOTS of templates to change this in. My question is
1) could you point out the places where the author info part in the php templates are found?
2) … keeping the nice standard style of Newspaper 7 showing name, gravatar, description etc?

On a sidenote, i think this would be an extremely powerful function to have out-of-the-box in a theme that works wonderfully otherwise! 🙂

  • This reply was modified 9 years by juliusuk.
  • This reply was modified 9 years by juliusuk. Reason: clearer wordings
Post count: 22421

Hello,

You can find the necessary code in the post style files. Each post style has 2 files corresponding to them: a loop file and a single-template file: https://www.screencast.com/t/uhvfC4hNoUa
The get_author code is generally found in the loop files like so: https://www.screencast.com/t/62nXbVWq8E

Thank you!

Post count: 30

I agree with Julius. It seems to me that the theme should at least be compatible with the Co-Authors plugin. If you just added the if else statement and then point the else to the custom tagdiv get_author code in each template out of the box it should be reverse compatible and still work for those not using the plugin. Just a suggestion since this question seems to come up a lot – at least 2-3 times a month.

Post count: 30

If you are still trying to figure this out, use kpwebteam’s code on this page: https://forum.tagdiv.com/topic/co-authors-in-newspaper-6

Be sure to use the code that kpwebteam posted as it includes the necessary styling and allows for up to 4 co-authors.

Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.