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 wcc_remove_new_woo_gallery_support() { | |
| remove_theme_support( 'wc-product-gallery-zoom' ); | |
| remove_theme_support( 'wc-product-gallery-lightbox' ); | |
| remove_theme_support( 'wc-product-gallery-slider' ); | |
| } | |
| add_action( 'after_setup_theme', 'wcc_remove_new_woo_gallery_support', 11 ); |
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
| .page-template-template-homepage .type-page { | |
| display: none !important; | |
| } | |
| .page-template-template-homepage:not(.has-post-thumbnail) .site-main { | |
| padding-top: 0 !important; | |
| } |
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
| /* Removes Featured Image from Posts */ | |
| img.attachment-.size-.wp-post-image { | |
| display: none; | |
| } | |
| /* Removes Featured Image from Pages */ | |
| .page header.entry-header { | |
| display: none; | |
| } |
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
| // Enable WP_DEBUG mode | |
| define( 'WP_DEBUG', true ); | |
| // Enable Debug logging to the /wp-content/debug.log file | |
| define( 'WP_DEBUG_LOG', true ); | |
| // Disable display of errors and warnings | |
| define( 'WP_DEBUG_DISPLAY', 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
| <?php | |
| $my_id = PAGEID; | |
| $post_id_PAGEID = get_post($my_id); | |
| $content = $post_id_PAGEID->post_content; | |
| $content = apply_filters('the_content', $content); | |
| $content = str_replace(']]>', ']]>', $content); | |
| echo $content; | |
| ?> |