Where do I find the the_author()?

I need to implement the Co-Authors Plus template tags as seen here:

https://vip.wordpress.com/documentation/incorporate-co-authors-plus-template-tags-into-your-theme/#available-template-tags

But I’m not sure where to go to do this. I see where we can set the author to visible or false in customizer-panel-content.php but beyond that, I’m fairly lost. Anyone know how to do this?

Hi Micah,

You can disable the theme’s author output and then do something like the following. This isn’t tested and might not be comprehensive (I’m not familiar with that plugin), but it’s along the lines of what should work…

function my_author_links() {
    echo 'By ';
    coauthors_posts_links();
}

add_action( 'fl_post_top_meta_open', 'my_author_links' );

Let me know if you have any questions.

Justin

Thanks, Justin! I now have the template tags working, but am having trouble disabling stuff in the post_top_meta area. I copied over the static public function post_top_meta() to class-fl-child-theme.php but changes I make there (such as removing span markup and “|” separator) are not being reflected on the site. Is this not possible to adjust with the child theme?

You’re welcome! Unfortunately, moving that function to another class doesn’t override it. If you let me know what you’re trying to remove, I’ll try to help you figure it out.

Okay, so just so I’m clear, any changes I make to this function will be overwritten in future Beaver Builder Theme updates?

Hey Micah,

That is correct. Any changes made to parent theme files will be overwritten when you update the theme.

Ben