This file contains 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
/* font size & line height in px */ | |
$font-size-body-px: 14; | |
$line-height-px: 21; | |
/* calculate font-size (in %) and line-height (in em) */ | |
$font-size-body: pc($font-size-body-px, 16); | |
$line-height: em($line-height-px, $font-size-body-px); |
This file contains 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 // Do not include this if already open! | |
/** | |
* Code goes in theme functions.php. | |
*/ | |
add_action( 'after_setup_theme', 'wc_remove_frame_options_header', 11 ); | |
/** | |
* Allow rendering of checkout and account pages in iframes. | |
*/ |