__( 'Main menu', 'akyl' ) ) ); /* Add support for Jetpack Infinite scroll */ add_theme_support( 'infinite-scroll', array( 'container' => 'blog-masonry', 'footer_widgets' => array( 'footer-1', 'footer-2', 'footer-3', ), /* If there is at least one widget then show older posts button */ ) ); /* Change Gutenberg color palette */ add_theme_support( 'editor-color-palette', array( array( 'name' => __( 'strong blue', 'akyl' ), 'slug' => 'strong-blue', 'color' => '#091b2c', ), array( 'name' => __( 'light blue', 'akyl' ), 'slug' => 'light-blue', 'color' => '#2c4769', ), array( 'name' => __( 'very light blue', 'akyl' ), 'slug' => 'very-light-blue', 'color' => '#59a3e9', ), array( 'name' => __( 'dark gray', 'akyl' ), 'slug' => 'dark-gray', 'color' => '#333', ), array( 'name' => __( 'very dark red', 'akyl' ), 'slug' => 'very-dark-red', 'color' => '#c7254e', ), array( 'name' => __( 'very light red', 'akyl' ), 'slug' => 'very-light-red', 'color' => '#f9f2f4', ), array( 'name' => __( 'light green', 'akyl' ), 'slug' => 'light-green', 'color' => '#13C4A5', ), ) ); } add_action( 'after_setup_theme', 'akyl_theme_setup' ); } /** * Modify default menu */ function akyl_modify_default_menu( $ulclass ) { return preg_replace( '/