qsdklsqkdmqskdmlqskd azoepqikdomlqskdjmlqs qpfklqjsfmklqsjdmqlsjdsqd PK H5\o{UZ. Z. starter-content.phpnu W+A array( // Place one core-defined widgets in the first footer widget area. 'sidebar-1' => array( 'text_about', ), // Place one core-defined widgets in the second footer widget area. 'sidebar-2' => array( 'text_business_info', ), ), // Create the custom image attachments used as post thumbnails for pages. 'attachments' => array( 'image-opening' => array( 'post_title' => _x( 'The New UMoMA Opens its Doors', 'Theme starter content', 'twentytwenty' ), 'file' => 'assets/images/2020-landscape-1.png', // URL relative to the template directory. ), ), // Specify the core-defined pages to create and add custom thumbnails to some of them. 'posts' => array( 'front' => array( 'post_type' => 'page', 'post_title' => __( 'The New UMoMA Opens its Doors', 'twentytwenty' ), // Use the above featured image with the predefined about page. 'thumbnail' => '{{image-opening}}', 'post_content' => implode( '', array( '', '
 . '/assets/images/2020-three-quarters-1.png)
' . __( 'August 1 -- December 1', 'twentytwenty' ) . '
', '', '', '', ' . '/assets/images/2020-three-quarters-3.png)
' . __( 'October 1 -- December 1', 'twentytwenty' ) . '
', '', '', '', ' . '/assets/images/2020-three-quarters-2.png)
' . __( 'August 1 -- December 1', 'twentytwenty' ) . '
', '', '', '', ' . '/assets/images/2020-three-quarters-4.png)
' . __( 'October 1 -- December 1', 'twentytwenty' ) . '
', '', '', '', ' . '/assets/images/2020-landscape-2.png)
' . __( 'With seven floors of striking architecture, UMoMA shows exhibitions of international contemporary art, sometimes along with art historical retrospectives. Existential, political and philosophical issues are intrinsic to our programme. As visitor you are invited to guided tours artist talks, lectures, film screenings and other events with free admission', 'twentytwenty' ) . '
', '', '', '' . __( 'The exhibitions are produced by UMoMA in collaboration with artists and museums around the world and they often attract international attention. UMoMA has received a Special Commendation from the European Museum of the Year, and was among the top candidates for the Swedish Museum of the Year Award as well as for the Council of Europe Museum Prize.', 'twentytwenty' ) . '
', '', '', '', '', '', '' . __( 'Members get access to exclusive exhibits and sales. Our memberships cost $99.99 and are billed annually.', 'twentytwenty' ) . '
', '', '', '', ' . '/assets/images/2020-square-2.png)
 . '/assets/images/2020-square-1.png)
%s
', sprintf( /* translators: %s: WordPress version. */ __( 'Twenty Nineteen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'twentynineteen' ), $GLOBALS['wp_version'] ) ); } /** * Prevents the Customizer from being loaded on WordPress versions prior to 4.7. * * @since Twenty Nineteen 1.0.0 * * @global string $wp_version WordPress version. */ function twentynineteen_customize() { wp_die( sprintf( /* translators: %s: WordPress version. */ __( 'Twenty Nineteen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'twentynineteen' ), $GLOBALS['wp_version'] ), '', array( 'back_link' => true, ) ); } add_action( 'load-customize.php', 'twentynineteen_customize' ); /** * Prevents the Theme Preview from being loaded on WordPress versions prior to 4.7. * * @since Twenty Nineteen 1.0.0 * * @global string $wp_version WordPress version. */ function twentynineteen_preview() { if ( isset( $_GET['preview'] ) ) { wp_die( sprintf( /* translators: %s: WordPress version. */ __( 'Twenty Nineteen requires at least WordPress version 4.7. You are running version %s. Please upgrade and try again.', 'twentynineteen' ), $GLOBALS['wp_version'] ) ); } } add_action( 'template_redirect', 'twentynineteen_preview' ); PK H5\kO" " template-functions.phpnu W+A '; } } add_action( 'wp_head', 'twentynineteen_pingback_header' ); /** * Changes comment form default fields. * * @param array $defaults The default comment form arguments. */ function twentynineteen_comment_form_defaults( $defaults ) { $comment_field = $defaults['comment_field']; // Adjust height of comment form. $defaults['comment_field'] = preg_replace( '/rows="\d+"/', 'rows="5"', $comment_field ); return $defaults; } add_filter( 'comment_form_defaults', 'twentynineteen_comment_form_defaults' ); /** * Filters the default archive titles. */ function twentynineteen_get_the_archive_title() { if ( is_category() ) { $title = __( 'Category Archives: ', 'twentynineteen' ) . '' . single_term_title( '', false ) . ''; } elseif ( is_tag() ) { $title = __( 'Tag Archives: ', 'twentynineteen' ) . '' . single_term_title( '', false ) . ''; } elseif ( is_author() ) { $title = __( 'Author Archives: ', 'twentynineteen' ) . '' . get_the_author_meta( 'display_name' ) . ''; } elseif ( is_year() ) { $title = __( 'Yearly Archives: ', 'twentynineteen' ) . '' . get_the_date( _x( 'Y', 'yearly archives date format', 'twentynineteen' ) ) . ''; } elseif ( is_month() ) { $title = __( 'Monthly Archives: ', 'twentynineteen' ) . '' . get_the_date( _x( 'F Y', 'monthly archives date format', 'twentynineteen' ) ) . ''; } elseif ( is_day() ) { $title = __( 'Daily Archives: ', 'twentynineteen' ) . '' . get_the_date() . ''; } elseif ( is_post_type_archive() ) { $title = __( 'Post Type Archives: ', 'twentynineteen' ) . '' . post_type_archive_title( '', false ) . ''; } elseif ( is_tax() ) { $tax = get_taxonomy( get_queried_object()->taxonomy ); /* translators: %s: Taxonomy singular name. */ $title = sprintf( esc_html__( '%s Archives:', 'twentynineteen' ), $tax->labels->singular_name ); } else { $title = __( 'Archives:', 'twentynineteen' ); } return $title; } add_filter( 'get_the_archive_title', 'twentynineteen_get_the_archive_title' ); /** * Adds custom 'sizes' attribute to responsive image functionality for post thumbnails. * * @since Twenty Nineteen 1.0 * * @param string[] $attr Array of attribute values for the image markup, keyed by attribute name. * See wp_get_attachment_image(). * @return string[] The filtered attributes for the image markup. */ function twentynineteen_post_thumbnail_sizes_attr( $attr ) { if ( is_admin() ) { return $attr; } if ( ! is_singular() ) { $attr['sizes'] = '(max-width: 34.9rem) calc(100vw - 2rem), (max-width: 53rem) calc(8 * (100vw / 12)), (min-width: 53rem) calc(6 * (100vw / 12)), 100vw'; } return $attr; } add_filter( 'wp_get_attachment_image_attributes', 'twentynineteen_post_thumbnail_sizes_attr' ); /** * Adds an extra menu to our nav for our priority+ navigation to use. * * @param string $nav_menu Nav menu. * @param object $args Nav menu args. * @return string More link for hidden menu items. */ function twentynineteen_add_ellipses_to_nav( $nav_menu, $args ) { if ( 'menu-1' === $args->theme_location ) : $nav_menu .= ' '; endif; return $nav_menu; } add_filter( 'wp_nav_menu', 'twentynineteen_add_ellipses_to_nav', 10, 2 ); /** * Handles WCAG 2.0 attributes for dropdown menus. * * Adjustments to menu attributes to support WCAG 2.0 recommendations * for flyout and dropdown menus. * * @link https://www.w3.org/WAI/tutorials/menus/flyout/ * * @param array $atts { * The HTML attributes applied to the menu item's `` element, empty strings are ignored. * * @type string $title Title attribute. * @type string $target Target attribute. * @type string $rel The rel attribute. * @type string $href The href attribute. * @type string $aria-current The aria-current attribute. * } * @param WP_Post $item The current menu item object. * @param stdClass $args An object of `wp_nav_menu()` arguments. * @return string[] Modified attributes. */ function twentynineteen_nav_menu_link_attributes( $atts, $item, $args ) { // Check that this is the primary menu. if ( isset( $args->theme_location ) && 'menu-1' === $args->theme_location ) { // Add [aria-haspopup] and [aria-expanded] to menu items that have children. $item_has_children = in_array( 'menu-item-has-children', $item->classes, true ); if ( $item_has_children ) { $atts['aria-haspopup'] = 'true'; $atts['aria-expanded'] = 'false'; } } return $atts; } add_filter( 'nav_menu_link_attributes', 'twentynineteen_nav_menu_link_attributes', 10, 3 ); /** * Creates a nav menu item to be displayed on mobile to navigate from submenu back to the parent. * * This duplicates each parent nav menu item and makes it the first child of itself. * * @param array $sorted_menu_items Sorted nav menu items. * @param object $args Nav menu args. * @return array Amended nav menu items. */ function twentynineteen_add_mobile_parent_nav_menu_items( $sorted_menu_items, $args ) { static $pseudo_id = 0; if ( ! isset( $args->theme_location ) || 'menu-1' !== $args->theme_location ) { return $sorted_menu_items; } $amended_menu_items = array(); foreach ( $sorted_menu_items as $nav_menu_item ) { $amended_menu_items[] = $nav_menu_item; if ( in_array( 'menu-item-has-children', $nav_menu_item->classes, true ) ) { $parent_menu_item = clone $nav_menu_item; $parent_menu_item->original_id = $nav_menu_item->ID; $parent_menu_item->ID = --$pseudo_id; $parent_menu_item->db_id = $parent_menu_item->ID; $parent_menu_item->object_id = $parent_menu_item->ID; $parent_menu_item->classes = array( 'mobile-parent-nav-menu-item' ); $parent_menu_item->menu_item_parent = $nav_menu_item->ID; $amended_menu_items[] = $parent_menu_item; } } return $amended_menu_items; } add_filter( 'wp_nav_menu_objects', 'twentynineteen_add_mobile_parent_nav_menu_items', 10, 2 ); /** * Adds a fragment identifier (to the content) to paginated links. * * @since Twenty Nineteen 2.6 * * @param string $link The page number HTML output. * @param int $i Page number for paginated posts' page links. * @return string Formatted output in HTML. */ function twentynineteen_link_pages_link( $link, $i ) { if ( $i > 1 && preg_match( '/href="([^"]*)"/', $link, $matches ) ) { $link = str_replace( $matches[1], $matches[1] . '#content', $link ); } return $link; } add_filter( 'wp_link_pages_link', 'twentynineteen_link_pages_link', 10, 2 ); PK H5\0|1 |1 block-patterns.phpnu W+A esc_html__( 'Twenty Nineteen', 'twentynineteen' ) ) ); } /** * Register Block Patterns. */ if ( function_exists( 'register_block_pattern' ) ) { // About. register_block_pattern( 'twentynineteen/about', array( 'title' => esc_html__( 'About', 'twentynineteen' ), 'categories' => array( 'twentynineteen' ), 'content' => implode( '', array( '', '' . esc_html__( 'Advocating for Businesses and Entrepreneurs since 2014', 'twentynineteen' ) . '
', '', '', '' . esc_html__( 'Eva Young Consulting was founded in 2014 to meet the needs of small businesses in the San Francisco Bay Area. We help startups define a clear brand identity and digital strategy that will carry them through their financing rounds and scale as their business grows. Discover how we can boost your brand with a unique and powerful digital marketing strategy.', 'twentynineteen' ) . '
', '', '', '', '', ) ), ) ); // Get In Touch. register_block_pattern( 'twentynineteen/get-in-touch', array( 'title' => esc_html__( 'Get In Touch', 'twentynineteen' ), 'categories' => array( 'twentynineteen' ), 'content' => implode( '', array( '', '' . esc_html__( 'Get In Touch', 'twentynineteen' ) . '
', '', '', '' . esc_html__( '20 Cooper Avenue', 'twentynineteen' ) . '
' . esc_html__( 'New York, New York 10023', 'twentynineteen' ) . '
' . esc_html__( '(555) 555-5555', 'twentynineteen' ) . '
' . esc_html__( 'example@example.com', 'twentynineteen' ) . '
 ) . '/images/pattern_01.jpg)
' . esc_html__( 'Website Design', 'twentynineteen' ) . '
', ' ) . '/images/pattern_02.jpg)
' . esc_html__( 'Mobile', 'twentynineteen' ) . '
', ' ) . '/images/pattern_03.jpg)
' . esc_html__( 'Social Media', 'twentynineteen' ) . '
', ' ) . '/images/pattern_03.jpg)
' . esc_html__( 'Marketing', 'twentynineteen' ) . '
', ' ) . '/images/pattern_04.jpg)
' . esc_html__( 'Copywriting', 'twentynineteen' ) . '
', ' ) . '/images/pattern_01.jpg)
' . esc_html__( 'Content Strategy', 'twentynineteen' ) . '
', ' ) . '/images/pattern_01.jpg)
' . esc_html__( 'Eva Young grew up working alongside her parents at their restaurant in Queens, NY. She opened Eva Young Consulting in 2014 to help small businesses like her parents’ restaurant adapt to the digital age.', 'twentynineteen' ) . '
', ' ) . '/images/pattern_02.jpg)
' . esc_html__( 'Oddly enough, Doug Watson also grew up working alongside his parents at a family-owned restaurant in Queens, NY. He worked on digital campaigns for Fortune 500 Companies before joining Eva Green Consulting.', 'twentynineteen' ) . '
', '' . esc_html__( 'Redefine brands', 'twentynineteen' ) . '
' . esc_html__( 'We help startups define (or refine) a clear brand identity.', 'twentynineteen' ) . '
' . esc_html__( 'Activate new customers', 'twentynineteen' ) . '
' . esc_html__( 'We help businesses grow.', 'twentynineteen' ) . '
' . esc_html__( 'Spark interest on social media', 'twentynineteen' ) . '
' . esc_html__( 'We help companies communicate with their customers.', 'twentynineteen' ) . '