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
| about | |
| access | |
| account | |
| accounts | |
| add | |
| address | |
| adm | |
| admin | |
| administrator | |
| administration |
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('show_admin_bar', '__return_false'); |
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
| function sertmedia_remove_booked_junk() { | |
| if ( is_page( 'blog' ) ) { | |
| wp_dequeue_script('booked-functions'); | |
| wp_dequeue_script('booked-spin-jquery'); | |
| wp_dequeue_script('booked-spin-js'); | |
| wp_dequeue_script('booked-tooltipster'); | |
| wp_dequeue_style('booked-animations'); | |
| wp_dequeue_style('booked-icons'); | |
| wp_dequeue_style('booked-responsive'); |
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
| function sertmedia_remove_booked_junk() { | |
| if ( ! is_page( 'appointment' ) ) { | |
| wp_dequeue_script('booked-functions'); | |
| wp_dequeue_script('booked-spin-jquery'); | |
| wp_dequeue_script('booked-spin-js'); | |
| wp_dequeue_script('booked-tooltipster'); | |
| wp_dequeue_style('booked-animations'); | |
| wp_dequeue_style('booked-icons'); | |
| wp_dequeue_style('booked-responsive'); |
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
| function sertmedia_title_toggle_all_post_types( $post_types ) { | |
| $post_types = get_post_types( | |
| array( | |
| 'public' => true, | |
| '_builtin' => false, | |
| ), | |
| 'names' | |
| ); | |
| $post_types[] = 'post'; | |
| $post_types[] = 'portfolio'; |
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
| function sertmedia_title_toggle_on_posts( $post_types ) { | |
| $post_types[] = 'post'; | |
| return $post_types; | |
| } | |
| add_filter( 'be_title_toggle_post_types', 'sertmedia_title_toggle_on_posts' ); |
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
| /*Genesis Change Read More Text*/ | |
| function sertmedia_read_more_link() { | |
| return '... <a class="more-link" href="' . get_permalink() . '">Continue Reading <i class="fa fa-arrow-right"></i></a>'; | |
| } | |
| add_filter( 'get_the_content_more_link', 'sertmedia_read_more_link' ); |