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 | |
if ( ! function_exists( 'aino_setup' ) ) : | |
function aino_setup() { | |
// Adding support for featured images. | |
add_theme_support( 'post-thumbnails' ); | |
set_post_thumbnail_size( 1800, 99999 ); | |
// Adds custom image sizes. | |
add_image_size( 'aino-thumb', 1800, 1012, true ); // Image Ratio 16:9. |
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
<!-- wp:group {"align":"full","style":{"color":{"background":"#2c2c99"}},"className":"fullheight","paddingTop":10,"paddingBottom":10} --> | |
<div class="wp-block-group alignfull fullheight has-background pt__10 pb__10" style="background-color:#2c2c99"><!-- wp:ainoblocks/grid-container --> | |
<div class="wp-block-ainoblocks-grid-container alignwide"><div class="wp-block-ainoblocks-grid-container__inner"><!-- wp:ainoblocks/grid-item {"gridColumnStartDesktop":5,"gridColumnEndDesktop":9,"gridColumnStartTablet":1,"gridColumnEndTablet":13,"gridColumnStartMobile":1,"gridColumnEndMobile":13,"justifyItem":"stretch","marginBottomTablet":0,"marginBottomMobile":0,"className":"two-col-grid-tablet"} --> | |
<div class="wp-block-ainoblocks-grid-item col_start_d__5 col_end_d__9 col_start_t__1 col_end_t__13 col_start_m__1 col_end_m__13 align-self__start justify-self__stretch no-stacking mb_t__0 mb_m__0 two-col-grid-tablet"><!-- wp:ainoblocks/card {"backgroundColor":"background-primary","borderRadius":"xs","paddingTop":8,"paddingBottom" |
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
// Separate WooCommerce User Registration form | |
*/ function aino_separate_wc_registration_form() { | |
function aino_restore_customizer() { if ( is_admin() ) return; | |
remove_action( 'admin_menu', 'gutenberg_remove_legacy_pages' ); if ( is_user_logged_in() ) return; | |
ob_start(); | |
// Form copied from /woocommerce/myaccount/form-login.php (version 4.1.0) Update as needed. | |
do_action( 'woocommerce_before_customer_login_form' ); ?> | |
<?php if ( 'yes' === get_option( 'woocommerce_enable_myaccount_registration' ) ) : ?> | |
<div class="u-columns col2-set" id="customer_login"> | |
<div class="u-column2 col-2"> |
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
@media screen and (min-width: 85em){ | |
.featured-slider .entry-thumbnail {padding-bottom: 581px;} | |
.featured-slider {max-height: 581px;} | |
} |