├── .gitignore ├── README.html └── wp-content ├── plugins └── core-functionality │ ├── LICENSE │ ├── core-functionality.php │ ├── inc │ ├── admin │ │ ├── admin-bar-notice.php │ │ ├── admin-bar.php │ │ ├── admin-menu.php │ │ ├── index.php │ │ └── user-roles.php │ ├── blocks-off │ │ ├── categories.php │ │ ├── content-grid │ │ │ ├── block.php │ │ │ ├── index.php │ │ │ ├── partial.php │ │ │ ├── template-part.php │ │ │ └── view.php │ │ ├── custom-block │ │ │ ├── block.php │ │ │ ├── index.php │ │ │ ├── partial.php │ │ │ └── view.php │ │ ├── icon │ │ │ ├── block.php │ │ │ ├── index.php │ │ │ ├── partial.php │ │ │ └── view.php │ │ ├── index.php │ │ ├── taxonomy-grid │ │ │ ├── block.php │ │ │ ├── index.php │ │ │ ├── partial.php │ │ │ └── view.php │ │ ├── toggle │ │ │ ├── block.php │ │ │ ├── index.php │ │ │ ├── partial.php │ │ │ └── view.php │ │ └── video │ │ │ ├── block.php │ │ │ ├── index.php │ │ │ ├── partial.php │ │ │ └── view.php │ ├── blocks │ │ ├── icon │ │ │ ├── block.json │ │ │ ├── render.php │ │ │ ├── style-icon.min.css │ │ │ ├── style-icon.sass │ │ │ └── template.php │ │ ├── register-blocks.php │ │ ├── toggle │ │ │ ├── block.json │ │ │ ├── render.php │ │ │ ├── script-toggle.js │ │ │ ├── script-toggle.min.js │ │ │ ├── style-toggle.min.css │ │ │ ├── style-toggle.sass │ │ │ └── template.php │ │ └── video │ │ │ ├── block.json │ │ │ ├── functions.php │ │ │ ├── render.php │ │ │ ├── script-video.js │ │ │ ├── script-video.min.js │ │ │ ├── style-video.min.css │ │ │ ├── style-video.sass │ │ │ └── template.php │ ├── functions │ │ ├── acf.php │ │ ├── custom-functions.php │ │ ├── custom-meta.php │ │ ├── dont-update.php │ │ ├── editor-placeholder.php │ │ ├── index.php │ │ ├── seo.php │ │ └── user-profile.php │ ├── index.php │ ├── pluggable │ │ ├── banner │ │ │ ├── acf-export-banner.json │ │ │ ├── banner-options.php │ │ │ ├── banner.php │ │ │ └── index.php │ │ ├── email-testing │ │ │ ├── email-testing.php │ │ │ └── index.php │ │ ├── events │ │ │ ├── acf-export-events-locations.json │ │ │ ├── functions.php │ │ │ ├── index.php │ │ │ ├── locations.php │ │ │ ├── meta-settings.php │ │ │ ├── plugin.php │ │ │ └── post-type.php │ │ ├── index.php │ │ ├── related-posts │ │ │ ├── index.php │ │ │ ├── related-posts.php │ │ │ └── view.php │ │ ├── social-share │ │ │ ├── acf-export-social-share.json │ │ │ ├── index.php │ │ │ ├── social-share-options.php │ │ │ └── social-share.php │ │ └── user-profile-image │ │ │ ├── acf-export-user-image.json │ │ │ ├── index.php │ │ │ ├── user-profile-image-settings.php │ │ │ └── user-profile-image.php │ ├── post-types │ │ ├── blocks.php │ │ ├── content-areas.php │ │ ├── index.php │ │ └── post-type.php │ └── taxonomies │ │ └── tax-name.php │ └── index.php └── themes └── blank-child-theme ├── 404.php ├── LICENSE ├── acf-json ├── group_5fb334f63fb97.json ├── group_5fcf4b514a207.json ├── group_606a2264c4ff4.json ├── group_606a819fbf50e.json ├── group_62898b62afc97.json ├── group_62b9278bce33c.json └── group_62c525abed3e5.json ├── assets ├── css │ ├── banner.min.css │ ├── block-toggle.min.css │ ├── colors.min.css │ ├── comments.min.css │ ├── comments.min.css.map │ ├── content-grid.min.css │ ├── content-grid.min.css.map │ ├── editor-layout.min.css │ ├── editor.min.css │ ├── editor.min.css.map │ ├── entry-content.min.css │ ├── entry-footer.min.css │ ├── footer.min.css │ ├── gallery.min.css │ ├── global.min.css │ ├── global.min.css.map │ ├── icon.min.css │ ├── icon.min.css.map │ ├── login.min.css │ ├── login.min.css.map │ ├── print.min.css │ ├── print.min.css.map │ ├── quotes.min.css │ ├── search.min.css │ ├── table.min.css │ ├── term-grid.min.css │ └── video-optimized.min.css ├── fonts │ ├── source-sans-pro-v14-latin-600.woff │ ├── source-sans-pro-v14-latin-600.woff2 │ ├── source-sans-pro-v14-latin-regular.woff │ └── source-sans-pro-v14-latin-regular.woff2 ├── icons │ ├── decorative │ │ ├── check.svg │ │ └── star.svg │ ├── social │ │ ├── email.svg │ │ ├── facebook.svg │ │ ├── instagram.svg │ │ ├── linkedin.svg │ │ ├── pinterest.svg │ │ ├── print.svg │ │ ├── twitter.svg │ │ ├── vimeo.svg │ │ ├── yelp.svg │ │ └── youtube.svg │ └── theme │ │ ├── arrow-left.svg │ │ ├── arrow-right.svg │ │ ├── bars.svg │ │ ├── chevron-down.svg │ │ └── close.svg ├── images │ ├── favicon.ico │ ├── favicon.png │ ├── login-logo.svg │ └── placeholder.svg ├── js │ ├── banner.min.js │ ├── block-toggle.min.js │ ├── block-video-optimized.min.js │ ├── editor.min.js │ ├── global.min.js │ ├── menu-button.min.js │ └── social-share.min.js ├── src-js │ ├── _blocks │ │ ├── block-embeds.js │ │ ├── block-styles.js │ │ ├── block-toggle.js │ │ ├── block-variations.js │ │ └── block-video-optimized.js │ ├── _partials │ │ ├── mobile-menu-toggle.js │ │ ├── responsive-menu.js │ │ ├── social-share-link.js │ │ └── top-banner.js │ ├── banner.js │ ├── editor.js │ ├── global.js │ └── social-share.js └── src-sass │ ├── 01-settings │ └── fonts.sass │ ├── 02-tools │ ├── mixins.sass │ └── variables.sass │ ├── 03-generic │ ├── clearings-sizing.sass │ ├── layout.sass │ └── vertical-spacing.sass │ ├── 04-elements │ ├── base.sass │ ├── buttons.sass │ ├── forms.sass │ ├── icons.sass │ ├── links.sass │ ├── lists.sass │ ├── media.sass │ ├── misc.sass │ └── text.sass │ ├── 05-blocks │ ├── alignment.sass │ ├── block-styles.sass │ ├── buttons.sass │ ├── columns.sass │ ├── cover.sass │ ├── gallery.sass │ ├── groups.sass │ ├── media-text.sass │ ├── quotes.sass │ ├── search.sass │ ├── seperator.sass │ ├── social-icons.sass │ ├── table.sass │ └── text.sass │ ├── 06-blocks-custom │ ├── block-toggle.sass │ ├── content-grid.sass │ ├── icon.sass │ ├── term-grid.sass │ └── video-optimized.sass │ ├── 07-blocks-editor │ ├── alignment.sass │ └── video-optimized.sass │ ├── 08-components │ ├── archives.sass │ ├── author.sass │ ├── banner.sass │ ├── breadcrumbs.sass │ ├── comments.sass │ ├── entry.sass │ ├── footer.sass │ ├── header.sass │ ├── login.sass │ ├── navigation.sass │ ├── pagination.sass │ ├── post-elements.sass │ ├── related-posts.sass │ └── social-share.sass │ ├── 09-utilities │ ├── accessibility.sass │ ├── avatar.sass │ ├── editor-not-scoped.sass │ ├── editor.sass │ └── print.sass │ ├── banner.sass │ ├── comments.sass │ ├── editor-layout.sass │ ├── editor.sass │ ├── entry-content.sass │ ├── entry-footer.sass │ ├── footer.sass │ ├── global.sass │ ├── login.sass │ └── print.sass ├── config ├── child-theme-settings.php ├── layouts.php ├── post-type-supports.php └── theme-supports.php ├── front-page.php ├── functions.php ├── inc ├── admin │ ├── block-patterns.php │ ├── customizer.php │ ├── dashboard.php │ ├── editor.php │ ├── menu.php │ ├── user-profile.php │ └── widgets.php ├── block-patterns │ └── sample-block-pattern.php ├── blocks │ ├── cover-block.php │ └── paragraphs.php ├── functions │ ├── author-profile.php │ ├── autoptimize.php │ ├── header.php │ ├── helpers.php │ ├── inline-svg.php │ ├── js-body-class.php │ ├── markup.php │ ├── media.php │ ├── pagination.php │ ├── post-thumbnail-cache.php │ ├── resource-loading.php │ └── rss.php ├── partials │ ├── no-posts.php │ └── read-more.php ├── structure │ ├── archive.php │ ├── breadcrumbs.php │ ├── comments.php │ ├── footer.php │ ├── header.php │ ├── login.php │ ├── loop.php │ ├── menu.php │ ├── post.php │ ├── search.php │ ├── sidebar.php │ └── skip-links.php ├── theme-assets.php ├── theme-setup.php └── views │ └── author-profile.php ├── languages └── blank-child-theme.pot ├── patterns └── sample-block-pattern.php ├── screenshot.png ├── search.php ├── searchform.php ├── style.css ├── templates ├── full-width-content.php ├── landing-page.php └── narrow-content.php └── theme.json /.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything # 2 | ** 3 | !wp-content/ 4 | wp-content/** 5 | !wp-content/themes/ 6 | !wp-content/plugins/ 7 | wp-content/themes/** 8 | wp-content/plugins/** 9 | 10 | # Add two rules for each Theme or Plugin you want to include: 11 | # 1. !folder-name/ <-- includes the Plugin and top level files 12 | # 2. !folder-name/** <-- includes the Plugin and sub level files recursively, except for the "Ignore some other system generated files" rules below 13 | ############################### 14 | 15 | # Start editing! 16 | 17 | # Theme 18 | !wp-content/themes/blank-child-theme/ 19 | !wp-content/themes/blank-child-theme/** 20 | 21 | # Functionality Plugin 22 | !wp-content/plugins/core-functionality/ 23 | !wp-content/plugins/core-functionality/** 24 | 25 | 26 | # Stop editing! 27 | 28 | ############################################ 29 | # Ignore some other system generated files # 30 | ############################################ 31 | *.com 32 | *.class 33 | *.dll 34 | *.exe 35 | *.o 36 | *.so 37 | *.7z 38 | *.zip 39 | *.dmg 40 | *.gz 41 | *.iso 42 | *.jar 43 | *.rar 44 | *.tar 45 | *.log 46 | *.sql 47 | *.sqlite 48 | .DS_Store 49 | ._* 50 | .Spotlight-V100 51 | .Trashes 52 | ehthumbs.db 53 | Thumbs.db 54 | .codekit-cache 55 | .sass-cache 56 | # Sublime 57 | *.sublime-project 58 | *.sublime-workspace 59 | # PhpStorm 60 | .idea/ 61 | config.codekit 62 | config.codekit3 63 | *.yml 64 | 65 | # Always include the build script # 66 | ################################### 67 | !build.sh 68 | !README.md 69 | !CHANGELOG.md -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/admin/admin-bar.php: -------------------------------------------------------------------------------- 1 | get_node('my-account'); 33 | $newtitle = str_replace( 'Howdy,', '', $my_account->title ); 34 | $wp_admin_bar->add_node( array( 35 | 'id' => 'my-account', 36 | 'title' => $newtitle, 37 | ) ); 38 | 39 | } 40 | 41 | 42 | 43 | /** 44 | * Hide admin bar for none editor users 45 | * 46 | * From the No Nonsense plugin by Room 34 Creative Services, LLC 47 | * @link https://room34.com 48 | */ 49 | 50 | add_action( 'after_setup_theme', 'cf_hide_admin_bar_for_logged_in_non_editors', 10 ); 51 | function cf_hide_admin_bar_for_logged_in_non_editors() { 52 | 53 | if ( !wp_doing_ajax() && is_user_logged_in() && !current_user_can('edit_posts')) { 54 | add_filter('show_admin_bar', '__return_false'); 55 | } 56 | 57 | } 58 | 59 | 60 | /** 61 | * Limit admin elements for logged-in non-editors 62 | * 63 | * From the No Nonsense plugin by Room 34 Creative Services, LLC 64 | * @link https://room34.com 65 | */ 66 | 67 | add_action( 'admin_menu' , 'cf_limit_admin_elements_for_logged_in_non_editors', 11); 68 | function cf_limit_admin_elements_for_logged_in_non_editors() { 69 | 70 | if (!wp_doing_ajax() && is_admin() && is_user_logged_in() && !current_user_can('edit_posts')) { 71 | remove_menu_page('index.php'); 72 | add_filter('admin_footer_text', '__return_false'); 73 | add_filter('update_footer', '__return_false', 99); 74 | } 75 | 76 | } -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/admin/admin-menu.php: -------------------------------------------------------------------------------- 1 | post_type !== 'post' ) { 17 | // return $categories; 18 | // } 19 | return array_merge( 20 | $categories, 21 | array( 22 | array( 23 | 'slug' => 'content', 24 | 'title' => __( 'Content', 'core-functionality' ), 25 | ), 26 | ) 27 | ); 28 | } 29 | -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks-off/content-grid/index.php: -------------------------------------------------------------------------------- 1 | 35, 28 | 'more' => '...', 29 | 'post' => get_the_ID(), 30 | ) 31 | ); 32 | } 33 | 34 | $featured_image = get_the_post_thumbnail( 35 | get_the_ID(), 36 | 'genesis-singular-images', 37 | array( 'class' => 'entry-image' ) 38 | ); 39 | 40 | $meta = sprintf( 41 | '', 42 | $date_time, 43 | $date 44 | ); 45 | 46 | ?> 47 | 48 |
aria-label=""> 49 |
50 | 51 |

52 | 53 | 54 | 55 |

56 | 59 |
60 |
61 |

62 | 63 |

64 |
65 |
-------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks-off/content-grid/view.php: -------------------------------------------------------------------------------- 1 | have_posts() ) : 22 | 23 | // Opening Strcutre 24 | echo sprintf( 25 | '
', 26 | $block_id, 27 | $block_classes 28 | ); 29 | 30 | // Loop 31 | while ( $posts->have_posts() ) : $posts->the_post(); 32 | 33 | // Exclude Posts 34 | if ( in_array( get_the_ID(), $posts_to_exclude ) ) { 35 | continue; 36 | } 37 | 38 | // Post Strucutre 39 | include CORE_DIR . '/inc/blocks/content-grid/template-part.php'; 40 | 41 | endwhile; 42 | endif; 43 | 44 | // Reset 45 | wp_reset_postdata(); 46 | 47 | // Closing Content 48 | echo sprintf( 49 | '
', 50 | ); 51 | 52 | ?> 53 | -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks-off/custom-block/block.php: -------------------------------------------------------------------------------- 1 | 'custom-block', 25 | 'title' => esc_html__('Custom Block', 'core-functionality'), 26 | 'description' => esc_html__('A block for outputting a custom block.', 'core-functionality'), 27 | 'category' => 'common', // common, formatting, layout, widgets, embed 28 | 'icon' => 'admin-appearance', // Dahsicons 29 | 'keywords' => array( '' ), 30 | 'post_types' => array( 'content_area', 'page', 'post' ), 31 | 'multiple' => true, 32 | 'render_template' => CORE_DIR . 'inc/blocks/custom-block/partial.php', 33 | 'example' => array( 34 | 'attributes' => array( 35 | 'mode' => 'preview', 36 | 'data' => array( 37 | 'text' => "Custom block sample text...", 38 | 'is_preview' => true, 39 | ) 40 | ) 41 | ), 42 | 'supports' => [ 43 | // Each can also be set to true or false 44 | 'mode' => false, 45 | 'align' => array( 'wide', 'full', 'left', 'right', 'center' ), 46 | 'align_text' => array( 'left', 'right', 'center' ), 47 | 'align_content' => array( 'top', 'center', 'bottom' ), // matrix 48 | ] 49 | )); 50 | 51 | } 52 | 53 | // Check if function exists and hook into setup. 54 | if( function_exists( 'acf_register_block_type' ) ) { 55 | add_action( 'acf/init', 'register_acf_custom_block' ); 56 | } -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks-off/custom-block/index.php: -------------------------------------------------------------------------------- 1 | 3, 55 | 'placeholder' => 'Heading Goes Here', // Use content or placeholder 56 | ) ), 57 | array( 'core/paragraph', 58 | array( 59 | 'placeholder' => 'Content goes here.' 60 | ) ) 61 | ); 62 | 63 | 64 | // Output content 65 | include CORE_DIR . '/inc/blocks/custom-block/view.php'; 66 | -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks-off/custom-block/view.php: -------------------------------------------------------------------------------- 1 |
class=""> 2 |
3 | 4 |
5 |
-------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks-off/icon/block.php: -------------------------------------------------------------------------------- 1 | 'icon-block', 25 | 'title' => esc_html__('Icon', 'core-functionality'), 26 | 'description' => esc_html__('A block for adding an icon and can be used with additional blocks.', 'core-functionality'), 27 | 'category' => 'common', // common, formatting, layout, widgets, embed 28 | 'icon' => 'carrot', // Dahsicons 29 | 'keywords' => array( 'icon' ), 30 | 'post_types' => array( 'content_area', 'page', 'post' ), 31 | 'multiple' => true, 32 | 'mode' => 'preview', 33 | 'render_template' => CORE_DIR . 'inc/blocks/icon/partial.php', 34 | 'enqueue_style' => get_stylesheet_directory_uri() . "/assets/css/icon.min.css", 35 | 'supports' => [ 36 | 'mode' => false, 37 | // Each can also be set to true or false 38 | 'align' => false, 39 | // 'align' => array( 'none', 'left', 'center' ), 40 | 'align_content' => false, // matrix 41 | 'customClassName' => true, 42 | 'jsx' => true, 43 | 'color' => [ 44 | 'background' => false, 45 | 'gradients' => false, 46 | 'text' => true, 47 | ], 48 | ] 49 | )); 50 | 51 | } 52 | 53 | // Check if function exists and hook into setup. 54 | if( function_exists( 'acf_register_block_type' ) ) { 55 | add_action( 'acf/init', 'register_acf_icon_block' ); 56 | } -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks-off/icon/index.php: -------------------------------------------------------------------------------- 1 | 'decorative', 43 | 'filename' => $icon_name, 44 | 'width' => '28', 45 | 'height' => '28', 46 | 'title' => '', 47 | ) ); 48 | 49 | } else { 50 | $icon_svg = ''; 51 | } 52 | 53 | // Output content 54 | include CORE_DIR . '/inc/blocks/icon/view.php'; 55 | -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks-off/icon/view.php: -------------------------------------------------------------------------------- 1 |
class=""> 2 | 3 | 4 | 5 |
-------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks-off/index.php: -------------------------------------------------------------------------------- 1 | 'taxonomy-grid-block', 25 | 'title' => esc_html__('Taxonomy Grid', 'core-functionality'), 26 | 'description' => esc_html__('A block for outputting a list of taxonomy terms.', 'core-functionality'), 27 | 'category' => 'content', // common, formatting, layout, widgets, embed 28 | 'icon' => 'archive', // Dahsicons 29 | 'keywords' => array( 'cateogry, taxonomy' ), 30 | 'post_types' => array( 'content_area', 'page', 'post' ), 31 | 'multiple' => true, 32 | 'render_template' => CORE_DIR . 'inc/blocks/taxonomy-grid/partial.php', 33 | 'enqueue_style' => get_stylesheet_directory_uri() . "/assets/css/term-grid.min.css", 34 | 'example' => array( 35 | 'attributes' => array( 36 | 'mode' => 'preview', 37 | ) 38 | ), 39 | 'supports' => [ 40 | // Each can also be set to true or false 41 | 'mode' => false, 42 | 'align' => array( 'wide' ), 43 | 'align_text' => array( 'left', 'right', 'center' ), 44 | 'align_content' => array( 'top', 'center', 'bottom' ), // matrix 45 | ] 46 | )); 47 | 48 | } 49 | 50 | // Check if function exists and hook into setup. 51 | if( function_exists( 'acf_register_block_type' ) ) { 52 | add_action( 'acf/init', 'register_acf_taxonomt_grid_block' ); 53 | } -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks-off/taxonomy-grid/index.php: -------------------------------------------------------------------------------- 1 | class=""> 2 |
3 | term_id) ); 7 | $name = esc_html( $term->name ); 8 | $class = esc_attr( $term->taxonomy ); 9 | 10 | ?> 11 | 12 | 13 | 14 | 15 |
16 | -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks-off/toggle/block.php: -------------------------------------------------------------------------------- 1 | 'toggle-block', 26 | 'title' => esc_html__('Toggle', 'core-functionality'), 27 | 'description' => esc_html__('A block for creating an toggle element that you can add other blocks into.', 'core-functionality'), 28 | 'category' => 'common', // common, formatting, layout, widgets, embed 29 | 'icon' => 'arrow-right-alt2', // Dahsicons 30 | 'keywords' => array( 'toggle, accordion faq' ), 31 | 'post_types' => array( 'content_area', 'page', 'post' ), 32 | 'multiple' => true, 33 | 'render_template' => CORE_DIR . 'inc/blocks/toggle/partial.php', 34 | 'enqueue_style' => get_stylesheet_directory_uri() . "/assets/css/block-toggle.min.css", 35 | 'enqueue_script' => get_stylesheet_directory_uri() . "/assets/js/block-toggle.min.js", 36 | 'supports' => [ 37 | 'mode' => false, 38 | // Each can also be set to true or false 39 | 'align' => array( 'wide', 'full' ), 40 | 'customClassName' => true, 41 | 'jsx' => true, 42 | ] 43 | )); 44 | 45 | } 46 | 47 | // Check if function exists and hook into setup. 48 | if( function_exists( 'acf_register_block_type' ) ) { 49 | add_action( 'acf/init', 'register_acf_toggle_block' ); 50 | } -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks-off/toggle/index.php: -------------------------------------------------------------------------------- 1 | " class=""> 2 | < class="toggle-block__header"> 3 | 7 | > 8 |
9 | 10 |
11 | -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks-off/video/index.php: -------------------------------------------------------------------------------- 1 | " class=""> 2 |
3 |

4 | 9 |

10 | 11 | 17 |
18 | -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks/icon/block.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cf/icon", 3 | "title": "Icon", 4 | "description": "A block for adding an icon and can be used with additional blocks", 5 | "style": "block-icon", 6 | "script": "", 7 | "category": "common", 8 | "icon": "carrot", 9 | "apiVersion": 2, 10 | "keywords": [ "icon" ], 11 | "postTypes": ["post", "page","content_area"], 12 | "acf": { 13 | "mode": "preview", 14 | "renderTemplate": "render.php" 15 | }, 16 | "supports": { 17 | "mode": false, 18 | "align": false, 19 | "anchor": false, 20 | "alignContent": true, 21 | "color": { 22 | "text": true, 23 | "background": false, 24 | "link": false 25 | }, 26 | "alignText": false, 27 | "fullHeight": false 28 | }, 29 | "attributes": { 30 | } 31 | } -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks/icon/render.php: -------------------------------------------------------------------------------- 1 | esc_attr( get_field( 'icon_select' ) ), 27 | 'icon_size' => esc_attr( get_field( 'icon_size' ) ) 28 | ); 29 | 30 | 31 | // Class names for text colors 32 | if ( ! empty( $block['textColor'] ) ) { 33 | $classes[] = 'has-' . $block['textColor'] . '-color'; 34 | $classes[] = 'has-text-color'; 35 | } 36 | 37 | // Icon Algin class 38 | if( ! empty( $block['alignContent'] ) ) { 39 | $classes[] = 'is-vertically-aligned-' . $block['alignContent']; 40 | } 41 | 42 | // Check to see if a custom class has been added 43 | if ( ! empty( $block['className'] ) ) { 44 | $classes = array_merge( $classes, explode( ' ', $block['className'] ) ); 45 | } 46 | 47 | // Icon Size Icon 48 | if( ! empty( $data['icon_size'] ) ) { 49 | $classes[] = 'icon-size-' . $data['icon_size']; 50 | } 51 | 52 | // Join the classes together into one variable 53 | $block_classes = esc_attr( join( ' ', $classes ) ); 54 | 55 | // Dynamic block ID 56 | $block_id = 'icon-' . $block['id']; 57 | 58 | 59 | // Icons 60 | if ( function_exists( 'pb_load_inline_svg' ) ) { 61 | 62 | $icon_svg = pb_load_inline_svg( array( 63 | 'directory' => 'decorative', 64 | 'filename' => $data['icon_name'], 65 | 'width' => '28', 66 | 'height' => '28', 67 | 'title' => '', 68 | ) ); 69 | 70 | } else { 71 | $icon_svg = ''; 72 | } 73 | 74 | 75 | 76 | // Output template part 77 | include CORE_DIR . 'inc/blocks/icon/template.php'; -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks/icon/style-icon.min.css: -------------------------------------------------------------------------------- 1 | .icon-size-default .icon{--icon--size: var(--wp--custom--icon--normal);width:var(--icon--size);height:var(--icon--size)}.icon-size-small .icon{--icon--size: var(--wp--custom--icon--small);width:var(--icon--size);height:var(--icon--size)}.icon-size-large .icon{--icon--size: var(--wp--custom--icon--large);width:var(--icon--size);height:var(--icon--size)}.icon-block{display:flex;flex-wrap:nowrap;gap:var(--wp--custom--spacing--small);margin-bottom:var(--wp--custom--spacing--small)}.icon-block .icon{fill:currentColor}.icon-block.icon-align-top,.icon-block.icon-align-center{flex-direction:column}.icon-block.icon-align-left{flex-direction:row}.icon-block.icon-align-top .icon{align-self:start}.icon-block.icon-align-center .icon{align-self:center}.icon-block.is-vertically-aligned-center{align-items:center}.icon-block.is-vertically-aligned-top{align-items:flex-start}.icon-block.is-vertically-aligned-bottom{align-items:flex-end}.icon-block>.block__inner{display:block;width:100%;flex-grow:1;flex-basis:min-content}.icon-block>.block__inner>*:last-child:first-child{margin-bottom:0} 2 | -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks/icon/style-icon.sass: -------------------------------------------------------------------------------- 1 | // Variables & Resets 2 | //********************************************** 3 | 4 | // Icon Size 5 | .icon-size-default .icon 6 | --icon--size: var(--wp--custom--icon--normal) 7 | width: var(--icon--size) 8 | height: var(--icon--size) 9 | 10 | .icon-size-small .icon 11 | --icon--size: var(--wp--custom--icon--small) 12 | width: var(--icon--size) 13 | height: var(--icon--size) 14 | 15 | .icon-size-large .icon 16 | --icon--size: var(--wp--custom--icon--large) 17 | width: var(--icon--size) 18 | height: var(--icon--size) 19 | 20 | 21 | // Icon Block 22 | .icon-block 23 | display: flex 24 | flex-wrap: nowrap 25 | gap: var(--wp--custom--spacing--small) 26 | margin-bottom: var(--wp--custom--spacing--small) 27 | 28 | .icon 29 | fill: currentColor 30 | 31 | &.icon-align-top, 32 | &.icon-align-center 33 | flex-direction: column 34 | 35 | &.icon-align-left 36 | flex-direction: row 37 | 38 | &.icon-align-top .icon 39 | align-self: start 40 | 41 | &.icon-align-center .icon 42 | align-self: center 43 | 44 | &.is-vertically-aligned-center 45 | align-items: center 46 | 47 | &.is-vertically-aligned-top 48 | align-items: flex-start 49 | 50 | &.is-vertically-aligned-bottom 51 | align-items: flex-end 52 | 53 | 54 | & > .block__inner 55 | display: block 56 | width: 100% 57 | flex-grow: 1 58 | flex-basis: min-content 59 | 60 | > *:last-child:first-child 61 | margin-bottom: 0 -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks/icon/template.php: -------------------------------------------------------------------------------- 1 | 16 | 17 |
18 | 19 | 20 | 21 |
22 | 23 | 24 | -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks/register-blocks.php: -------------------------------------------------------------------------------- 1 | esc_html( get_field( 'heading' ) ), 26 | 'toggle_heading_size' => esc_attr( get_field( 'heading_level' ) ) 27 | ); 28 | 29 | // Alignment class 30 | if( ! empty( $block['align'] ) ) { 31 | $classes[] = 'align-' . $block['align']; 32 | } 33 | 34 | // Check to see if a custom class has been added 35 | if ( ! empty( $block['className'] ) ) { 36 | $classes = array_merge( $classes, explode( ' ', $block['className'] ) ); 37 | } 38 | 39 | // Join the classes together into one variable 40 | $block_classes = esc_attr( join( ' ', $classes ) ); 41 | 42 | // Dynamic block ID 43 | $block_id = 'icon-' . $block['id']; 44 | $id_only = str_replace( 'block_', '', $block['id'] ); 45 | 46 | $toggle_id = 'toggle__button-' . $id_only; 47 | $content_id = 'toggle__content-' . $id_only; 48 | 49 | 50 | // Icons 51 | if ( function_exists( 'pb_load_inline_svg' ) ) { 52 | 53 | $icon_svg = pb_load_inline_svg( array( 54 | 'filename' => 'chevron-down', 55 | 'width' => '24', 56 | 'height' => '24', 57 | 'title' => '', 58 | ) ); 59 | 60 | } else { 61 | 62 | $icon_svg = ''; 63 | 64 | } 65 | 66 | 67 | // Output template part 68 | include CORE_DIR . 'inc/blocks/toggle/template.php'; -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks/toggle/script-toggle.js: -------------------------------------------------------------------------------- 1 | // Toggle 2 | // https://www.a11ywithlindsey.com/blog/javascript-accessibility-accordions 3 | 4 | const accordionButtons = document.querySelectorAll('.toggle__button'); 5 | const accordionSections = document.querySelectorAll('.toggle__content'); 6 | 7 | accordionSections.forEach(section => { 8 | section.setAttribute('aria-hidden', true) 9 | section.classList.remove('open') 10 | }) 11 | 12 | accordionButtons.forEach(button => { 13 | button.setAttribute('aria-expanded', false); 14 | 15 | const expanded = button.getAttribute('aria-expanded'); 16 | const number = button.getAttribute('id').split('-').pop(); 17 | const associatedSection = document.getElementById(`toggle__content-${number}`) 18 | 19 | button.addEventListener('click', () => { 20 | 21 | button.classList.toggle('expanded'); 22 | associatedSection.classList.toggle('open'); 23 | if (button.classList.contains('expanded')) { 24 | button.setAttribute('aria-expanded', true); 25 | associatedSection.setAttribute('aria-hidden', false); 26 | } else { 27 | button.setAttribute('aria-expanded', false); 28 | associatedSection.setAttribute('aria-hidden', true); 29 | } 30 | }) 31 | }) 32 | 33 | -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks/toggle/script-toggle.min.js: -------------------------------------------------------------------------------- 1 | const accordionButtons=document.querySelectorAll(".toggle__button"),accordionSections=document.querySelectorAll(".toggle__content");accordionSections.forEach((t=>{t.setAttribute("aria-hidden",!0),t.classList.remove("open")})),accordionButtons.forEach((t=>{t.setAttribute("aria-expanded",!1);t.getAttribute("aria-expanded");const e=t.getAttribute("id").split("-").pop(),n=document.getElementById(`toggle__content-${e}`);t.addEventListener("click",(()=>{t.classList.toggle("expanded"),n.classList.toggle("open"),t.classList.contains("expanded")?(t.setAttribute("aria-expanded",!0),n.setAttribute("aria-hidden",!1)):(t.setAttribute("aria-expanded",!1),n.setAttribute("aria-hidden",!0))}))})); -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks/toggle/style-toggle.min.css: -------------------------------------------------------------------------------- 1 | .toggle-block{margin-bottom:var(--wp--custom--spacing--medium)}.toggle-block__header{position:relative;width:100%;background-color:var(--wp--preset--color--light-gray);margin-bottom:0 !important;margin-top:0 !important}.toggle-block .block__inner{padding:var(--wp--custom--spacing--medium)}.toggle__content:not(.open){display:none}.toggle__button{--wp--custom--button--color: var(--wp--custom--color--foreground);--wp--custom--grid--gap: var(--wp--custom--spacing--small);display:flex;align-items:center;gap:var(--wp--custom--grid--gap);background:rgba(0,0,0,0);border:none;border-radius:0;box-shadow:none;padding:var(--wp--custom--spacing--small);outline:none;cursor:pointer;width:100%}.toggle__button svg{display:none}.js .toggle__button svg{display:block;width:.6em;height:.6em}.js .toggle__button:not(.expanded) svg{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)} 2 | -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks/toggle/style-toggle.sass: -------------------------------------------------------------------------------- 1 | .toggle-block 2 | margin-bottom: var(--wp--custom--spacing--medium) 3 | 4 | &__header 5 | position: relative 6 | width: 100% 7 | background-color: var(--wp--preset--color--light-gray) 8 | margin-bottom: 0 !important 9 | margin-top: 0 !important 10 | 11 | .block__inner 12 | padding: var(--wp--custom--spacing--medium) 13 | 14 | 15 | .toggle__content:not(.open) 16 | display: none 17 | 18 | 19 | .toggle__button 20 | --wp--custom--button--color: var(--wp--custom--color--foreground) 21 | --wp--custom--grid--gap: var(--wp--custom--spacing--small) 22 | display: flex 23 | align-items: center 24 | gap: var(--wp--custom--grid--gap) 25 | background: transparent 26 | border: none 27 | border-radius: 0 28 | box-shadow: none 29 | padding: var(--wp--custom--spacing--small) 30 | outline: none 31 | cursor: pointer 32 | width: 100% 33 | 34 | svg 35 | display: none 36 | 37 | 38 | .js .toggle__button 39 | svg 40 | display: block 41 | width: 0.6em 42 | height: 0.6em 43 | 44 | 45 | .js .toggle__button:not(.expanded) 46 | svg 47 | transform: rotate(-90deg) -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks/toggle/template.php: -------------------------------------------------------------------------------- 1 | 16 | 17 |
18 | < class="toggle-block__header"> 19 | 23 | > 24 |
25 | 26 |
27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks/video/block.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cf/video", 3 | "title": "Optimized Video", 4 | "description": "A block for embeding a video from youtube or vimeo for faster page speed", 5 | "style": "block-video", 6 | "script": "block-video", 7 | "category": "media", 8 | "icon": "video-alt3", 9 | "apiVersion": 2, 10 | "keywords": [ "video", "youtube", "vimeo" ], 11 | "postTypes": ["post", "page", "content_area"], 12 | "acf": { 13 | "mode": "preview", 14 | "renderTemplate": "render.php" 15 | }, 16 | "supports": { 17 | "mode": false, 18 | "align": [ "wide" ], 19 | "anchor": false, 20 | "alignContent": false, 21 | "color": { 22 | "text": false, 23 | "background": false, 24 | "link": false 25 | }, 26 | "alignText": false, 27 | "fullHeight": false 28 | }, 29 | "attributes": { 30 | } 31 | } -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks/video/functions.php: -------------------------------------------------------------------------------- 1 | post_content ); 36 | 37 | // Exit early 38 | if ( empty( $blocks ) ) { 39 | return; 40 | } 41 | 42 | $videos = array(); 43 | 44 | foreach( $blocks as $block ) { 45 | 46 | if( 'acf/video-block' === $block['blockName'] ) { 47 | $videos[] = $block['attrs']['data']['video_iframe']; 48 | } 49 | 50 | } 51 | 52 | if ( !empty( $videos ) ) { 53 | 54 | // Setup empty array for unique values 55 | $hosts_array = array(); 56 | 57 | // Get list of host urls 58 | foreach( $videos as $video ) { 59 | 60 | // Get the host url 61 | $video_url_host = parse_url( $video, PHP_URL_HOST ); 62 | // Covert to array 63 | $hosts_array[] = $video_url_host; 64 | // Creat arrya of uniue hosts 65 | $hosts_array = array_unique( $hosts_array ); 66 | 67 | } 68 | 69 | // Create prefetc 70 | foreach( $hosts_array as $host ) { 71 | 72 | // Format url for source 73 | $prefetch = ( $host == 'www.youtube.com' || $host == 'youtube.com' )? esc_url( 'https://img.youtube.com/' ) : esc_url( 'https://vumbnail.com/' ) ; 74 | 75 | // Output header links 76 | echo ''; 77 | 78 | } 79 | 80 | } 81 | 82 | } -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks/video/script-video.js: -------------------------------------------------------------------------------- 1 | // Optimized Video block 2 | 3 | // https://webdesign.tutsplus.com/tutorials/how-to-lazy-load-embedded-youtube-videos--cms-26743 4 | 5 | ( function() { 6 | 7 | var embed_video = document.querySelectorAll( ".video-block__wrapper" ); 8 | 9 | for (var i = 0; i < embed_video.length; i++) { 10 | 11 | embed_video[i].addEventListener( "click", function() { 12 | 13 | var iframe = document.createElement( "iframe" ); 14 | 15 | iframe.setAttribute( "loading", "lazy" ); 16 | iframe.setAttribute( "title", this.dataset.title ); 17 | iframe.setAttribute( "width", "560" ); 18 | iframe.setAttribute( "height", "315" ); 19 | iframe.setAttribute( "allow", "autoplay; fullscreen; encrypted-media; gyroscope; picture-in-picture;" ); 20 | iframe.setAttribute( "frameborder", "0" ); 21 | iframe.setAttribute( "allowfullscreen", "" ); 22 | 23 | // Youtube 24 | if( this.dataset.src === 'www.youtube.com' ){ 25 | 26 | iframe.setAttribute( "src", "https://www.youtube-nocookie.com/embed/"+ this.dataset.embed +"?autoplay=1&modestbranding=1&rel=0&iv_load_policy=3&color=white" ); 27 | 28 | } 29 | // Vimeo 30 | if( this.dataset.src === 'player.vimeo.com' ){ 31 | 32 | iframe.setAttribute( "src", "https://player.vimeo.com/video/"+ this.dataset.embed +"?autoplay=1&title=0&byline=0&portrait=0" ); 33 | 34 | } 35 | 36 | 37 | this.innerHTML = ""; 38 | this.appendChild( iframe ); 39 | } ); 40 | } 41 | 42 | } )(); -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks/video/script-video.min.js: -------------------------------------------------------------------------------- 1 | !function(){for(var t=document.querySelectorAll(".video-block__wrapper"),e=0;e.video-block__button,.video-block__wrapper:focus>.video-block__button{--wp--custom--button--background: var(--wp--preset--color--light-green);--wp--custom--button--color: var(--wp--custom--color--secondary)}.video-block__thumbnail{-o-object-fit:cover;object-fit:cover;width:100%}.video-block__button{position:absolute;top:50%;left:50%;-webkit-transform:translate3d(-50%, -50%, 0);transform:translate3d(-50%, -50%, 0)} 2 | -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks/video/style-video.sass: -------------------------------------------------------------------------------- 1 | //Video Block 2 | 3 | .optimized-video-block 4 | iframe 5 | position: absolute 6 | height: 100% 7 | width: 100% 8 | top: 0 9 | left: 0 10 | background-color: transparent 11 | 12 | 13 | .video-block__wrapper 14 | aspect-ratio: var(--wp--custom--ratio--16-9) 15 | position: relative 16 | background-color: var(--wp--custom--button--background) 17 | color: var(--wp--custom--button--color) 18 | cursor: pointer 19 | 20 | &:hover > .video-block__button, 21 | &:focus > .video-block__button 22 | --wp--custom--button--background: var(--wp--preset--color--light-green) 23 | --wp--custom--button--color: var(--wp--custom--color--secondary) 24 | 25 | 26 | .video-block__thumbnail 27 | object-fit: cover 28 | width: 100% 29 | 30 | 31 | .video-block__button 32 | position: absolute 33 | top: 50% 34 | left: 50% 35 | transform: translate3d( -50%, -50%, 0 ) -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/blocks/video/template.php: -------------------------------------------------------------------------------- 1 | 16 | 17 |
18 |
19 |

20 | 25 |

26 | 27 | 33 |
34 |
35 | 36 | 37 | -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/functions/custom-meta.php: -------------------------------------------------------------------------------- 1 | post_type ) ) { 29 | 30 | if ( 'content_area' == $screen->post_type ) { 31 | $title = esc_html__( 'Add content area name', 'core-functionality' ); 32 | } 33 | 34 | } 35 | 36 | return $title; 37 | 38 | } 39 | -------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/functions/index.php: -------------------------------------------------------------------------------- 1 | 15, 25 | 'more' => '...', 26 | 'post' => get_the_ID(), 27 | ) 28 | ); 29 | } 30 | $featured_image = get_the_post_thumbnail( 31 | get_the_ID(), 32 | 'genesis-singular-images', 33 | array( 'class' => 'entry-image' ) 34 | ); 35 | 36 | ?> 37 | 38 |
aria-label=""> 39 |
40 | 41 |

42 | 43 | 44 | 45 |

46 |
47 |
48 |

49 | 50 |

51 |
52 |
-------------------------------------------------------------------------------- /wp-content/plugins/core-functionality/inc/pluggable/social-share/index.php: -------------------------------------------------------------------------------- 1 | .block__inner { 38 | display: block; 39 | width: 100%; 40 | flex-grow: 1; 41 | flex-basis: min-content; } 42 | .icon-block > .block__inner > *:last-child:first-child { 43 | margin-bottom: 0; } 44 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/css/icon.min.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../src-sass/06-blocks-custom/icon.sass"],"names":[],"mappings":"AAUA,yBACI,qCAAsC,CACtC,sCAAuC,CAAG,uBAG1C,oCAAqC,CACrC,qCAAsC,CAAG,uBAGzC,oCAAqC,CACrC,qCAAsC,CAAG,YAKzC,oBAAa,CAAb,YAAa,CACb,wBAAiB,CAAjB,gBAAiB,CACjB,+CAAgD,CAHpD,kBAMQ,iBAAkB,CAN1B,yDAUQ,6BAAgB,CAAhB,qBAAsB,CAV9B,qEAaY,+CAAgD,CAChD,cAAe,CAd3B,4BAiBQ,0BAAgB,CAAhB,kBAAmB,CAjB3B,kCAoBY,8CAA+C,CApB3D,iCAwBY,wBAAY,CAAZ,gBAAiB,CAxB7B,oCA4BY,yBAAY,CAAZ,iBAAkB,CA5B9B,yCA+BQ,0BAAa,CAAb,kBAAmB,CA/B3B,sCAkCQ,8BAAa,CAAb,sBAAuB,CAlC/B,yCAqCQ,4BAAa,CAAb,oBAAqB,CArC7B,0BAyCQ,aAAc,CACd,UAAW,CACX,mBAAY,CAAZ,WAAY,CACZ,8BAAY,CAAZ,sBAAuB,CA5C/B,mDA+CY,eAAgB","file":"icon.min.css"} -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/css/login.min.css: -------------------------------------------------------------------------------- 1 | .login { 2 | background-color: var(--wp--custom--color--background); 3 | } 4 | 5 | .login h1 a { 6 | background-image: url(../images/login-logo.svg), linear-gradient(transparent, transparent), none; 7 | background-size: contain; 8 | background-position: center center; 9 | background-repeat: no-repeat; 10 | display: block; 11 | width: auto; 12 | height: 0; 13 | padding-bottom: 43.75%; 14 | font-size: 20px; 15 | line-height: var(--wp--custom--line-height--small); 16 | margin: 0 auto 25px; 17 | text-indent: -9999px; 18 | outline: 0; 19 | display: block; 20 | } 21 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/css/login.min.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../src-sass/01-settings/globals.scss","login.min.css","../src-sass/08-components/login.sass"],"names":[],"mappings":"AAIA;EAEI;IAII,mEAAiC;ECPvC;AACF;;ADaA;EAEI;IAGI,uCAAkC;IAClC,qCAA+B;IAG/B,sEAAoC;IACpC,gCAA2B;IAC3B,gEAA6B;IAC7B,mEAA+B;ECfrC;AACF;;ACbA;EACI,sDAAsD;ADgB1D;;ACjBA;EAIQ,gGAAgG;EAChG,wBAAwB;EACxB,kCAAkC;EAClC,4BAA4B;EAC5B,cAAc;EACd,WAAW;EACX,SAAS;EAET,sBAAoC;EACpC,eAAe;EACf,kBAAkB;EAClB,mBAAmB;EACnB,oBAAoB;EACpB,UAAU;EACV,cAAc;ADgBtB","file":"login.min.css"} -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/css/print.min.css: -------------------------------------------------------------------------------- 1 | *, 2 | *::before, 3 | *::after { 4 | background: transparent !important; 5 | box-shadow: none !important; 6 | text-shadow: none !important; 7 | } 8 | 9 | a, 10 | a:visited { 11 | text-decoration: underline; 12 | } 13 | 14 | a[href^="javascript:"]::after, 15 | a[href^="#"]::after, 16 | .site-title > a::after { 17 | content: ""; 18 | } 19 | 20 | thead { 21 | display: table-header-group; 22 | } 23 | 24 | img, 25 | tr { 26 | page-break-inside: avoid; 27 | } 28 | 29 | img { 30 | max-width: 100% !important; 31 | } 32 | 33 | @page { 34 | margin: 2cm 0.5cm; 35 | } 36 | 37 | p, 38 | h2, 39 | h3 { 40 | orphans: 3; 41 | widows: 3; 42 | } 43 | 44 | blockquote, 45 | pre { 46 | page-break-inside: avoid; 47 | } 48 | 49 | .content, 50 | .content-sidebar { 51 | width: 100%; 52 | } 53 | 54 | button, 55 | input, 56 | select, 57 | textarea, 58 | .breadcrumb, 59 | .comment-edit-link, 60 | .comment-form, 61 | .comment-list .reply a, 62 | .comment-reply-title, 63 | .edit-link, 64 | .entry-comments-link, 65 | .entry-footer, 66 | .genesis-box, 67 | .header-widget-area, 68 | .hidden-print, 69 | .home-top, 70 | .nav-primary, 71 | .nav-secondary, 72 | .post-edit-link, 73 | .sidebar, 74 | .site-footer, 75 | .pagination { 76 | display: none !important; 77 | } 78 | 79 | .title-area { 80 | width: 100%; 81 | } 82 | 83 | .site-title > a { 84 | margin: 0; 85 | text-decoration: none; 86 | text-indent: 0; 87 | } 88 | 89 | .site-inner { 90 | padding-top: 0; 91 | position: relative; 92 | } 93 | 94 | .author-box { 95 | margin-bottom: 0; 96 | } 97 | 98 | h1, 99 | h2, 100 | h3, 101 | h4, 102 | h5, 103 | h6 { 104 | orphans: 3; 105 | page-break-after: avoid; 106 | page-break-inside: avoid; 107 | widows: 3; 108 | } 109 | 110 | img { 111 | page-break-after: avoid; 112 | page-break-inside: avoid; 113 | } 114 | 115 | blockquote, 116 | pre, 117 | table { 118 | page-break-inside: avoid; 119 | } 120 | 121 | dl, 122 | ol, 123 | ul { 124 | page-break-before: avoid; 125 | } 126 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/css/print.min.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["../src-sass/09-utilities/print.sass","print.min.css"],"names":[],"mappings":"AAEA;;;EAGC,kCAAkC;EAClC,2BAA2B;EAE3B,4BAA4B;ACF7B;;ADIA;;EAEC,0BAA0B;ACD3B;;ADGA;;;EAGC,WAAW;ACAZ;;ADEA;EACC,2BAA2B;ACC5B;;ADCA;;EAEC,wBAAwB;ACEzB;;ADAA;EACC,0BAA0B;ACG3B;;ADDA;EACC,iBAAiB;ACIlB;;ADFA;;;EAGC,UAAU;EACV,SAAS;ACKV;;ADHA;;EAEC,wBAAwB;ACMzB;;ADJA;;EAEC,WAAW;ACOZ;;ADLA;;;;;;;;;;;;;;;;;;;;;;EAsBC,wBAAwB;ACQzB;;ADNA;EACC,WAAW;ACSZ;;ADPA;EACC,SAAS;EACT,qBAAqB;EACrB,cAAc;ACUf;;ADRA;EACC,cAAc;EACd,kBAAkB;ACWnB;;ADTA;EACC,gBAAgB;ACYjB;;ADVA;;;;;;EAMC,UAAU;EACV,uBAAuB;EACvB,wBAAwB;EACxB,SAAS;ACaV;;ADXA;EACC,uBAAuB;EACvB,wBAAwB;ACczB;;ADZA;;;EAGC,wBAAwB;ACezB;;ADbA;;;EAGC,wBAAwB;ACgBzB","file":"print.min.css"} -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/css/quotes.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patric-boehner/Blank-Genesis-Child-Theme/cfabb545a01a1928737776e387014eddfc8b9c8e/wp-content/themes/blank-child-theme/assets/css/quotes.min.css -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/css/search.min.css: -------------------------------------------------------------------------------- 1 | .wp-block-search .wp-block-search__button { 2 | margin-left: 0; } 3 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/css/table.min.css: -------------------------------------------------------------------------------- 1 | .wp-block-table .is-style-stripes tbody tr:nth-child(2n+1) { 2 | background-color: var(--color-light-gray); } 3 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/css/term-grid.min.css: -------------------------------------------------------------------------------- 1 | .three-columns { 2 | --grid-columns: repeat(3, 1fr); } 3 | 4 | .four-columns { 5 | --grid-columns: repeat(4, 1fr); } 6 | 7 | .taxonomy-grid-block { 8 | margin-bottom: var(--wp--custom--spacing--block-gap); } 9 | .taxonomy-grid-block .inner_content { 10 | display: grid; 11 | gap: var(--wp--custom--grid--gap); } 12 | @media only screen and (min-width: 860px) { 13 | .taxonomy-grid-block .inner_content { 14 | grid-template-columns: var(--grid-columns); } } 15 | .taxonomy-link { 16 | padding: var(--wp--custom--button--padding); 17 | background: var(--wp--preset--color--light-gray); 18 | text-decoration: none; } 19 | .taxonomy-link:hover { 20 | background-color: var(--wp--preset--color--light-green); } 21 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/css/video-optimized.min.css: -------------------------------------------------------------------------------- 1 | .optimized-video-block iframe { 2 | position: absolute; 3 | height: 100%; 4 | width: 100%; 5 | top: 0; 6 | left: 0; 7 | background-color: transparent; } 8 | 9 | .video-block__wrapper { 10 | aspect-ratio: var(--wp--custom--ratio--16-9); 11 | position: relative; 12 | background-color: var(--wp--custom--button--background); 13 | color: var(--wp--custom--button--color); 14 | cursor: pointer; } 15 | .video-block__wrapper:hover > .video-block__button, .video-block__wrapper:focus > .video-block__button { 16 | --wp--custom--button--background: var(--wp--preset--color--light-green); 17 | --wp--custom--button--color: var(--wp--custom--color--secondary); } 18 | 19 | .video-block__thumbnail { 20 | object: cover; 21 | width: 100%; } 22 | 23 | .video-block__button { 24 | position: absolute; 25 | top: 50%; 26 | left: 50%; 27 | transform: translate3d(-50%, -50%, 0); } 28 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/fonts/source-sans-pro-v14-latin-600.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patric-boehner/Blank-Genesis-Child-Theme/cfabb545a01a1928737776e387014eddfc8b9c8e/wp-content/themes/blank-child-theme/assets/fonts/source-sans-pro-v14-latin-600.woff -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/fonts/source-sans-pro-v14-latin-600.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patric-boehner/Blank-Genesis-Child-Theme/cfabb545a01a1928737776e387014eddfc8b9c8e/wp-content/themes/blank-child-theme/assets/fonts/source-sans-pro-v14-latin-600.woff2 -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/fonts/source-sans-pro-v14-latin-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patric-boehner/Blank-Genesis-Child-Theme/cfabb545a01a1928737776e387014eddfc8b9c8e/wp-content/themes/blank-child-theme/assets/fonts/source-sans-pro-v14-latin-regular.woff -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/fonts/source-sans-pro-v14-latin-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patric-boehner/Blank-Genesis-Child-Theme/cfabb545a01a1928737776e387014eddfc8b9c8e/wp-content/themes/blank-child-theme/assets/fonts/source-sans-pro-v14-latin-regular.woff2 -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/icons/decorative/check.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/icons/decorative/star.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/icons/social/email.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/icons/social/facebook.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/icons/social/instagram.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/icons/social/linkedin.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/icons/social/pinterest.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/icons/social/print.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/icons/social/twitter.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/icons/social/vimeo.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/icons/social/yelp.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/icons/social/youtube.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/icons/theme/arrow-left.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/icons/theme/arrow-right.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/icons/theme/bars.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/icons/theme/chevron-down.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/icons/theme/close.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patric-boehner/Blank-Genesis-Child-Theme/cfabb545a01a1928737776e387014eddfc8b9c8e/wp-content/themes/blank-child-theme/assets/images/favicon.ico -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/images/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patric-boehner/Blank-Genesis-Child-Theme/cfabb545a01a1928737776e387014eddfc8b9c8e/wp-content/themes/blank-child-theme/assets/images/favicon.png -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/images/login-logo.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/images/placeholder.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/js/banner.min.js: -------------------------------------------------------------------------------- 1 | function createCookie(e,n,t){var o;if(t){var r=new Date;r.setTime(r.getTime()+24*t*60*60*1e3),o="; expires="+r.toGMTString()}else o="";document.cookie=e+"="+n+o+"; path=/;samesite=strict;strict"}function readCookie(e){for(var n=e+"=",t=document.cookie.split(";"),o=0;o{t.setAttribute("aria-hidden",!0),t.classList.remove("open")})),accordionButtons.forEach((t=>{t.setAttribute("aria-expanded",!1);const e=t.getAttribute("aria-expanded"),n=t.getAttribute("id").split("-").pop(),o=document.getElementById(`toggle__content-${n}`);t.addEventListener("click",(()=>{t.classList.toggle("expanded"),o.classList.toggle("open"),t.classList.contains("expanded")?(t.setAttribute("aria-expanded",!0),o.setAttribute("aria-hidden",!1)):(t.setAttribute("aria-expanded",!1),o.setAttribute("aria-hidden",!0))}))})); -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/js/block-video-optimized.min.js: -------------------------------------------------------------------------------- 1 | !function(){for(var t=document.querySelectorAll(".video-block__wrapper"),e=0;e{wp.blocks.unregisterBlockStyle("core/button",["default","outline","squared","fill"]),wp.blocks.unregisterBlockStyle("core/separator",["default","wide","dots"]),wp.blocks.unregisterBlockStyle("core/quote",["default","large","plain"]),wp.blocks.unregisterBlockStyle("core/image",["default","rounded"]),wp.blocks.registerBlockStyle("core/cover",[{name:"default",label:"Default",isDefault:!0}]),wp.blocks.registerBlockStyle("core/group",[{name:"default",label:"Default",isDefault:!0}]),wp.blocks.registerBlockStyle("core/heading",[{name:"default",label:"Default",isDefault:!0}]),wp.blocks.registerBlockStyle("core/paragraph",[{name:"default",label:"Default",isDefault:!0}]),wp.blocks.registerBlockStyle("acf/icon-block",[{name:"default",label:"Default",isDefault:!0}]),wp.blocks.registerBlockStyle("core/columns",[{name:"default",label:"Default",isDefault:!0},{name:"medium-gap",label:"Medium Gap"},{name:"large-gap",label:"Large Gap"}]),wp.blocks.registerBlockStyle("core/column",[{name:"default",label:"Default",isDefault:!0}])})),wp.domReady((()=>{wp.blocks.registerBlockVariation("core/group",{name:"full-width-group",title:"Full Width Group",attributes:{align:"full",layout:{inherit:!0}}}),wp.blocks.registerBlockVariation("core/group",{isDefault:!0,attributes:{layout:{inherit:!0}}})})),wp.domReady((function(){const e=["vimeo","youtube"];wp.blocks.getBlockVariations("core/embed").forEach((function(l){-1===e.indexOf(l.name)&&wp.blocks.unregisterBlockVariation("core/embed",l.name)}))})); -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/js/menu-button.min.js: -------------------------------------------------------------------------------- 1 | function toggleMenu(e){var t=document.getElementById("genesis-nav-primary"),a;"true"===e.currentTarget.getAttribute("aria-expanded")?(t.classList.add("closed"),t.classList.remove("opened"),e.currentTarget.setAttribute("aria-expanded","false")):(t.classList.add("opened"),t.classList.remove("closed"),e.currentTarget.setAttribute("aria-expanded","true"))}document.getElementById("nav-toggle").addEventListener("click",toggleMenu,!1); -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/js/social-share.min.js: -------------------------------------------------------------------------------- 1 | document.addEventListener("DOMContentLoaded",(function(e){for(var t=document.querySelectorAll(".share-links__link"),i=0;i { 2 | 3 | wp.blocks.unregisterBlockStyle( 4 | 'core/button', 5 | [ 'default', 'outline', 'squared', 'fill' ] 6 | ); 7 | 8 | wp.blocks.unregisterBlockStyle( 9 | 'core/separator', 10 | [ 'default', 'wide', 'dots' ] 11 | ); 12 | 13 | wp.blocks.unregisterBlockStyle( 14 | 'core/quote', 15 | [ 'default', 'large', 'plain' ] 16 | ); 17 | 18 | wp.blocks.unregisterBlockStyle( 19 | 'core/image', 20 | [ 'default', 'rounded' ] 21 | ); 22 | 23 | wp.blocks.registerBlockStyle( 'core/cover', [ 24 | { 25 | name: 'default', 26 | label: 'Default', 27 | isDefault: true, 28 | } 29 | ]); 30 | 31 | wp.blocks.registerBlockStyle( 'core/group', [ 32 | { 33 | name: 'default', 34 | label: 'Default', 35 | isDefault: true, 36 | } 37 | ]); 38 | 39 | wp.blocks.registerBlockStyle( 'core/heading', [ 40 | { 41 | name: 'default', 42 | label: 'Default', 43 | isDefault: true, 44 | } 45 | ]); 46 | 47 | wp.blocks.registerBlockStyle( 'core/paragraph', [ 48 | { 49 | name: 'default', 50 | label: 'Default', 51 | isDefault: true, 52 | } 53 | ]); 54 | 55 | wp.blocks.registerBlockStyle( 'acf/icon-block', [ 56 | { 57 | name: 'default', 58 | label: 'Default', 59 | isDefault: true, 60 | } 61 | ]); 62 | 63 | wp.blocks.registerBlockStyle( 'core/columns', [ 64 | { 65 | name: 'default', 66 | label: 'Default', 67 | isDefault: true, 68 | }, 69 | { 70 | name: 'medium-gap', 71 | label: 'Medium Gap', 72 | }, 73 | { 74 | name: 'large-gap', 75 | label: 'Large Gap', 76 | } 77 | ]); 78 | 79 | wp.blocks.registerBlockStyle( 'core/column', [ 80 | { 81 | name: 'default', 82 | label: 'Default', 83 | isDefault: true, 84 | } 85 | ]); 86 | 87 | 88 | } ); 89 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-js/_blocks/block-toggle.js: -------------------------------------------------------------------------------- 1 | // Toggle 2 | // https://www.a11ywithlindsey.com/blog/javascript-accessibility-accordions 3 | 4 | const accordionButtons = document.querySelectorAll('.toggle__button'); 5 | const accordionSections = document.querySelectorAll('.toggle__content'); 6 | 7 | accordionSections.forEach(section => { 8 | section.setAttribute('aria-hidden', true) 9 | section.classList.remove('open') 10 | }) 11 | 12 | accordionButtons.forEach(button => { 13 | button.setAttribute('aria-expanded', false); 14 | 15 | const expanded = button.getAttribute('aria-expanded'); 16 | const number = button.getAttribute('id').split('-').pop(); 17 | const associatedSection = document.getElementById(`toggle__content-${number}`) 18 | 19 | button.addEventListener('click', () => { 20 | 21 | button.classList.toggle('expanded'); 22 | associatedSection.classList.toggle('open'); 23 | if (button.classList.contains('expanded')) { 24 | button.setAttribute('aria-expanded', true); 25 | associatedSection.setAttribute('aria-hidden', false); 26 | } else { 27 | button.setAttribute('aria-expanded', false); 28 | associatedSection.setAttribute('aria-hidden', true); 29 | } 30 | }) 31 | }) 32 | 33 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-js/_blocks/block-variations.js: -------------------------------------------------------------------------------- 1 | // https://css-tricks.com/how-to-use-block-variations-in-wordpress/ 2 | wp.domReady( () => { 3 | 4 | // Full Width Block 5 | wp.blocks.registerBlockVariation('core/group', { 6 | name: 'full-width-group', 7 | title: 'Full Width Group', 8 | attributes: { 9 | align: 'full', 10 | layout: { 11 | inherit: true, 12 | }, 13 | }, 14 | }); 15 | 16 | // Inherit Layout by Default for Group Block 17 | wp.blocks.registerBlockVariation( 18 | 'core/group', 19 | { 20 | isDefault: true, 21 | attributes: { 22 | layout: { 23 | inherit: true, 24 | }, 25 | }, 26 | } 27 | ); 28 | 29 | } ); 30 | 31 | 32 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-js/_blocks/block-video-optimized.js: -------------------------------------------------------------------------------- 1 | // Optimized Video block 2 | 3 | // https://webdesign.tutsplus.com/tutorials/how-to-lazy-load-embedded-youtube-videos--cms-26743 4 | 5 | ( function() { 6 | 7 | var embed_video = document.querySelectorAll( ".video-block__wrapper" ); 8 | 9 | for (var i = 0; i < embed_video.length; i++) { 10 | 11 | embed_video[i].addEventListener( "click", function() { 12 | 13 | var iframe = document.createElement( "iframe" ); 14 | 15 | iframe.setAttribute( "loading", "lazy" ); 16 | iframe.setAttribute( "title", this.dataset.title ); 17 | iframe.setAttribute( "width", "560" ); 18 | iframe.setAttribute( "height", "315" ); 19 | iframe.setAttribute( "allow", "autoplay; fullscreen; encrypted-media; gyroscope; picture-in-picture;" ); 20 | iframe.setAttribute( "frameborder", "0" ); 21 | iframe.setAttribute( "allowfullscreen", "" ); 22 | 23 | // Youtube 24 | if( this.dataset.src === 'www.youtube.com' ){ 25 | 26 | iframe.setAttribute( "src", "https://www.youtube-nocookie.com/embed/"+ this.dataset.embed +"?autoplay=1&modestbranding=1&rel=0&iv_load_policy=3&color=white" ); 27 | 28 | } 29 | // Vimeo 30 | if( this.dataset.src === 'player.vimeo.com' ){ 31 | 32 | iframe.setAttribute( "src", "https://player.vimeo.com/video/"+ this.dataset.embed +"?autoplay=1&title=0&byline=0&portrait=0" ); 33 | 34 | } 35 | 36 | 37 | this.innerHTML = ""; 38 | this.appendChild( iframe ); 39 | } ); 40 | } 41 | 42 | } )(); -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-js/_partials/mobile-menu-toggle.js: -------------------------------------------------------------------------------- 1 | /** 2 | * WC3: Mobile Menus 3 | * https://w3c.github.io/wai-mobile-intro/mobile/mobile-menus/ 4 | */ 5 | 6 | document.getElementById('nav-toggle').addEventListener('click', toggleMenu, false); 7 | 8 | function toggleMenu(event) { 9 | 10 | var navBar = document.getElementById("genesis-nav-primary"); 11 | var expanded = event.currentTarget.getAttribute("aria-expanded"); 12 | 13 | if (expanded==="true") { 14 | navBar.classList.add("closed"); 15 | navBar.classList.remove("opened"); 16 | event.currentTarget.setAttribute('aria-expanded', 'false'); 17 | } else { 18 | navBar.classList.add("opened"); 19 | navBar.classList.remove("closed"); 20 | event.currentTarget.setAttribute('aria-expanded', 'true'); 21 | } 22 | 23 | } -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-js/_partials/social-share-link.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Simpel Social Share Link Popouts 3 | * Original sample comes from Jared Atchison 4 | * http://www.jaredatchison.com/code/create-manual-social-media-share-share_links/ 5 | * 6 | */ 7 | 8 | document.addEventListener("DOMContentLoaded", function(event) { 9 | 10 | var share_links = document.querySelectorAll('.share-links__link'); 11 | 12 | for(var i = 0; i < share_links.length; i++){ 13 | 14 | share_links[i].addEventListener('click', function(e) { 15 | 16 | var window_size = ""; 17 | var url = this.href; 18 | var domain = url.split("/")[2]; 19 | switch(domain) { 20 | case "www.facebook.com": 21 | window_size = "width=585,height=368"; 22 | break; 23 | case "www.twitter.com": 24 | window_size = "width=585,height=261"; 25 | break; 26 | case "www.pinterest.com": 27 | window_size = "width=700,height=300"; 28 | break; 29 | case "www.linkedin.com": 30 | window_size = "width=520,height=570"; 31 | break; 32 | default: 33 | window_size = "width=585,height=511"; 34 | } 35 | window.open(url, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,' + window_size); 36 | 37 | e.preventDefault(); 38 | 39 | }, false); 40 | 41 | } 42 | 43 | }); -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-js/banner.js: -------------------------------------------------------------------------------- 1 | // Top Banner JS 2 | 3 | // @codekit-prepend "_partials/top-banner.js"; 4 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-js/editor.js: -------------------------------------------------------------------------------- 1 | // Editor combined JS 2 | 3 | // @codekit-prepend "_blocks/block-styles.js"; 4 | // @codekit-prepend "_blocks/block-variations.js"; 5 | // @codekit-prepend "_blocks/block-embeds.js"; -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-js/global.js: -------------------------------------------------------------------------------- 1 | // Global combined JS 2 | 3 | // @codekit-prepend "_partials/mobile-menu-toggle.js"; 4 | // @codekit-prepend "_partials/responsive-menu.js"; 5 | // @codekit-prepend "_vendor/skip-link-fix.js"; 6 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-js/social-share.js: -------------------------------------------------------------------------------- 1 | // Social Share Links 2 | 3 | // @codekit-prepend "_partials/social-share-link.js"; 4 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/01-settings/fonts.sass: -------------------------------------------------------------------------------- 1 | // External Fonts 2 | $font-path: "../fonts" !default 3 | 4 | @font-face 5 | font-family: 'Source Sans Pro' 6 | font-weight: 400 7 | font-style: normal 8 | font-display: swap 9 | src:url("#{$font-path}/source-sans-pro-v14-latin-regular.woff2") format("woff2") 10 | src:url("#{$font-path}/source-sans-pro-v14-latin-regular.woff2") format("woff2"), url("#{$font-path}/source-sans-pro-v14-latin-regular.woff") format("woff"), 11 | 12 | @font-face 13 | font-family: 'Source Sans Pro' 14 | font-weight: 600 15 | font-style: normal 16 | font-display: swap 17 | src:url("#{$font-path}/source-sans-pro-v14-latin-600.woff2") format("woff2") 18 | src:url("#{$font-path}/source-sans-pro-v14-latin-600.woff2") format("woff2"), url("#{$font-path}/source-sans-pro-v14-latin-600.woff") format("woff"), -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/02-tools/mixins.sass: -------------------------------------------------------------------------------- 1 | // Font Smoothing 2 | 3 | @mixin font-smoothing($value: antialiased) 4 | @if $value == antialiased 5 | -webkit-font-smoothing: antialiased 6 | -moz-osx-font-smoothing: grayscale 7 | 8 | @else 9 | -webkit-font-smoothing: subpixel-antialiased 10 | -moz-osx-font-smoothing: auto 11 | 12 | 13 | // Hiden Text 14 | 15 | @mixin hiden-text 16 | border: 0 17 | clip: rect(0, 0, 0, 0) 18 | height: 1px 19 | overflow: hidden 20 | position: absolute !important 21 | width: 1px 22 | word-wrap: normal !important 23 | 24 | 25 | // Media Quiery 26 | @mixin mobile-menu 27 | @media only screen and (max-width: $mobile-menu) 28 | @content 29 | 30 | @mixin above-mobile-menu 31 | @media only screen and (min-width: $mobile-menu) 32 | @content 33 | 34 | 35 | 36 | @mixin desktop 37 | @media only screen and (max-width: $desktop) 38 | @content 39 | 40 | @mixin above-desktop 41 | @media only screen and (min-width: $desktop) 42 | @content 43 | 44 | 45 | @mixin small-desktop 46 | @media only screen and (max-width: $small-desktop) 47 | @content 48 | 49 | @mixin above-small-desktop 50 | @media only screen and (min-width: $small-desktop) 51 | @content 52 | 53 | 54 | @mixin tablet 55 | @media only screen and (max-width: $tablet) 56 | @content 57 | 58 | @mixin above-tablet 59 | @media only screen and (min-width: $tablet) 60 | @content 61 | 62 | 63 | @mixin phone 64 | @media only screen and (max-width: $phone) 65 | @content 66 | 67 | @mixin above-phone 68 | @media only screen and (min-width: $phone) 69 | @content 70 | 71 | 72 | @mixin small-phone 73 | @media only screen and (max-width: $small-phone) 74 | @content 75 | 76 | @mixin above-small-phone 77 | @media only screen and (min-width: $small-phone) 78 | @content 79 | 80 | 81 | @mixin smallest 82 | @media only screen and (max-width: $smallest) 83 | @content 84 | 85 | @mixin above-smallest 86 | @media only screen and (min-width: $smallest) 87 | @content 88 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/02-tools/variables.sass: -------------------------------------------------------------------------------- 1 | // Global Variables 2 | //********************************************** 3 | 4 | // File Paths 5 | 6 | $icon-path: "../icons" !default 7 | 8 | 9 | // Media Quiery 10 | 11 | $desktop: 1400px // was 1340px 12 | $small-desktop: 1200px // was 1200px 13 | $tablet: 860px // was 1024px 14 | $phone: 768px // was 860px 15 | $small-phone: 550px 16 | 17 | $mobile-menu: 860px -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/03-generic/clearings-sizing.sass: -------------------------------------------------------------------------------- 1 | // Box Sizing 2 | html * 3 | -webkit-box-sizing: border-box 4 | -moz-box-sizing: border-box 5 | box-sizing: border-box 6 | 7 | 8 | *, 9 | *::before, 10 | *::after 11 | box-sizing: inherit 12 | 13 | 14 | 15 | // // Clearfix 16 | // .after-entry::before, 17 | // .author-box::before, 18 | // .clearfix::before, 19 | // .entry::before, 20 | // .entry-content::before, 21 | // .nav-primary::before, 22 | // .nav-secondary::before, 23 | // .pagination::before, 24 | // .site-container::before, 25 | // .site-footer::before, 26 | // .site-inner::before, 27 | // .widget::before 28 | // content: " " 29 | // display: table 30 | 31 | 32 | // .after-entry::after, 33 | // .author-box::after, 34 | // .clearfix::after, 35 | // .entry::after, 36 | // .entry-content::after, 37 | // .nav-primary::after, 38 | // .nav-secondary::after, 39 | // .pagination::after, 40 | // .site-container::after, 41 | // .site-footer::after, 42 | // .site-inner::after, 43 | // .widget::after, 44 | // clear: both 45 | // content: " " 46 | // display: table -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/04-elements/base.sass: -------------------------------------------------------------------------------- 1 | // All Base styles 2 | //********************************************** 3 | 4 | html 5 | @include font-smoothing (antialiased) 6 | 7 | 8 | body 9 | margin: 0 10 | padding: 0 11 | overflow-x: hidden 12 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/04-elements/buttons.sass: -------------------------------------------------------------------------------- 1 | // Buttons 2 | 3 | input[type="button"], 4 | input[type="reset"], 5 | input[type="submit"], 6 | button, 7 | .search-submit, 8 | .wp-block-search .wp-block-search__button, 9 | .wp-block-button__link, 10 | .button 11 | background-color: var(--color-inherit-background, var(--wp--custom--button--background) ) 12 | border: 0 13 | border-radius: 0 14 | color: var( --color-inherit, var(--wp--custom--button--color) ) 15 | cursor: pointer 16 | font-family: var(--wp--preset--font-family--primary) 17 | font-size: var(--button-font-size) 18 | font-weight: var(--wp--custom--font-weight--bold) 19 | padding: var(--wp--custom--button--padding) 20 | text-decoration: none 21 | white-space: normal 22 | width: auto 23 | line-height: normal 24 | transition: all 0.25s ease-in-out 25 | 26 | 27 | &:hover, 28 | &:focus, 29 | --wp--custom--button--background: var(--wp--preset--color--light-green) 30 | --wp--custom--button--color: var(--wp--custom--color--secondary) 31 | 32 | 33 | .button 34 | &__small 35 | --wp--custom--button--padding: 12px 18px 36 | --wp--custom--button--font-size: var(--wp--preset--font-size--tiny) 37 | 38 | 39 | .button .icon 40 | fill: var(--wp--custom--button--color) 41 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/04-elements/forms.sass: -------------------------------------------------------------------------------- 1 | // Forms 2 | 3 | form 4 | --form-min-height: 58px 5 | --form-border: 1px solid var(--wp--custom--border--color) 6 | --form-padding: 16px 7 | 8 | label, 9 | legend 10 | display: inline-block 11 | font-weight: var(--wp--custom--font-weight--bold) 12 | margin-bottom: 5px 13 | 14 | 15 | input, 16 | select, 17 | textarea 18 | font-family: var(--wp--preset--font-family--primary) 19 | font-size: var(--wp--preset--font-size--small) 20 | line-height: var(--wp--custom--line-height--normal) 21 | background-color: var(--wp--preset--color--white) 22 | border: var(--form-border) 23 | color: var(--wp--custom--color--foreground) 24 | padding: var(--form-padding) 25 | width: 100% 26 | min-height: var(--form-min-height) 27 | 28 | &:focus 29 | border: var(--form-border) 30 | 31 | 32 | .post-password-form input[type="password"] 33 | min-height: var(--form-min-height) 34 | 35 | 36 | input[type="checkbox"], 37 | input[type="image"], 38 | input[type="radio"] 39 | width: auto 40 | margin-right: 10px 41 | 42 | 43 | input[type="search"]::-webkit-search-cancel-button, 44 | input[type="search"]::-webkit-search-results-button 45 | display: none 46 | 47 | 48 | input[type="search"] 49 | -webkit-box-sizing: border-box 50 | -moz-box-sizing: border-box 51 | box-sizing: border-box 52 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/04-elements/icons.sass: -------------------------------------------------------------------------------- 1 | // Icons 2 | 3 | .icon 4 | --icon--size: var(--wp--custom--icon--normal) 5 | width: var(--icon--size) 6 | height: var(--icon--size) 7 | fill: var(--wp--custom--color--foreground) 8 | 9 | 10 | .has-background, 11 | .has-background-dim, 12 | .has-text-color 13 | .icon 14 | fill: var(--color-fill, currentColor) 15 | 16 | 17 | a 18 | .icon 19 | fill: var(--wp--custom--color--secondary) 20 | 21 | &:hover, 22 | &:focus 23 | transition: all 0.25s ease-in-out 24 | fill: var(--wp--custom--color--foreground) 25 | 26 | 27 | .icon-text 28 | position: relative 29 | 30 | .icon 31 | margin-right: 10px 32 | vertical-align: middle 33 | 34 | 35 | [class*="icon-"]::before, 36 | [class*="-toggle"]::before 37 | --icon--size: var(--wp--custom--icon--normal) 38 | display: inline-block 39 | width: var(--icon--size) 40 | height: var(--icon--size) 41 | text-indent: 100% 42 | white-space: nowrap 43 | overflow: hidden 44 | vertical-align: sub 45 | 46 | 47 | // icons 48 | .menu-toggle::before 49 | content: '' 50 | background: url('#{$icon-path}/menu.svg') no-repeat top left 51 | background-size: contain 52 | 53 | 54 | .sub-menu-toggle::before 55 | content: '' 56 | background: url('#{$icon-path}/chevron-down.svg') no-repeat top left 57 | background-size: contain 58 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/04-elements/links.sass: -------------------------------------------------------------------------------- 1 | // Link Elements 2 | 3 | a 4 | // color: var(--wp--custom--color--secondary) 5 | text-decoration: underline 6 | text-decoration-skip-ink: auto 7 | text-underline-offset: 2px 8 | transition: all 0.25s ease-in-out 9 | 10 | &:hover, 11 | &:focus 12 | color: var(--wp--custom--color--foreground) 13 | text-decoration: none 14 | 15 | // &:focus 16 | // background-color: var(--wp--preset--color--light-green) 17 | // box-shadow: 0 0 0 3px var(--wp--preset--color--light-green) 18 | // outline: 0 -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/04-elements/lists.sass: -------------------------------------------------------------------------------- 1 | // Lists 2 | 3 | ol, 4 | ul 5 | list-style: none 6 | margin: 0 7 | padding: 0 8 | margin-left: var(--wp--custom--spacing--medium) 9 | margin-top: var(--wp--custom--spacing--medium) 10 | margin-bottom: var(--wp--custom--spacing--medium) 11 | padding-left: var(--wp--custom--spacing--medium) 12 | 13 | 14 | li 15 | margin-bottom: var(--wp--custom--spacing--x-small) 16 | 17 | 18 | ol > li 19 | list-style-type: decimal 20 | 21 | 22 | ul > li 23 | list-style-type: disc 24 | 25 | 26 | ol ol, 27 | ul ul, 28 | ol ul, 29 | ul ol 30 | margin-bottom: 0 -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/04-elements/media.sass: -------------------------------------------------------------------------------- 1 | // Media Elements 2 | 3 | img 4 | display: block 5 | height: auto 6 | max-width: 100% 7 | 8 | 9 | figure 10 | margin: 0 11 | margin-bottom: var(--wp--custom--spacing--medium) 12 | max-width: 100% 13 | position: relative 14 | 15 | 16 | // Make sure embeds and iframes fit their containers. 17 | embed, 18 | iframe, 19 | img, 20 | object, 21 | video 22 | max-width: 100% 23 | 24 | 25 | .wp-audio-shortcode, 26 | .wp-playlist, 27 | .wp-video, 28 | .wp-block-image, 29 | .wp-block-embed 30 | margin-bottom: var(--wp--custom--spacing--medium) 31 | 32 | 33 | // Media Captions 34 | figcaption 35 | color: var(--color-dark-gray) 36 | font-size: var(--wp--preset--font-size--small) 37 | font-style: italic 38 | text-align: center 39 | margin-top: 10px 40 | padding: 0 41 | 42 | .alignleft &, 43 | .alignright & 44 | margin-bottom: 0 -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/04-elements/misc.sass: -------------------------------------------------------------------------------- 1 | // Miscellaneous Elements 2 | 3 | code 4 | padding: 2px 4px 5 | white-space: nowrap 6 | 7 | 8 | mark 9 | background: #ddd 10 | color: #000 -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/04-elements/text.sass: -------------------------------------------------------------------------------- 1 | // Text Style 2 | 3 | // Paragraph Style 4 | 5 | p 6 | margin: 0 auto 7 | margin-bottom: var(--wp--custom--spacing--small) 8 | padding: 0 9 | 10 | 11 | // Headings 12 | 13 | h1, 14 | h2, 15 | h3, 16 | h4, 17 | h5, 18 | h6 19 | margin: 0 auto 20 | margin-top: var(--wp--custom--spacing--medium) 21 | margin-bottom: var(--wp--custom--spacing--small) 22 | line-height: var(--wp--custom--line-height--small) 23 | 24 | a 25 | color: var(--wp--custom--color--foreground) 26 | text-decoration: none 27 | 28 | &:hover, 29 | &:focus, 30 | &:active 31 | color: var(--wp--custom--color--secondary) 32 | 33 | 34 | b, 35 | strong 36 | font-weight: var(--wp--custom--font-weight--bold) 37 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/05-blocks/alignment.sass: -------------------------------------------------------------------------------- 1 | // Block Alignment 2 | 3 | .alignwide, 4 | .alignfull 5 | margin-left: calc(50% - (50vw - (var(--wp--custom--width--scrollbar) / 2))) 6 | margin-right: calc(50% - (50vw - (var(--wp--custom--width--scrollbar) / 2))) 7 | max-width: 100vw 8 | width: calc(100vw - var(--wp--custom--width--scrollbar)) 9 | 10 | 11 | // Loade Align Wide styles only on desktop 12 | @include above-desktop 13 | // For the negative left/right margin, subtract page width from the content width, subtract the side spacing, and divide by two 14 | // Medi query is bsaed on the --wp--custom--width--full width 15 | 16 | .alignwide 17 | margin-left: calc( ( ( var(--wp--custom--width--full) - var(--wp--custom--width--content) - var(--wp--custom--spacing--side) ) / 2 ) * -1 ) 18 | margin-right: calc( ( ( var(--wp--custom--width--full) - var(--wp--custom--width--content) - var(--wp--custom--spacing--side) ) / 2 ) * -1 ) 19 | max-width: calc( 100% + ( var(--wp--custom--width--full) - var(--wp--custom--width--content) - var(--wp--custom--spacing--side) ) ) // 400px sum of left and right margin 20 | width: var(--wp--custom--width--full) 21 | 22 | 23 | 24 | .wp-block-cover 25 | &__inner-container 26 | max-width: var(--wp--custom--width--responsive) 27 | 28 | 29 | // Specific Block Alignment 30 | 31 | .full-width-content 32 | .alignwide 33 | max-width: auto 34 | width: auto 35 | margin-left: auto 36 | margin-right: auto 37 | 38 | 39 | .wp-block-image, 40 | .wp-block-embed 41 | 42 | &.alignwide, 43 | &.alignfull 44 | margin-bottom: var(--wp--custom--spacing--medium) 45 | 46 | 47 | // Alighments 48 | 49 | .alignleft 50 | display: inline 51 | float: left 52 | margin-right: var(--wp--custom--spacing--medium) 53 | 54 | 55 | .alignright 56 | display: inline 57 | float: right 58 | margin-left: var(--wp--custom--spacing--medium) 59 | 60 | 61 | .aligncenter 62 | clear: both 63 | display: block 64 | margin-left: auto 65 | margin-right: auto 66 | 67 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/05-blocks/block-styles.sass: -------------------------------------------------------------------------------- 1 | // Block styles available to multiple blocks 2 | 3 | // Height 4 | .is-style-full-height 5 | height: 100vh -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/05-blocks/buttons.sass: -------------------------------------------------------------------------------- 1 | // Button block 2 | 3 | .wp-block-buttons 4 | --wp--custom--grid--gap: var(--wp--custom--spacing--small) 5 | gap: var(--wp--custom--grid--gap) !important 6 | margin-bottom: var(--wp--custom--spacing--medium) 7 | 8 | 9 | .wp-block-button__link 10 | background-color: var(--wp--custom--button--background) 11 | border: 0 12 | border-radius: 0 13 | color: var( --color-inherit, var(--wp--custom--button--color) ) 14 | cursor: pointer 15 | font-size: var(--button-font-size) 16 | font-weight: var(--wp--custom--font-weight--bold) 17 | padding: var(--wp--custom--button--padding) 18 | text-decoration: none 19 | white-space: normal 20 | width: auto 21 | line-height: normal 22 | transition: all 0.25s ease-in-out 23 | 24 | &:hover, 25 | &:focus 26 | border: 0 27 | background-color: var( --color-inherit-background, var(--wp--custom--button--background) ) 28 | color: var( --color-inherit, var(--wp--custom--button--color) ) 29 | 30 | &:focus 31 | box-shadow: 0 0 0 3px var(--wp--preset--color--white),0 0 0 5px currentColor 32 | outline: 0 33 | 34 | svg 35 | vertical-align: middle 36 | fill: currentcolor 37 | 38 | 39 | // Paragraph to Button Spacing 40 | p + .wp-block-buttons 41 | margin-top: var(--wp--custom--spacing--medium) -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/05-blocks/columns.sass: -------------------------------------------------------------------------------- 1 | // Block Columns 2 | 3 | .wp-block-columns 4 | gap: var(--wp--custom--grid--gap) 5 | margin-bottom: var(--wp--custom--spacing--block-gap) 6 | 7 | 8 | .wp-block-column 9 | margin: 0 !important 10 | 11 | 12 | .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:only-child) 13 | flex-basis: 100% !important 14 | 15 | 16 | // Remove first and last margin 17 | .wp-block-column > :first-child 18 | margin-top: 0 19 | 20 | 21 | .wp-block-column > :last-child 22 | margin-bottom: 0 23 | 24 | 25 | // Column Styles 26 | 27 | .is-style-medium-gap 28 | --wp--custom--grid--gap: var(--wp--custom--spacing--large) 29 | 30 | @include phone 31 | --wp--custom--grid--gap: var(--wp--custom--spacing--medium) 32 | 33 | 34 | .is-style-large-gap 35 | --wp--custom--grid--gap: var(--wp--custom--spacing--x-large) 36 | 37 | @include phone 38 | --wp--custom--grid--gap: var(--wp--custom--spacing--large) 39 | 40 | 41 | .is-style-medium-spacing 42 | padding: var(--wp--custom--spacing--medium) 43 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/05-blocks/cover.sass: -------------------------------------------------------------------------------- 1 | // Block Cover Image 2 | 3 | .wp-block-cover 4 | margin-bottom: var(--wp--custom--spacing--block-gap) 5 | 6 | 7 | .wp-block-cover.alignfull 8 | margin-bottom: 0 9 | 10 | 11 | // Remove first and last margin 12 | .wp-block-cover__inner-container > :first-child 13 | margin-top: 0 14 | 15 | 16 | .wp-block-cover__inner-container > :last-child 17 | margin-bottom: 0 18 | 19 | 20 | .wp-block-cover 21 | min-height: auto 22 | padding: var(--wp--custom--spacing--medium) 23 | 24 | &.alignfull 25 | padding-top: var(--wp--custom--spacing--block-gap) 26 | padding-bottom: var(--wp--custom--spacing--block-gap) 27 | 28 | &.has-background-dim 29 | background-color: var(--color-inherit-background, var(--wp--custom--color--foreground)) 30 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/05-blocks/gallery.sass: -------------------------------------------------------------------------------- 1 | // Block Gallery 2 | 3 | // .wp-block-gallery.has-nested-images 4 | // figure.wp-block-image:not(#individual-image) 5 | // margin: 0 var(--wp--custom--grid--gap) var(--wp--custom--grid--gap) 0 6 | // width: calc(50% - var(--wp--custom--grid--gap)/2) -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/05-blocks/groups.sass: -------------------------------------------------------------------------------- 1 | // Block Group 2 | 3 | .wp-block-group:not(.has-background):not(.alignwide):not(.alignfull) 4 | --wp--custom--spacing--group-padding: 0 5 | 6 | 7 | // Group padding 8 | .wp-block-group 9 | padding: var(--wp--custom--spacing--group-padding) 10 | margin-bottom: var(--wp--custom--spacing--block-gap) 11 | 12 | &.alignfull 13 | padding-top: var(--wp--custom--spacing--group-padding) 14 | padding-bottom: var(--wp--custom--spacing--group-padding) 15 | 16 | 17 | .wp-block-group.alignfull 18 | margin-bottom: 0 19 | 20 | 21 | // Remove first and last margin 22 | .wp-block-group > :first-child 23 | margin-top: 0 24 | 25 | 26 | .wp-block-group > :last-child 27 | margin-bottom: 0 28 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/05-blocks/media-text.sass: -------------------------------------------------------------------------------- 1 | // Block Media & Text 2 | 3 | 4 | .wp-block-media-text 5 | gap: var(--wp--custom--grid--gap) 6 | margin-bottom: var(--wp--custom--spacing--block-gap) 7 | 8 | .wp-block-media-text__content 9 | padding: 0 10 | 11 | 12 | // Remove first and last margin 13 | .wp-block-media-text__content > :first-child 14 | margin-top: 0 15 | 16 | 17 | .wp-block-media-text__content > :last-child 18 | margin-bottom: 0 19 | 20 | 21 | // Block Stacking 22 | .wp-block-media-text, 23 | .wp-block-media-text.is-stacked-on-mobile 24 | 25 | @include tablet 26 | grid-template-columns: 100% 27 | 28 | .wp-block-media-text__content 29 | grid-column: 1 30 | grid-row: 2 31 | 32 | .wp-block-media-text__media 33 | grid-column: 1 34 | grid-row: 1 35 | 36 | 37 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/05-blocks/quotes.sass: -------------------------------------------------------------------------------- 1 | // Block Quotes and Captions 2 | 3 | .wp-block-quote 4 | --quote-font-size: var(--wp--preset--font-size--large) 5 | 6 | margin-top: var(--wp--custom--spacing--medium) 7 | margin-bottom: var(--wp--custom--spacing--medium) 8 | border: none 9 | 10 | // &::before 11 | // content: "\201C" 12 | // display: block 13 | // font-size: var(--block-quote-mark-size) 14 | // height: var(--block-quote-mark-size) 15 | // position: relative 16 | 17 | p 18 | font-size: var(--quote-font-size) 19 | 20 | &:last-of-type 21 | margin-bottom: 0 22 | 23 | cite 24 | color: var(--color-dark-gray) 25 | font-size: var(--wp--preset--font-size--small) 26 | font-weight: var(--wp--custom--font-weight--bold) 27 | font-style: normal 28 | display: block 29 | margin-top: var(--wp--custom--spacing--small) -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/05-blocks/search.sass: -------------------------------------------------------------------------------- 1 | // Search 2 | 3 | .wp-block-search 4 | 5 | .wp-block-search__inside-wrapper 6 | --wp--custom--grid--gap: var(--wp--custom--spacing--small) 7 | gap: var(--wp--custom--grid--gap) 8 | 9 | .wp-block-search__input 10 | padding: var(--form-padding) 11 | border: var(--form-border) 12 | 13 | .wp-block-search__button 14 | margin-left: 0 15 | 16 | &:hover, 17 | &:focus -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/05-blocks/seperator.sass: -------------------------------------------------------------------------------- 1 | // Block Seperator 2 | 3 | hr, 4 | hr.wp-block-separator 5 | border: 0 6 | border-collapse: collapse 7 | border-top: 1px solid 8 | border-color: var(currentcolor, var(--wp--custom--border--color)) 9 | clear: both 10 | margin-top: 1.65rem 11 | margin-bottom: 1.65rem 12 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/05-blocks/social-icons.sass: -------------------------------------------------------------------------------- 1 | // Social Icons 2 | 3 | .wp-block-social-links 4 | 5 | .wp-social-link 6 | color: var(currentColor, var(--wp--custom--color--foreground)) !important 7 | background-color: transparent !important 8 | 9 | a 10 | background-color: transparent !important 11 | 12 | &:focus 13 | color: var(--wp--custom--color--secondary) -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/05-blocks/table.sass: -------------------------------------------------------------------------------- 1 | // Table 2 | 3 | .wp-block-table 4 | &.is-style-stripes 5 | 6 | thead 7 | border-bottom: 2px solid var(--wp--custom--border--color) 8 | 9 | tbody tr:nth-child(2n+1) 10 | background-color: var(--color-light-gray) -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/05-blocks/text.sass: -------------------------------------------------------------------------------- 1 | // Text Options 2 | 3 | p.has-background 4 | padding: var(--wp--custom--spacing--medium) -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/06-blocks-custom/block-toggle.sass: -------------------------------------------------------------------------------- 1 | 2 | @import "../02-tools/variables" 3 | @import "../02-tools/mixins" 4 | 5 | 6 | .toggle-block 7 | margin-bottom: var(--wp--custom--spacing--medium) 8 | 9 | &__header 10 | position: relative 11 | width: 100% 12 | background-color: var(--wp--preset--color--light-gray) 13 | margin-bottom: 0 !important 14 | margin-top: 0 !important 15 | 16 | .block__inner 17 | padding: var(--wp--custom--spacing--medium) 18 | 19 | 20 | .toggle__content:not(.open) 21 | display: none 22 | 23 | 24 | .toggle__button 25 | --wp--custom--button--color: var(--wp--custom--color--foreground) 26 | --wp--custom--grid--gap: var(--wp--custom--spacing--small) 27 | display: flex 28 | align-items: center 29 | gap: var(--wp--custom--grid--gap) 30 | background: transparent 31 | border: none 32 | border-radius: 0 33 | box-shadow: none 34 | padding: var(--wp--custom--spacing--small) 35 | outline: none 36 | cursor: pointer 37 | width: 100% 38 | 39 | svg 40 | display: none 41 | 42 | 43 | .js .toggle__button 44 | svg 45 | display: block 46 | width: 0.6em 47 | height: 0.6em 48 | 49 | 50 | .js .toggle__button:not(.expanded) 51 | svg 52 | transform: rotate(-90deg) 53 | 54 | 55 | // .js .toggle__button 56 | // &:hover, 57 | // &:focus 58 | // --wp--custom--button--color: var(--wp--custom--color--secondary) 59 | 60 | // &:hover::before, 61 | // &:focus::before 62 | // content: '' 63 | // position: absolute 64 | // top: 0 65 | // left: 0 66 | // height: 100% 67 | // width: 100% 68 | // background-color: var(--wp--preset--color--light-green) 69 | // color: var(--wp--custom--color--secondary) 70 | 71 | // > svg 72 | // fill: var(--wp--custom--color--secondary) 73 | 74 | // > * 75 | // z-index: 1 -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/06-blocks-custom/content-grid.sass: -------------------------------------------------------------------------------- 1 | // Variables & Resets 2 | //********************************************** 3 | 4 | // Tools 5 | 6 | @import "../02-tools/variables" 7 | @import "../02-tools/mixins" 8 | 9 | .three-columns 10 | --grid-columns: repeat(3, 1fr) 11 | 12 | 13 | .four-columns 14 | --grid-columns: repeat(4, 1fr) 15 | 16 | 17 | .content-grid-block 18 | margin-bottom: var(--wp--custom--spacing--block-gap) 19 | 20 | .inner_content 21 | display: grid 22 | gap: var(--wp--custom--grid--gap) 23 | 24 | @include above-tablet 25 | grid-template-columns: var(--grid-columns) 26 | 27 | 28 | .content-grid-block 29 | 30 | .entry 31 | margin-bottom: 0 32 | 33 | .entry-image-link 34 | margin-bottom: var(--wp--custom--spacing--small) 35 | 36 | .entry-header 37 | margin-bottom: var(--wp--custom--spacing--medium) 38 | 39 | &:hover a, 40 | &:focus a 41 | color: var(--wp--custom--color--secondary) 42 | 43 | .entry-title 44 | font-size: var(--wp--custom--heading--size-h4) -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/06-blocks-custom/icon.sass: -------------------------------------------------------------------------------- 1 | // Variables & Resets 2 | //********************************************** 3 | 4 | // Tools 5 | 6 | @import "../02-tools/variables" 7 | @import "../02-tools/mixins" 8 | 9 | 10 | // Icon Size 11 | .icon-size-default .icon 12 | --icon--size: var(--wp--custom--icon--normal) 13 | width: var(--icon--size) 14 | height: var(--icon--size) 15 | 16 | .icon-size-small .icon 17 | --icon--size: var(--wp--custom--icon--small) 18 | width: var(--icon--size) 19 | height: var(--icon--size) 20 | 21 | .icon-size-large .icon 22 | --icon--size: var(--wp--custom--icon--large) 23 | width: var(--icon--size) 24 | height: var(--icon--size) 25 | 26 | 27 | // Icon Block 28 | .icon-block 29 | display: flex 30 | flex-wrap: nowrap 31 | gap: var(--wp--custom--spacing--small) 32 | margin-bottom: var(--wp--custom--spacing--small) 33 | 34 | .icon 35 | fill: currentColor 36 | 37 | &.icon-align-top, 38 | &.icon-align-center 39 | flex-direction: column 40 | 41 | &.icon-align-left 42 | flex-direction: row 43 | 44 | &.icon-align-top .icon 45 | align-self: start 46 | 47 | &.icon-align-center .icon 48 | align-self: center 49 | 50 | &.is-vertically-aligned-center 51 | align-items: center 52 | 53 | &.is-vertically-aligned-top 54 | align-items: flex-start 55 | 56 | &.is-vertically-aligned-bottom 57 | align-items: flex-end 58 | 59 | 60 | & > .block__inner 61 | display: block 62 | width: 100% 63 | flex-grow: 1 64 | flex-basis: min-content 65 | 66 | > *:last-child:first-child 67 | margin-bottom: 0 -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/06-blocks-custom/term-grid.sass: -------------------------------------------------------------------------------- 1 | // Variables & Resets 2 | //********************************************** 3 | 4 | // Tools 5 | 6 | @import "../02-tools/variables" 7 | @import "../02-tools/mixins" 8 | 9 | .three-columns 10 | --grid-columns: repeat(3, 1fr) 11 | 12 | 13 | .four-columns 14 | --grid-columns: repeat(4, 1fr) 15 | 16 | 17 | .taxonomy-grid-block 18 | margin-bottom: var(--wp--custom--spacing--block-gap) 19 | 20 | .inner_content 21 | display: grid 22 | gap: var(--wp--custom--grid--gap) 23 | 24 | @include above-tablet 25 | grid-template-columns: var(--grid-columns) 26 | 27 | 28 | .taxonomy-link 29 | padding: var(--wp--custom--button--padding) 30 | background: var(--wp--preset--color--light-gray) 31 | text-decoration: none 32 | 33 | &:focus 34 | &:hover 35 | background-color: var(--wp--preset--color--light-green) -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/06-blocks-custom/video-optimized.sass: -------------------------------------------------------------------------------- 1 | 2 | @import "../02-tools/variables" 3 | @import "../02-tools/mixins" 4 | 5 | 6 | .optimized-video-block 7 | iframe 8 | position: absolute 9 | height: 100% 10 | width: 100% 11 | top: 0 12 | left: 0 13 | background-color: transparent 14 | 15 | 16 | .video-block__wrapper 17 | aspect-ratio: var(--wp--custom--ratio--16-9) 18 | position: relative 19 | background-color: var(--wp--custom--button--background) 20 | color: var(--wp--custom--button--color) 21 | cursor: pointer 22 | 23 | &:hover > .video-block__button, 24 | &:focus > .video-block__button 25 | --wp--custom--button--background: var(--wp--preset--color--light-green) 26 | --wp--custom--button--color: var(--wp--custom--color--secondary) 27 | 28 | 29 | .video-block__thumbnail 30 | object: cover 31 | width: 100% 32 | 33 | 34 | .video-block__button 35 | position: absolute 36 | top: 50% 37 | left: 50% 38 | transform: translate3d( -50%, -50%, 0 ) -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/07-blocks-editor/alignment.sass: -------------------------------------------------------------------------------- 1 | // Alighments 2 | .wp-block[data-align="left"] > .wp-block-image 3 | margin-right: var(--wp--custom--spacing--medium) 4 | 5 | 6 | .wp-block[data-align="right"] > .wp-block-image 7 | margin-left: var(--wp--custom--spacing--medium) 8 | 9 | 10 | // Group Blocks 11 | .wp-block[data-align="full"] 12 | > .wp-block-group, 13 | > .wp-block-cover 14 | padding-top: var(--wp--custom--spacing--block-gap) 15 | padding-bottom: var(--wp--custom--spacing--block-gap) -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/07-blocks-editor/video-optimized.sass: -------------------------------------------------------------------------------- 1 | // Optimized Video Block 2 | 3 | .video-block__wrapper 4 | position: relative 5 | 6 | > .video-block__button 7 | background-color: var( --color-inherit-background, var(--wp--custom--color--foreground) ) 8 | border: 0 9 | border-radius: 0 10 | color: var( --color-inherit, var(--wp--preset--color--white) ) 11 | cursor: pointer 12 | font-size: var(--wp--preset--font-size--small) 13 | font-weight: var(--wp--custom--font-weight--bold) 14 | padding: 16px 24px 15 | text-decoration: none 16 | white-space: normal 17 | width: auto 18 | line-height: normal 19 | transition: all 0.25s ease-in-out 20 | 21 | &:hover, 22 | &:focus, 23 | &:visited 24 | background-color: var( --color-inherit-background, var(--wp--custom--color--secondary) ) 25 | color: var( --color-inherit, var(--wp--preset--color--white) ) 26 | 27 | &:disabled 28 | background-color: var(--wp--custom--border--color) 29 | border-width: 0 30 | color: var(--wp--custom--color--foreground) 31 | cursor: not-allowed -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/08-components/archives.sass: -------------------------------------------------------------------------------- 1 | // Archives -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/08-components/author.sass: -------------------------------------------------------------------------------- 1 | // Author Profile 2 | .author-profile 3 | display: flex 4 | gap: var(--wp--custom--grid--gap) 5 | @include small-phone 6 | flex-direction: column 7 | .avatar 8 | float: none 9 | height: auto 10 | max-width: 96px 11 | 12 | &__title 13 | font-size: var(--wp--custom--heading--size-h4) 14 | margin-top: 0 15 | 16 | &__description 17 | margin-bottom: 0 -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/08-components/banner.sass: -------------------------------------------------------------------------------- 1 | // Banner Styles 2 | 3 | .top-banner-visible 4 | .block-content-area.banner 5 | display: block 6 | 7 | 8 | .block-content-area.banner 9 | padding-top: var(--wp--custom--spacing--small) 10 | padding-bottom: var(--wp--custom--spacing--small) 11 | 12 | 13 | .block-content-area.banner 14 | display: none 15 | background-color: var(--wp--preset--color--light-gray) 16 | position: relative 17 | margin-top: 0 18 | 19 | &.dismissable__button 20 | 21 | .block__inner 22 | display: block 23 | width: calc( 100% - ( var(--wp--custom--spacing--side) * 2 ) ) 24 | max-width: var(--wp--custom--width--max-width) 25 | margin: 0 auto 26 | 27 | button 28 | position: absolute 29 | right: 0 30 | top: 0 -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/08-components/breadcrumbs.sass: -------------------------------------------------------------------------------- 1 | // Breadcrumbs 2 | 3 | .breadcrumb 4 | display: flex 5 | flex-wrap: wrap 6 | gap: var(--wp--custom--spacing--x-small) 7 | font-size: var(--wp--preset--font-size--small) 8 | 9 | .separator 10 | display: flex 11 | align-items: center 12 | 13 | svg 14 | --icon--size: 0.7em 15 | width: var(--icon--size) 16 | height: var(--icon--size) 17 | transform: rotate(-90deg) 18 | fill: var(--wp--preset--color--dark-gray) -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/08-components/comments.sass: -------------------------------------------------------------------------------- 1 | // Comment 2 | 3 | .comment-list 4 | padding-left: 0 5 | 6 | .comment 7 | margin-bottom: 0 8 | 9 | .depth-1 10 | padding-left: 0 11 | 12 | .children 13 | padding-left: var(--wp--custom--spacing--side) 14 | 15 | .comment-header 16 | margin-bottom: var(--wp--custom--spacing--medium) 17 | 18 | p 19 | margin-bottom: 0 20 | 21 | .comment-content 22 | clear: both 23 | 24 | .alert 25 | font-weight: var(--wp--custom--font-weight--bold) 26 | 27 | li 28 | list-style: none 29 | padding: var(--wp--custom--spacing--medium) 0 0 0 30 | 31 | 32 | .comment-author-name 33 | font-weight: var(--wp--custom--font-weight--bold) 34 | 35 | 36 | .comment-respond 37 | 38 | label 39 | display: block 40 | 41 | .comment-form-cookies-consent label 42 | display: inline-block 43 | 44 | .form-submit 45 | margin-bottom: 0 46 | 47 | .comment-reply-title 48 | display: flex 49 | align-items: center 50 | gap: var(--wp--custom--grid--gap) -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/08-components/entry.sass: -------------------------------------------------------------------------------- 1 | 2 | // Header 3 | 4 | .entry-title 5 | margin-top: 0 6 | 7 | 8 | // Featured Image 9 | 10 | .entry-image-link 11 | display: block 12 | line-height: 0 13 | 14 | 15 | .entry-image 16 | margin-bottom: var(--wp--custom--spacing--medium) 17 | 18 | 19 | // Entry Meta 20 | 21 | .entry-meta 22 | --wp--custom--grid--gap: var(--wp--custom--spacing--small) 23 | display: flex 24 | flex-wrap: wrap 25 | gap: var(--wp--custom--grid--gap) 26 | row-gap: 0.5em 27 | font-size: var(--wp--preset--font-size--small) 28 | 29 | a 30 | font-weight: var(--wp--custom--font-weight--normal) 31 | 32 | .entry-categories, 33 | .entry-tags 34 | display: block 35 | font-weight: var(--wp--custom--font-weight--normal-bold) 36 | 37 | 38 | .entry-meta-after-content 39 | flex-direction: column -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/08-components/footer.sass: -------------------------------------------------------------------------------- 1 | // Site Footer 2 | //********************************************** 3 | 4 | .site-footer 5 | background-color: var(--wp--preset--color--light-green) 6 | 7 | 8 | .block-content-area.footer 9 | font-size: var(--wp--preset--font-size--small) 10 | 11 | 12 | .sub-footer 13 | border-top: 1px solid var(--wp--custom--border--color) 14 | font-size: var(--wp--preset--font-size--small) 15 | text-align: center 16 | 17 | p 18 | margin-bottom: 0 19 | 20 | 21 | .copyright 22 | width: auto 23 | margin: 0 24 | 25 | 26 | // Footer Navigation 27 | .menu-secondary 28 | --menu--item-padding: var(--wp--custom--spacing--small) 29 | padding: 0 30 | 31 | a 32 | padding: var(--menu--item-padding) 33 | text-decoration: underline 34 | 35 | &:hover, 36 | &:focus 37 | text-decoration: none 38 | 39 | li 40 | max-width: max-content 41 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/08-components/header.sass: -------------------------------------------------------------------------------- 1 | // Site Header 2 | //********************************************** 3 | 4 | .site-header 5 | position: relative 6 | background-color: var(--wp--preset--color--white) 7 | 8 | > .wrap 9 | display: flex 10 | flex-wrap: wrap 11 | justify-content: space-between 12 | align-items: center 13 | 14 | 15 | .site-title 16 | font-size: var(--wp--preset--font-size--huge) 17 | font-weight: var(--wp--custom--font-weight--bold) 18 | line-height: var(--wp--custom--line-height--small) 19 | margin: 0 20 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/08-components/login.sass: -------------------------------------------------------------------------------- 1 | // Login Page 2 | 3 | .login 4 | background-color: var(--wp--custom--color--background) 5 | 6 | h1 a 7 | background-image: url(../images/login-logo.svg), linear-gradient(transparent, transparent), none 8 | background-size: contain 9 | background-position: center center 10 | background-repeat: no-repeat 11 | display: block 12 | width: auto 13 | height: 0 14 | // Responsvie image size - also adjust percenta to make larger 15 | padding-bottom: 140px / 320px * 100% 16 | font-size: 20px 17 | line-height: var(--wp--custom--line-height--small) 18 | margin: 0 auto 25px 19 | text-indent: -9999px 20 | outline: 0 21 | display: block 22 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/08-components/pagination.sass: -------------------------------------------------------------------------------- 1 | // Pagination 2 | //********************************************** 3 | 4 | .pagination 5 | ul 6 | margin: 0 7 | padding: 0 8 | 9 | 10 | .pagination-item 11 | list-style: none 12 | 13 | 14 | .nav-title 15 | display: block 16 | font-weight: var(--wp--custom--font-weight--bold) 17 | text-decoration: none !important 18 | 19 | 20 | .adjacent-entry-pagination 21 | a 22 | font-weight: var(--wp--custom--font-weight--normal) 23 | 24 | 25 | // .archive-pagination -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/08-components/post-elements.sass: -------------------------------------------------------------------------------- 1 | // Post Elements 2 | 3 | pre 4 | overflow-wrap: break-word 5 | white-space: pre-wrap 6 | 7 | 8 | // Tables 9 | 10 | table 11 | border-collapse: collapse 12 | border-spacing: 0 13 | line-height: var(--wp--custom--line-height--normal) 14 | margin-bottom: var(--wp--custom--spacing--medium) 15 | width: 100% 16 | word-break: break-all 17 | 18 | td, 19 | th 20 | text-align: left 21 | 22 | // &:first-child 23 | // padding-left: 0 24 | 25 | td 26 | border-top: 1px solid var(--wp--custom--border--color) 27 | padding: 6px 28 | 29 | thead th, 30 | tfoot td 31 | font-weight: var(--wp--custom--font-weight--bold) 32 | padding: 0 6px 33 | 34 | 35 | tbody 36 | border-bottom: 1px solid var(--wp--custom--border--color) -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/08-components/related-posts.sass: -------------------------------------------------------------------------------- 1 | // Related Posts Styles 2 | 3 | .related-posts 4 | --grid-columns: repeat(3, 1fr) 5 | 6 | a::before 7 | content: "" 8 | position: absolute 9 | top: 0 10 | width: 100% 11 | height: 100% 12 | 13 | .entry, 14 | .entry-content 15 | margin-bottom: 0 16 | 17 | .entry-header 18 | position: relative -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/08-components/social-share.sass: -------------------------------------------------------------------------------- 1 | // Social Share 2 | 3 | .share-links 4 | 5 | &__heading 6 | font-size: var( --wp--custom--heading--size-h4 ) 7 | 8 | &__list 9 | margin: 0 10 | padding: 0 11 | display: flex 12 | flex-wrap: wrap 13 | gap: var(--wp--custom--grid--gap) 14 | 15 | &__item 16 | list-style: none 17 | margin: 0 18 | 19 | &:hover a, 20 | &:focus a 21 | color: var(--wp--custom--color--foreground) 22 | 23 | &:hover svg, 24 | &:focus svg 25 | fill: var(--wp--custom--color--foreground) 26 | 27 | &__link 28 | display: flex 29 | align-items: center 30 | gap: var(--wp--custom--spacing--x-small) 31 | 32 | &__name 33 | @include small-phone 34 | @include hiden-text 35 | 36 | .icon 37 | width: var(--wp--custom--icon--normal) 38 | height: var(--wp--custom--icon--normal) -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/09-utilities/accessibility.sass: -------------------------------------------------------------------------------- 1 | // Screen Reader Text 2 | 3 | .screen-reader-shortcut, 4 | .screen-reader-text, 5 | .screen-reader-text span 6 | @include hiden-text 7 | 8 | 9 | .screen-reader-text, 10 | .screen-reader-shortcut 11 | 12 | &:focus 13 | background: var(--wp--preset--color--white) 14 | box-shadow: 0 0 2px 2px rgba( var(--wp--custom--color--foreground), .6) 15 | clip: auto !important 16 | color: var(--wp--custom--color--foreground) 17 | display: block 18 | font-size: 1em 19 | font-weight: var(--font-weight-bolf) 20 | height: auto 21 | padding: 15px 23px 14px 22 | text-decoration: none 23 | width: auto 24 | z-index: 100000 25 | 26 | 27 | .more-link 28 | position: relative 29 | 30 | 31 | // Skip Links 32 | 33 | .genesis-skip-link 34 | margin: 0 35 | 36 | li 37 | height: 0 38 | list-style: none 39 | margin-bottom: 0 40 | width: 0 41 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/09-utilities/avatar.sass: -------------------------------------------------------------------------------- 1 | // Avatar 2 | 3 | .avatar 4 | float: left 5 | 6 | 7 | .alignleft .avatar 8 | margin-right: 24px 9 | 10 | 11 | .alignright .avatar 12 | margin-left: 24px 13 | 14 | 15 | .comment .avatar 16 | margin: 0 16px 24px 0 17 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/09-utilities/editor-not-scoped.sass: -------------------------------------------------------------------------------- 1 | // Hide Post Title 2 | .genesis-title-hidden 3 | .editor-post-title__block 4 | opacity: 0.4 5 | display: flex 6 | align-items: center 7 | 8 | &::after 9 | content: "\f530" 10 | font-family: 'dashicons' 11 | font-size: var(--wp--preset--font-size--huge) 12 | 13 | 14 | .narrow-content 15 | .editor-styles-wrapper 16 | .edit-post-visual-editor__post-title-wrapper, 17 | .block-editor-block-list__layout.is-root-container 18 | --wp--custom--width--max-width: var(--wp--custom--width--content) 19 | --wp--custom--width--responsive: var(--wp--custom--width--content) -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/09-utilities/editor.sass: -------------------------------------------------------------------------------- 1 | // Post Title 2 | .edit-post-visual-editor__post-title-wrapper 3 | margin-bottom: 1rem 4 | 5 | .editor-post-title__block .editor-post-title__input 6 | font-family: var(--wp--preset--font-family--priamry) 7 | font-size: var(--wp--custom--heading--size-h-1) 8 | font-weight: var(--wp--custom--font-weight--bold) 9 | line-height: var(--wp--custom--line-height--small) 10 | 11 | 12 | // Content Widths 13 | 14 | // Regular content width 15 | // .wp-block 16 | // max-width: var(--wp--custom--width--max-width) 17 | // margin-left: auto 18 | // margin-right: auto 19 | 20 | // &[data-align="wide"] 21 | // max-width: var(--wp--custom--width--max-width) 22 | 23 | // &[data-align="full"] 24 | // max-width: none 25 | 26 | 27 | // .block-editor-block-list__layout > * 28 | // max-width: var(--wp--custom--width--full) 29 | 30 | 31 | // Cover Block Inner Widht 32 | .wp-block-cover__inner-container 33 | max-width: var(--wp--custom--width--responsive) 34 | 35 | 36 | // Group and Media & Text 37 | .wp-block[data-align="full"] 38 | .wp-block-media-text, 39 | .wp-block-group, 40 | .wp-block-cover 41 | margin-top: 0 42 | margin-bottom: 0 43 | 44 | 45 | // Fix link issues for custom blocks 46 | [data-type*="acf/"] 47 | a, 48 | button 49 | pointer-events: none -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/09-utilities/print.sass: -------------------------------------------------------------------------------- 1 | // Print Styles 2 | 3 | *, 4 | *::before, 5 | *::after 6 | background: transparent !important 7 | box-shadow: none !important 8 | // color: #000 !important 9 | text-shadow: none !important 10 | 11 | a, 12 | a:visited 13 | text-decoration: underline 14 | 15 | a[href^="javascript:"]::after, 16 | a[href^="#"]::after, 17 | .site-title > a::after 18 | content: "" 19 | 20 | thead 21 | display: table-header-group 22 | 23 | img, 24 | tr 25 | page-break-inside: avoid 26 | 27 | img 28 | max-width: 100% !important 29 | 30 | @page 31 | margin: 2cm 0.5cm 32 | 33 | p, 34 | h2, 35 | h3 36 | orphans: 3 37 | widows: 3 38 | 39 | blockquote, 40 | pre 41 | page-break-inside: avoid 42 | 43 | .content, 44 | .content-sidebar 45 | width: 100% 46 | 47 | button, 48 | input, 49 | select, 50 | textarea, 51 | .breadcrumb, 52 | .comment-edit-link, 53 | .comment-form, 54 | .comment-list .reply a, 55 | .comment-reply-title, 56 | .edit-link, 57 | .entry-comments-link, 58 | .entry-footer, 59 | .genesis-box, 60 | .header-widget-area, 61 | .hidden-print, 62 | .home-top, 63 | .nav-primary, 64 | .nav-secondary, 65 | .post-edit-link, 66 | .sidebar, 67 | .site-footer, 68 | .pagination 69 | display: none !important 70 | 71 | .title-area 72 | width: 100% 73 | 74 | .site-title > a 75 | margin: 0 76 | text-decoration: none 77 | text-indent: 0 78 | 79 | .site-inner 80 | padding-top: 0 81 | position: relative 82 | 83 | .author-box 84 | margin-bottom: 0 85 | 86 | h1, 87 | h2, 88 | h3, 89 | h4, 90 | h5, 91 | h6 92 | orphans: 3 93 | page-break-after: avoid 94 | page-break-inside: avoid 95 | widows: 3 96 | 97 | img 98 | page-break-after: avoid 99 | page-break-inside: avoid 100 | 101 | blockquote, 102 | pre, 103 | table 104 | page-break-inside: avoid 105 | 106 | dl, 107 | ol, 108 | ul 109 | page-break-before: avoid 110 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/banner.sass: -------------------------------------------------------------------------------- 1 | // Banner 2 | //********************************************** 3 | 4 | // Variables & Resets 5 | //********************************************** 6 | 7 | @import "02-tools/variables" 8 | @import "02-tools/mixins" 9 | 10 | 11 | // Comments 12 | //********************************************** 13 | 14 | @import "08-components/banner" 15 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/comments.sass: -------------------------------------------------------------------------------- 1 | // Content Area 2 | //********************************************** 3 | 4 | // Variables & Resets 5 | //********************************************** 6 | 7 | @import "02-tools/variables" 8 | @import "02-tools/mixins" 9 | 10 | 11 | // Comments 12 | //********************************************** 13 | 14 | @import "08-components/comments" 15 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/editor-layout.sass: -------------------------------------------------------------------------------- 1 | // Editor Style Sheet 2 | //********************************************** 3 | 4 | // Variables & Resets 5 | //********************************************** 6 | 7 | // Tools 8 | 9 | @import "02-tools/variables" 10 | @import "02-tools/mixins" 11 | 12 | // Elements 13 | @import "04-elements/icons" 14 | 15 | // Utiities 16 | @import "09-utilities/editor-not-scoped" -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/editor.sass: -------------------------------------------------------------------------------- 1 | // Editor Style Sheet 2 | //********************************************** 3 | 4 | // Variables & Resets 5 | //********************************************** 6 | 7 | // Tools 8 | 9 | @import "02-tools/variables" 10 | @import "02-tools/mixins" 11 | 12 | 13 | // Elements 14 | 15 | @import "04-elements/base" 16 | @import "04-elements/text" 17 | @import "04-elements/links" 18 | @import "04-elements/lists" 19 | @import "04-elements/media" 20 | @import "04-elements/forms" 21 | @import "04-elements/misc" 22 | 23 | 24 | // Blocks 25 | @import "05-blocks/text" 26 | @import "05-blocks/buttons" 27 | @import "05-blocks/seperator" 28 | @import "05-blocks/groups" 29 | @import "05-blocks/columns" 30 | @import "05-blocks/media-text" 31 | @import "05-blocks/cover" 32 | @import "05-blocks/quotes" 33 | @import "05-blocks/social-icons" 34 | @import "05-blocks/search" 35 | @import "05-blocks/table" 36 | @import "05-blocks/block-styles" 37 | 38 | @import "07-blocks-editor/alignment" 39 | @import "07-blocks-editor/video-optimized" 40 | 41 | 42 | // Utiities 43 | 44 | @import "09-utilities/editor" 45 | // @import "09-utilities/colors" 46 | // @import "09-utilities/text-sizes" -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/entry-content.sass: -------------------------------------------------------------------------------- 1 | // Entry Content 2 | //********************************************** 3 | 4 | // Setup 5 | @import "02-tools/variables" 6 | @import "02-tools/mixins" 7 | 8 | 9 | // Blocks 10 | @import "05-blocks/alignment" 11 | @import "05-blocks/text" 12 | @import "05-blocks/buttons" 13 | @import "05-blocks/seperator" 14 | @import "05-blocks/groups" 15 | @import "05-blocks/columns" 16 | @import "05-blocks/media-text" 17 | @import "05-blocks/cover" 18 | @import "05-blocks/gallery" 19 | @import "05-blocks/quotes" 20 | @import "05-blocks/social-icons" 21 | @import "05-blocks/search" 22 | @import "05-blocks/table" 23 | @import "05-blocks/block-styles" 24 | 25 | 26 | // Entry 27 | @import "08-components/archives" 28 | @import "08-components/breadcrumbs" 29 | @import "08-components/entry" 30 | @import "08-components/post-elements" 31 | @import "08-components/pagination" 32 | 33 | 34 | // Utilities 35 | @import "09-utilities/avatar" -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/entry-footer.sass: -------------------------------------------------------------------------------- 1 | // Entry Content 2 | //********************************************** 3 | 4 | // Variables & Resets 5 | //********************************************** 6 | 7 | @import "02-tools/variables" 8 | @import "02-tools/mixins" 9 | 10 | // Entry 11 | //********************************************** 12 | 13 | @import "08-components/social-share" 14 | @import "08-components/author" 15 | @import "08-components/related-posts" -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/footer.sass: -------------------------------------------------------------------------------- 1 | // Footer 2 | //********************************************** 3 | 4 | // Variables & Resets 5 | //********************************************** 6 | 7 | @import "02-tools/variables" 8 | @import "02-tools/mixins" 9 | 10 | 11 | // Footer 12 | //********************************************** 13 | 14 | @import "08-components/footer" 15 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/global.sass: -------------------------------------------------------------------------------- 1 | // Settings 2 | 3 | @import "01-settings/fonts" 4 | 5 | 6 | // Tools 7 | @import "02-tools/variables" 8 | @import "02-tools/mixins" 9 | 10 | 11 | // Generic 12 | @import "03-generic/clearings-sizing" 13 | @import "03-generic/layout" 14 | @import "03-generic/vertical-spacing" 15 | 16 | 17 | // Elements 18 | @import "04-elements/base" 19 | @import "04-elements/text" 20 | @import "04-elements/links" 21 | @import "04-elements/lists" 22 | @import "04-elements/media" 23 | @import "04-elements/forms" 24 | @import "04-elements/buttons" 25 | @import "04-elements/icons" 26 | @import "04-elements/misc" 27 | 28 | 29 | // Components 30 | @import "08-components/header" 31 | @import "08-components/navigation" 32 | 33 | 34 | // Utilities 35 | @import "09-utilities/accessibility" -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/login.sass: -------------------------------------------------------------------------------- 1 | // Variables & Resets 2 | //********************************************** 3 | 4 | @import "02-tools/variables" 5 | @import "02-tools/mixins" 6 | 7 | 8 | // Login Page Style 9 | @import "01-settings/globals" 10 | @import "08-components/login" -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/assets/src-sass/print.sass: -------------------------------------------------------------------------------- 1 | // Print Styles 2 | 3 | @import "09-utilities/print" -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/config/child-theme-settings.php: -------------------------------------------------------------------------------- 1 | [ 15 | 'blog_title' => 'text', // or 'image' 16 | 'header_right' => 0, 17 | 'feed_uri' => '', 18 | 'comments_feed_uri' => 0, 19 | 'blog_cat_num' => '', 20 | 'feed_uri' => '', 21 | 'comments_feed_uri' => '', 22 | 'redirect_feeds' => 0, 23 | 'comments_pages' => 0, 24 | 'comments_posts' => 1, 25 | 'trackbacks_pages' => 0, 26 | 'trackbacks_posts' => 0, 27 | 'breadcrumb_home' => 0, 28 | 'breadcrumb_front_page' => 0, 29 | 'breadcrumb_posts_page' => 0, 30 | 'breadcrumb_single' => 1, 31 | 'breadcrumb_page' => 0, 32 | 'breadcrumb_archive' => 1, 33 | 'breadcrumb_404' => 0, 34 | 'breadcrumb_attachment' => 0, 35 | 'content_archive' => 'excerpts', // excerpts, full 36 | 'content_archive_limit' => 0, 37 | 'content_archive_thumbnail' => 1, 38 | 'entry_meta_after_content' => '[post_categories] [post_tags]', 39 | 'entry_meta_before_content' => '[post_date] ' . __( 'by', 'blank-child-theme' ) . ' [post_author_posts_link] [post_comments] [post_edit]', 40 | 'image_size' => 'genesis-singular-images', 41 | 'image_alignment' => 'alignnone', // 'aligncenter', 'alignleft' or 'alignright' 42 | 'posts_nav' => 'older-newer', // older-newer, numeric 43 | 'site_layout' => 'full-width-content', // 'narrow-content', 'full-width-content' 44 | 'posts_per_page' => 6, 45 | ] 46 | ]; 47 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/config/layouts.php: -------------------------------------------------------------------------------- 1 | [ 14 | 'genesis-singular-images', 15 | ], 16 | 'page' => [ 17 | 'genesis-singular-images', 18 | ], 19 | // 'your-type', 20 | // [ 21 | // 'custom-fields', 22 | // 'genesis-seo', 23 | // 'genesis-scripts', 24 | // 'genesis-layouts', 25 | // 'genesis-breadcrumbs-toggle', 26 | // 'genesis-footer-widgets-toggle', 27 | // 'genesis-title-toggle', 28 | // 'genesis-singular-images' 29 | // ], 30 | ]; 31 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/config/theme-supports.php: -------------------------------------------------------------------------------- 1 | [ 13 | 'caption', 14 | 'comment-form', 15 | 'comment-list', 16 | 'gallery', 17 | 'search-form', 18 | 'script', 19 | 'style', 20 | ], 21 | 'genesis-structural-wraps' => [ 22 | 'header', 23 | 'footer' 24 | ], 25 | 'genesis-accessibility' => [ 26 | 'headings', 27 | 'rems', 28 | 'search-form', 29 | 'skip-links' 30 | ], 31 | 'genesis-after-entry-widget-area' => '', 32 | 'genesis-footer-widgets' => 0, 33 | 'genesis-lazy-load-images' => '', 34 | 'genesis-menus' => [ 35 | 'primary' => __( 'Header Menu', 'blank-child-theme' ), 36 | 'secondary' => __( 'Footer Menu', 'blank-child-theme' ), 37 | ], 38 | ]; 39 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/front-page.php: -------------------------------------------------------------------------------- 1 | __( 'Sections', 'blank-child-theme' ) ) ); 31 | register_block_pattern_category( 'elements', array( 'label' => __( 'Page Elements', 'blank-child-theme' ) ) ); 32 | 33 | } 34 | 35 | } 36 | 37 | 38 | // Return block pattern markup 39 | // function get_block_pattern_markup( $path ) { 40 | 41 | // if ( ! locate_template( $path ) ) { 42 | // return; 43 | // } 44 | 45 | // ob_start(); 46 | 47 | // include( locate_template( $path ) ); 48 | // return ob_get_clean(); 49 | 50 | // } 51 | 52 | 53 | /* 54 | * Search and replace image urls base url 55 | * https://mrwweb.com/storing-block-patterns-in-html-files-for-nicer-code-technical 56 | */ 57 | // function replace_theme_uri( $markup ) { 58 | 59 | // return str_replace( '{{theme_uri}}', site_url(), $markup ); 60 | 61 | // } 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/inc/admin/customizer.php: -------------------------------------------------------------------------------- 1 | remove_control( 'blog_title' ); 28 | $wp_customize->remove_section( 'genesis_header' ); 29 | $wp_customize->remove_section( 'genesis_layout' ); 30 | $wp_customize->remove_section( 'genesis_breadcrumbs' ); 31 | // $wp_customize->remove_section( 'genesis_comments' ); 32 | $wp_customize->remove_control( 'genesis_trackbacks_posts' ); 33 | $wp_customize->remove_control( 'genesis_trackbacks_pages' ); 34 | $wp_customize->remove_control( 'genesis_comments_pages' ); 35 | $wp_customize->remove_control( 'genesis_entry_meta_before_content' ); 36 | $wp_customize->remove_control( 'genesis_entry_meta_after_content' ); 37 | $wp_customize->remove_control( 'genesis_show_featured_image_page' ); 38 | $wp_customize->remove_section( 'genesis_archives' ); 39 | // $wp_customize->remove_section( 'genesis_footer' ); 40 | // $wp_customize->remove_section( 'genesis_scripts' ); 41 | 42 | } -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/inc/admin/menu.php: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 |
5 |

An H2 Heading

6 | 7 | 8 | 9 |

Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat.

10 | 11 | 12 | 13 |
14 | 15 |
16 | 17 | 18 | 19 |

20 |
21 | 22 |
23 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/inc/blocks/paragraphs.php: -------------------------------------------------------------------------------- 1 |

' === $block_content` doesn't work, so 23 | * instead we have to count the number of characters in the string. 24 | * 25 | * @since 2.0.1 26 | * 27 | * @param string $block_content Block HTML markup. 28 | * @param array $block Block data. 29 | * 30 | * @return string 31 | */ 32 | add_filter( 'render_block', 'pb_render_paragraph_block', 10, 2 ); 33 | function pb_render_paragraph_block( $block_content, $block ) { 34 | 35 | if ( 'core/paragraph' === $block['blockName'] && 9 === strlen( $block_content ) ) { 36 | $block_content = ''; 37 | } 38 | 39 | return $block_content; 40 | 41 | } -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/inc/functions/author-profile.php: -------------------------------------------------------------------------------- 1 |

%s %s

', 43 | $link, 44 | $prepend, 45 | $name 46 | ); 47 | } else { 48 | $heading = sprintf( 49 | '

%s %s

', 50 | $prepend, 51 | $name 52 | ); 53 | } 54 | 55 | // Include authoe profile 56 | include CHILD_DIR . '/inc/views/author-profile.php'; 57 | 58 | } 59 | 60 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/inc/functions/autoptimize.php: -------------------------------------------------------------------------------- 1 | tag. 25 | */ 26 | 27 | add_action( 'genesis_before', 'pb_add_js_body_class' ); 28 | function pb_add_js_body_class() { 29 | 30 | echo '' . "\n"; 31 | 32 | } -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/inc/functions/post-thumbnail-cache.php: -------------------------------------------------------------------------------- 1 | is_main_query() && pb_is_type_archive() ) ) { 40 | return $posts; 41 | } 42 | 43 | update_post_thumbnail_cache( $wp_query ); 44 | 45 | return $posts; 46 | 47 | } 48 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/inc/functions/rss.php: -------------------------------------------------------------------------------- 1 | ID ) ){ 32 | $feat_image_output = get_the_post_thumbnail( $post->ID, 'full', array( 'style' => 'height: auto;margin-bottom:2em;max-width: 600px !important;padding-top: 0.75em;width: 100% !important;' ) ); 33 | $content = $feat_image_output . $content; 34 | } 35 | } 36 | 37 | return $content; 38 | 39 | } 40 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/inc/partials/no-posts.php: -------------------------------------------------------------------------------- 1 |
'; 21 | 22 | printf( '

%s

', apply_filters( 'genesis_noposts_text', __( 'Sorry, no content matched your criteria.', 'blank-child-theme' ) ) ); 23 | 24 | // Add widget area if needed 25 | 26 | echo '
'; 27 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/inc/partials/read-more.php: -------------------------------------------------------------------------------- 1 | : ' .esc_html( get_the_title() ). ''; 24 | 25 | $continue_reading = $end_of_line . '' . $link_text . $screen_reader . ''; 26 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/inc/structure/header.php: -------------------------------------------------------------------------------- 1 | ' .esc_html__( 'Error', 'blank-child-theme' ). ': ' . '' .__( 'Invalid Username/Email or Password', 'blank-child-theme' ). ''; 41 | return $error_message; 42 | 43 | } 44 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/inc/structure/loop.php: -------------------------------------------------------------------------------- 1 | Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'blank-child-theme' ); 45 | $text = $text . get_search_form(); 46 | 47 | } 48 | 49 | if ( is_archive() ) { 50 | 51 | $text = __( 'Sorry, but I don\'t have any posts on that subject. Please try searching for something else.', 'blank-child-theme' ); 52 | $text = $text . get_search_form(); 53 | 54 | } 55 | 56 | return $text; 57 | 58 | } 59 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/inc/structure/search.php: -------------------------------------------------------------------------------- 1 | is_main_query() && $query->is_search ) { 34 | 35 | $query->set( 36 | 'post_type', 37 | array( 38 | // 'custom-post-type', 39 | 'post', 40 | 'page' 41 | ) 42 | ); 43 | 44 | // $query->set( 'posts_per_page', 10 ); 45 | 46 | } 47 | 48 | return $query; 49 | 50 | } 51 | 52 | 53 | /** 54 | * Exclude noindex'd pages from site search 55 | * https://www.billerickson.net/code/exclude-no-index-content-from-wordpress-search/ 56 | */ 57 | 58 | // add_action( 'pre_get_posts', 'pb_exclude_noindex_from_search' ); 59 | function pb_exclude_noindex_from_search( $query ) { 60 | 61 | if( class_exists('WPSEO_Options') ){ 62 | 63 | if( $query->is_main_query() && $query->is_search() && ! is_admin() ) { 64 | 65 | $meta_query = isset( $query->meta_query ) ? $query->meta_query : array(); 66 | $meta_query['noindex'] = array( 67 | 'key' => '_yoast_wpseo_meta-robots-noindex', 68 | 'value' => 1, 69 | 'compare' => 'NOT EXISTS', 70 | ); 71 | 72 | $query->set( 'meta_query', $meta_query ); 73 | 74 | } 75 | 76 | } 77 | 78 | } -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/inc/structure/sidebar.php: -------------------------------------------------------------------------------- 1 | %s', 45 | esc_html__( 'Primary Sidebar', 'blank-child-theme' ), 46 | ); 47 | 48 | cf_show_content_area( array( 49 | 'location' => 'sidebar', 50 | 'element' => 'aside', 51 | 'id' => 'sidebar-primary', 52 | 'prepend' => $screen_reader_heading 53 | ) ); 54 | 55 | } 56 | 57 | } 58 | 59 | 60 | /** 61 | * Remove Secondary Sidebar 62 | * 63 | * Remove the full strucutre 64 | */ 65 | remove_action( 'genesis_after_content_sidebar_wrap', 'genesis_get_sidebar_alt' ); 66 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/inc/structure/skip-links.php: -------------------------------------------------------------------------------- 1 | $label ) { 38 | if( 'genesis-content' == $id ) { 39 | $id = 'main-content'; 40 | } 41 | 42 | if( 'genesis-footer-widgets' == $id ) { 43 | $id = 'footer'; 44 | } 45 | 46 | $skip_links[ $id ] = $label; 47 | 48 | } 49 | 50 | return $skip_links; 51 | 52 | } -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/inc/views/author-profile.php: -------------------------------------------------------------------------------- 1 |
2 |

3 |
4 | 5 |
6 |
7 | 8 |

9 | 10 |

11 |
12 |
13 | 14 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/patric-boehner/Blank-Genesis-Child-Theme/cfabb545a01a1928737776e387014eddfc8b9c8e/wp-content/themes/blank-child-theme/screenshot.png -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/search.php: -------------------------------------------------------------------------------- 1 |

%s %s

', 25 | apply_filters( 'genesis_search_title_text', __( 'Search Results for:', 'blank-child-theme' ) ), 26 | get_search_query() 27 | ); 28 | 29 | echo apply_filters( 'genesis_search_title_output', $title ) . "\n"; 30 | 31 | } 32 | 33 | //********************** 34 | 35 | //* Run the Genesis loop 36 | genesis(); 37 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/searchform.php: -------------------------------------------------------------------------------- 1 | 27 | 28 | 35 | 36 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/style.css: -------------------------------------------------------------------------------- 1 | /* 2 | Theme Name: Blank Child Theme 3 | Theme URI: http://example.com/ 4 | Description: This is a child theme created for Blank Child Theme using the Genesis Framework, by StudioPress. The Genesis Theme must be installed for this theme to work.. 5 | Author: Patrick Boehner 6 | Author URI: http://patrickboehner.com/ 7 | 8 | Version: 2.2.8 9 | 10 | Template: genesis 11 | Template Version: 2.3.0 12 | 13 | License: GPL-2.0+ 14 | License URI: http://www.gnu.org/licenses/gpl-2.0.html 15 | 16 | Text Domain: blank-child-theme 17 | */ 18 | -------------------------------------------------------------------------------- /wp-content/themes/blank-child-theme/templates/full-width-content.php: -------------------------------------------------------------------------------- 1 |