How to change author URL in Feedzy Shortcode/Block?

๐Ÿ“ Note: This article presents a solution that can be applied only for shortcode/Feedzy block. It will not work for the Feed to Post feature.

You can leverage the feedzy_author_url filter in order to change the default format of the author URL. By default, the author's URL points to the remote source. Using this code snippet, you can change this behavior.

1

Copy this code snippet.

function tifd_feedzy_change_author( $author_url, $feedURL ) {
       	     $author_url = "new url";
             return $author_url;
}
add_filter( 'feedzy_author_url', 'tifd_feedzy_change_author', 10, 2 );
2

Paste the code into the currently active theme functions.php file or using Code Snippets.

๐Ÿ“Note: If you paste the code snippet into the plugin's source file, the changes will be lost when you update the plugin. The same thing may happen when you update the theme, this is why we recommend using a child theme.

3

Save the changes and check the website from a different role.


๐Ÿ’กResult

Default Behavior - author URL links to the remote source

Custom Behavior - author URL links to Internal page

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us