Remove Author Link Issue
-
I tried the code per your documentation at https://docs.themeisle.com/article/942-in-feedzy-how-do-i#remove-links to remove the author link, but it doesn’t work. However the other filters (thumbnail and title) do work.
The code used:
//Remove the author link function bweb_feedzy_remove_link_matches( $matches ) { ? return $matches[2]; } function bweb_feedzy_remove_link( $content, $feedURL ) { ? $pattern= '/<a.*href=\"(https?:\/\/.*)\".*>(.*)<\/a>/iU'; ? $content= preg_replace_callback( $pattern, 'bweb_feedzy_remove_link_matches', $content ); ? return $content; } add_filter( 'feedzy_meta_output', 'bweb_feedzy_remove_link', 9, 2 );
Has the filter changed?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Remove Author Link Issue’ is closed to new replies.