Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // put custom code here
- add_filter( 'breadcrumb_trail_labels', 'custom_breadcrumb_home_word' );
- function custom_breadcrumb_home_word($args) {
- $new_args = array(
- 'home' => __( 'Home:Translated ' , 'airpro' ) //this option replaces the word "Home" with a custom text
- // 'home' => '<span class="fa fa-home"></span>' // this option sets a font awesome icon; http://fortawesome.github.io/Font-Awesome/icon/home/
- );
- return array_merge($args, $new_args);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement