Remove “Articles by:” on Author template
-
Hello,
I’m looking for the best way to remove or replace the text preceding the $title on the author pages (“Articles by:”) that would carry across updates. I tried using the filter below as an example, but I can’t find the right way to target that text. Any tips would be appreciated.
The filter below replaces the $title which would be the authors name to Home but looking for a way to replace/remove the text before the $title.
add_filter('bcn_breadcrumb_title', 'my_breadcrumb_title_swapper', 3, 10); function my_breadcrumb_title_swapper($title, $type, $id) { if(in_array('author', $type)) { $title = __('Home'); } return $title; }- This topic was modified 5 years, 10 months ago by .
- This topic was modified 5 years, 10 months ago by .
- This topic was modified 5 years, 10 months ago by .
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Remove “Articles by:” on Author template’ is closed to new replies.