Created
February 9, 2016 08:55
-
-
Save farookibrahim/8734b9db5f70f055f399 to your computer and use it in GitHub Desktop.
Bethlehem Header Navigation Links Customize
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_filter( 'bethlehem_header_navbar_link_args', 'bethlehem_child_header_navbar_link_args' ); | |
| if( ! function_exists( 'bethlehem_child_header_navbar_link_args' ) ) { | |
| function bethlehem_child_header_navbar_link_args( $args ) { | |
| $args = array( | |
| array( | |
| 'title' => esc_html__( 'Calendar', 'bethlehem' ), | |
| 'link' => tribe_get_events_link(), | |
| 'icon' => 'fa fa-calendar', | |
| 'class' => 'events-link', | |
| ), | |
| array( | |
| 'title' => esc_html__( 'Media', 'bethlehem' ), | |
| 'link' => get_post_type_archive_link( 'sermons' ), | |
| 'icon' => 'fa fa-youtube-play', | |
| 'class' => 'sermons-link', | |
| ), | |
| array( | |
| 'title' => esc_html__( 'Give Online', 'bethlehem' ), | |
| 'link' => get_post_type_archive_link( 'give_forms' ), | |
| 'icon' => 'fa fa-heart-o', | |
| 'class' => 'donations-link', | |
| ), | |
| array( | |
| 'title' => esc_html__( 'Donate Now', 'bethlehem' ), | |
| 'link' => get_post_type_archive_link( 'give_forms' ), | |
| 'icon' => '', | |
| 'class' => 'btn donate-btn', | |
| ) | |
| ); | |
| return $args; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment