Override Author Name Function

Posted in: Newspaper
Post count: 2

Hello,

I want to override the author name function with my own function. We use a custom field for the name, which if exists should show up instead of the WordPress author/user. I tried to copy the function of get_author() from td_module.php into the child theme, but it doesn’t change anything. Can you recommend me how to do this customization.

Thanks.

Post count: 23312

Hello davemalhotra,

Unfortunately, you cannot do this change because the child theme does not overwrite the code which has been placed in any wp_booster, sorry! As you can see, the td_module.php is part of this general folder and it cannot be overwritten in your child theme. For more information about our child theme, please check our documentation here -> https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thanks for your understanding!

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