could you add a filter to edit the author link html?
-
hello!
the author link is built to point to the orign website url, and I imagine the reason is that not everyone has the same url structure for author pages (some doesn’t support them at all).
though I was wondering if you can quickly add a simple filter which would allow us to change it?
something like:
if ( $authorName ) { $domain = parse_url( $newLink ); $authorURL = 'https://' . $domain['host']; $authorURL = apply_filters( 'feedzy_author_url', $authorURL, $feedURL ); $contentMeta .= __( 'by', 'feedzy-rss-feeds' ) . ' <a href="' . $authorURL . '" target="' . $sc['target'] . '" title="' . $domain['host'] . '" >' . $authorName . '</a> '; }
thanks in advance!
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘could you add a filter to edit the author link html?’ is closed to new replies.