Multiple Authors

Posted in: Newspaper
Post count: 168

Hello,

Is it possible to add more than one author? I’d like to include an author and then a medical reviewer. So one would say “written by” which I can do in the theme, but then I’d need to add a second author block that says “medically reviewed by.” How can this be achieved? Thank you!!

https://rareparenting.com/what-is-occupational-therapy-for-children/

Megan

Post count: 162

Hi Megan,

jumping in here to share that this can be achieved by adding a custom field; then editing the single-post template and adding the “custom field” wherever you’d like it to appear. Hope this helps you till the time you hear from the Tagdiv team 🙂

Post count: 168

Thank you, theheritagelab, very kind of you to help out! I’ll try this, thanks!!

Post count: 168

Hi tagdiv team, following up to see if you have a response to this?

Post count: 35449

Hi,
Using custom files is a solution, but you can also try using an extra plugin, for this we can try the steps from our guide – https://forum.tagdiv.com/adding-multiple-authors-articles/
I hope this will help!

Post count: 168

Hi Calin,

I tried both the plug-in you suggested, as well as the PublishPress Authors Plug-in. Neither work. Here’s why:

Molongui allows a second author, but that author has to have a WP account. For a medical reviewer, that’s not possible. It allows a guest author, but then it doesn’t allow you to add a link to that person’s name, which also defeats the purpose of showing authority.

PublishPress Author allows a second author, but it doesn’t seem to work with tagdiv. When I add the second author, the name doesn’t appear in the post.

To be clear, what I would like to do is have one element (single post author) with the name and byline (“written by”) on one row, and the next row would have a second element (single post author) and byline (“medically reviewed by”).

So it would look like:
(photo) Written by Megan
(photo) Medically Reviewed by Sam

Is this possible?

Thanks!

Megan

Post count: 168

This one is for Heritage Lab – Hi again – I’m lost on your suggestions. Is there way to get in touch? Thank you!

Post count: 162

Hi Megan @nolandolce ! Happy to help you. Take a look at the template I created — I’ve outlined the process with screenshots for you in this document.

All the best! Let me know how it works out & have a good weekend 🙂

Post count: 162

Just want to add that you can link for the Reviewed by “Person’s Name” (just use the usual a href= “…” code in the Value section )– but I don’t know how to add a picture 😐 Sorry!

Post count: 168

Hi, Hertitage Lab, thank you so much for your help! I was able to follow your steps with a beautiful result – https://rareparenting.com/what-is-occupational-therapy-for-children/.

Yes, I would like to add a photo, and frankly, it would be great if the theme allowed multiple authors (or a plug-in) that linked to the co-author pages, same as the way the original author can do. Long-term, the upkeep this way is much more difficult as well. However, it is an amazing short-term fix that is better than the Molongui plug-in, while we wait for TagDiv to either provide an update or offer a better solution. I really appreciate your help and care!

Thank you. 🙂

Post count: 35449

Hello nolandolce we are glad that you got good results using the theheritagelab guide!
Unfortunately, for the moment the theme itself doesn’t have this option, you can indeed to use a custom filed and you can add it in image, text, link and you can mix it up but it will be more complicate as the guide provided by theheritagelab but the implementation it will be similar.
Using an extra plugin it is also a solution, but it is possible to not be able to achieve what you need.
Thank you!

Post count: 168

Hi Calin,

1 – So far it seems one plug-in doesn’t work with the theme at all – could you let me know about that, as mentioned before, PublishPress Authors doesn’t seem to work.

2 – And the other plug-in works, but doesn’t allow the functionality I need.

3- As for using the custom field, do you have information on how to add the link and photo?

4 – Lastly, do you have expectations to add this functionality to the theme in a next theme update?

Thanks!

Megan

Post count: 35449

Hello,

I understand, but sometimes it is quite difficult to keep compatibility with many plugins, maybe it can be find another solution or use the one with custom fields.

To do this you need to have 3 custom fields, one for name, link and image -https://i.imgur.com/EKP5wiY.png add the value in those fields – https://i.imgur.com/qghyxYZ.png then on single post template add a custom filed, select the mane and in url type the ‘{cf_link}’ – https://i.imgur.com/zRNgEqZ.png (replace link with the name of your url) – then add another custom filed where you choose the image – https://i.imgur.com/JDzTQtl.png and after that all that needs is to adjust the elements. The results will be – https://i.imgur.com/lreLElU.png

Unfortunately, I do not know if there will be an update theme for this, at least not quite soon, sorry!

Thank you!

Post count: 168

Hi Calin,

I figured out a workaround, furthering through the initial instructions from HeritageLab. This workaround means I don’t need to install the advanced fields plug-in.

In the custom field value box, I simply include:
(<)img src=”” alt=”” width=”20″ height=”20″ border-radius=”50%”(>) Medically Reviewed by (<)a href=””(>)(<)b(>)(name)(<)/b(>)(<)/a(>), (title)

You can see the example here: https://rareparenting.com/what-is-occupational-therapy-for-children/

The only problem is that the border radius isn’t working. Could you let me know how to update this so it works?

Also, the alignment of the custom field also doesn’t work, within the TagDiv designer. It horizontally aligns but the vertical alignment doesn’t work. Any ideas about this?

Overall, this does mean a lot of work per-post, so it would be great if the theme can be updated to accommodate guest authors, multiple authors, and two rows.

Thanks!

Post count: 35449

Hello,
I see that now it looks ok – https://i.imgur.com/6oAVc6b.png
Also what you can do to adjust teh code and apply the inline css is to set it like this:
(<)img src="" alt="" width="20" height="20" style="border-radius:50"(>) Medically Reviewed by (<)a href=""(>)(<)b(>)(name)(<)/b(>)(<)/a(>), (title)
For more details – https://www.w3schools.com/html/html_css.asp
Also, the alignment can be done using custom css.
Thank you!

Post count: 168

Perfect, thanks, Calin!

As for the alignment, it works fine in tagdiv composer for horizontal alignment. It just doesn’t work for vertical alignment. Wouldn’t that be a problem with tagdiv? Is it necessary to add custom css?

Post count: 35449

Hi,
Normally, it should also be applied to the frontend, but that option is for additional text and custom text from filed, it will not adjust the elements and text inside the custom filed.
What I can suggest is this custom css – https://i.imgur.com/v1CN30D.png
.single .tdb-sacff-txt {
flex-direction: row;
justify-content: flex-start;
align-items: center;
display: flex;
}
.single .tdb-sacff-txt img{
margin-right: 6px
}

I hope this will help you!

Post count: 162

So glad this worked out! Really happy to see the results 🙂

Post count: 168

Calin – it worked! Like magic. 🙂 🙂 Thank you so much!

Heritage Lab – thanks for the help and for cheering me on!

Post count: 35449

Hi,
I’m very glad it went! if there’s anything else I can help with, I’m here!
Have a wonderful day!

Post count: 168

Thank you!!

Post count: 168

Hi Calin,

I noticed on mobile the custom fields are wrapping. Do you know how to fix this? Please see here: https://snipboard.io/XDy1Mp.jpg (The custom field is the “medically reviewed” byline). Thanks!

Post count: 27744

Hi,

You can use this option to align them -> https://i.imgur.com/SrFxYsb.png on the column.

Thank you!

Post count: 168

Hi Anamarie, that doesn’t work for a custom field. The custom field still wraps the text.

Post count: 27744

Hi,

You need to change for the columns where are the custom fields or the row.

Thank you!

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