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
| <customer_logged_out> | |
| <reference name="top.links"> | |
| <action method="removeLinkByUrl"><url helper="customer/getLoginUrl"/></action> | |
| </reference> | |
| </customer_logged_out> |
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
| <customer_logged_in> | |
| <reference name="top.links"> | |
| <action method="removeLinkByUrl"><url helper="customer/getLogoutUrl"/></action> | |
| </reference> | |
| </customer_logged_in> |
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
| <catalog_product_view> | |
| <remove name="product_tag_list" /> | |
| </catalog_product_view> |
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
| <reference name="breadcrumbs"> | |
| <action method="addCrumb"> | |
| <crumbName>Home</crumbName> | |
| <crumbInfo> | |
| <label>Home</label> | |
| <title>Home</title> | |
| <link>/home</link> | |
| </crumbInfo> | |
| </action> | |
| <action method="addCrumb"> |
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
| remove_action( 'wp_head', 'print_emoji_detection_script', 7 ); | |
| remove_action( 'admin_print_scripts', 'print_emoji_detection_script' ); | |
| remove_action( 'wp_print_styles', 'print_emoji_styles' ); | |
| remove_action( 'admin_print_styles', 'print_emoji_styles' ); |
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 remove_wysiwyg() | |
| { | |
| remove_post_type_support('page', 'editor'); | |
| } | |
| add_action('init', 'remove_wysiwyg', 10); |
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 add_slug_body_class( $classes ) { | |
| global $post; | |
| if ( isset( $post ) && !is_home() ) { | |
| $classes[] = $post->post_type . '-' . $post->post_name; | |
| } | |
| return $classes; | |
| } | |
| add_filter( 'body_class', 'add_slug_body_class' ); |
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 modify_read_more_link() { | |
| return '<a class="post__link" href="' . get_permalink() . '">Read more ›</a>'; | |
| } | |
| add_filter( 'the_content_more_link', 'modify_read_more_link' ); |
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('widget_text', 'do_shortcode'); |
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 getBrowserVersion() | |
| { | |
| var findIndex; | |
| var browserVersion = 0; | |
| var browser = getBrowserName(); | |
| browserVersion = navigator.userAgent; | |
| findIndex = browserVersion.indexOf(browser) + browser.length + 1; | |
| browserVersion = parseFloat(browserVersion.substring(findIndex, findIndex + 3)); |