-2. [Identify the branch](https://cloudup.com/cAy1j0D8tvH) of the pull request, e.g. `update/#1889`
+2. [Identify the branch](https://cloudup.com/cAy1j0D8tvH) of the pull request, e.g. `update/#1889`
3. Check out featured branch of pull request, e.g. `git checkout update/#1889`
3. Check out featured branch of pull request, e.g. `git checkout update/#1889`
4. Symlink or copy affected theme OR zip affected theme and import into WordPress site
4. Symlink or copy affected theme OR zip affected theme and import into WordPress site
@@ -41,3 +41,37 @@ By contributing code to our free themes, you grant its use under the [GNU Genera
4. Zip affected theme and import into WordPress site
4. Zip affected theme and import into WordPress site
**Note:** In case the affected theme already exists on the WordPress site, it needs to be deleted before the theme zip file gets uploaded.
**Note:** In case the affected theme already exists on the WordPress site, it needs to be deleted before the theme zip file gets uploaded.
+
+### Coding Standards
+
+Themes code should adhere to the [WordPress coding standards](https://make.wordpress.org/core/handbook/best-practices/coding-standards/). This repo contains a pre-commit hook which enables you to detect and fix code that doesn't follow the standards.
+
+To set this uo follow these instructions:
+1. Run `npm i` in the root of the repo.
+2. Run `composer install`
+
+Now when you commit changes to a file PHPCBF will attempt to fix any issues with the file.
+
+## Packaging for WordPress.org Themes Showcase
+
+The code in this repository mirrors the code needed for the theme to function correctly on _WordPress.com_. To prepare a theme.zip that passes the _WordPress.org_ theme review automated test, do the following:
+
+- From the top-level directory, run `./package-dotorg.sh [theme-slug]`
+- View the generated zip in the respective theme's sub-directory
+
+Note that this script rebuilds the theme to strip it of .com-specific functionality, and discards any changes via git after doing so. _Make sure you have committed any working changes before running this script._
+
+## Sandbox Tools
+
+If you use a sandbox to test or develop your themes you can use a couple of utilities to operate on that sandbox.
+
+- From the top-level directory, run `./sandbox.sh clean` to bring the public themes SVN repository to a clean state. (This will only matter if your sandbox uses SVN such as how _WordPress.com_ is currently managed.) Alternately you can trigger that as an npm script: `npm run sandbox:clean`
+
+- From the top-level directory, run `./sandbox.sh push` to push your working copy to the public themes folder of your sandbox. Alternately you can trigger this as an npm script: `npm run sandbox:push` This command will rsync your local copy with the exception of anything in the `.sandbox-ignore` file. You should clean your sandbox before pushing any changes to it.
+NOTE: When pushing changes if your local branch is not current with /trunk you will be prompted to choose an option:
+ - FORCE where all changes you have locally will be pushed to the sandbox. This is helpful if you are doing regression testing and want to make sure that every change is pushed to the sandbox. This option is used if --force is passed to the script.
+ - IGNORE where all of the files that were changed on the trunk since your current branch diverged will be ignored (with the exception of any files that you changed in your branch). This is helpful during development, though it is advised that you bring your branch current with /trunk before pushing any builds. This option is used if --ignore is passed to the script.
+
+- In addition to pushing your local changes you can also WATCH for any local changes and trigger the sandbox sync by using the `npm run sandbox:watch` Any changes to your local files will trigger the rsync. Make sure that you have executed `npm install` to ensure the needed dependencies for this are installed.
+
+Note: The first time you run the `sandbox.sh` shell script you will be prompted for details about your sandbox which will be stored in a `.sandbox-config` file. Edit (or delete and be re-prompted) if details about your sandbox change. This file will not be comitted to version controll and will not sync to your sandbox.
Description: Convincing design for your charity or organization’s online presence. Highlight your actions, causes and projects, Alves is versatile enough to be your personal site too.
Description: Convincing design for your charity or organization’s online presence. Highlight your actions, causes and projects, Alves is versatile enough to be your personal site too.
Description: Convincing design for your charity or organization’s online presence. Highlight your actions, causes and projects, Alves is versatile enough to be your personal site too.
Description: Convincing design for your charity or organization’s online presence. Highlight your actions, causes and projects, Alves is versatile enough to be your personal site too.
Description: Convincing design for your charity or organization’s online presence. Highlight your actions, causes and projects, Alves is versatile enough to be your personal site too.
Description: Convincing design for your charity or organization’s online presence. Highlight your actions, causes and projects, Alves is versatile enough to be your personal site too.
+ else : // Otherwise we'll fallback to the default Varia footer below.
+ ?>
+ <footer id="colophon" class="site-footer">
+ <?php
+ if ( ! ( true === get_theme_mod( 'hide_site_footer', false ) && is_front_page() && is_page() ) ) : // If this is the homepage and the footer elements are set to hide, don't load this part.
+ if ( ! ( true === get_theme_mod( 'hide_site_footer', false ) && is_front_page() && is_page() ) ) : // If this is the homepage and the footer elements are set to hide, don't load this part.
+ else : // Otherwise we'll fallback to the default Balasana footer below.
+
+ if ( ! ( true === get_theme_mod( 'hide_site_footer', false ) && is_front_page() && is_page() ) ) : // If this is the homepage and the footer elements are set to hide, don't load this part.
+ // Add a Customizer message about the site title & tagline options.
+ $wp_customize->get_section( 'title_tagline' )->description = __( 'The site logo, title, and tagline will only appear on single posts and pages if the “Site header and top menu" option is enabled in the Content Options section.', 'blank-canvas' );
+ $wp_customize->get_section( 'menu_locations' )->description = __( 'This theme will only display Menus if they are enabled in the Content Options section.', 'blank-canvas' );
+ $wp_customize->get_panel( 'nav_menus' )->description = __( 'This theme will only display Menus if they are enabled in the Content Options section.', 'blank-canvas' );
+ $customizer_widgets_panel->description = __( 'This theme will only display Widgets if they are enabled in the Content Options section.', 'blank-canvas' );
+ <div class="wp-block-media-text alignwide has-media-on-the-right is-stacked-on-mobile is-image-fill"><figure class="wp-block-media-text__media" style="background-image:url(' . get_stylesheet_directory_uri() . '/assets/pattern-tattoo.jpg);background-position:50% 50%"><img src="' . get_stylesheet_directory_uri() . '/assets/pattern-tattoo.jpg" alt="' . __( 'A photo of a tattooed hand, giving the "I love you" sign.', 'blank-canvas' ) . '" class="wp-image-1752 size-full"/></figure><div class="wp-block-media-text__content"><!-- wp:heading {"level":1,"align":"wide","style":{"typography":{"fontSize":"32px"}}} -->
+ <h1 class="alignwide" style="font-size:32px"><strong>' . __( 'Hi! I’m a tattooist based in Florida City.', 'blank-canvas' ) . '</strong></h1>
+ <!-- /wp:heading -->
+ <!-- wp:paragraph -->
+ <p>' . __( 'Specializing in fine line tattoos with a single needle. With over 10 years of experience, I can make your tattoo dreams come true.', 'blank-canvas' ) . '</p>
+ <p class="has-text-align-center" style="font-size:20px;line-height:1.65">' . __( 'My latest and greatest tips, resources, and reads.<br>So much goodness all in one place!', 'blank-canvas' ) . '</p>
+ <div class="wp-block-button has-custom-width wp-block-button__width-100 is-style-fill"><a class="wp-block-button__link">' . __( 'Must read: The Place That Made Me', 'blank-canvas' ) . '</a></div>
+ <p>' . __( 'Join us for a celebratory party featuring creative cocktails and mocktails, seasonal chef-crafted snacks and appetizers, and a range of desserts and pastries from local bakeries.', 'blank-canvas' ) . '</p>
+ <p class="has-text-align-center has-background-background-color has-background">' . __( 'Hello! I am a photographer and designer living near Portland, Maine. When I am not posting to Instagram, you can find me shooting weddings and portraits.', 'blank-canvas' ) . '</p>
+ <div class="wp-block-image"><figure class="alignleft size-large is-resized"><img src="' . get_stylesheet_directory_uri() . '/assets/pattern-links-logo.png" alt="' . __( 'A logo of a circle with a line through it.', 'blank-canvas' ) . '" class="wp-image-100" width="100" height="100"/></figure></div>
+ 'label' => esc_html__( 'Enable site header and top menu', 'blank-canvas' ),
+ 'description' => esc_html__( 'Check to show a standard site header, navigation menu and social links menu on the top of every page.', 'blank-canvas' ),
+ <figure class="wp-block-image size-large margin-bottom-none"><img src="' . get_stylesheet_directory_uri() . '/assets/pattern-portrait.jpg" alt="' . __( 'Portrait of a woman against a pink and blue background.', 'blank-canvas' ) . '"/></figure>
+ <p>' . __( 'Join instructor Jaime Adams for a series of virtual classes aimed at helping you hone your drawing skills. We will focus on composition, perspective, contour, representing volume, and more!', 'blank-canvas' ) . '</p>
+msgid "Blank Canvas is a minimalist theme, designed for single-page websites. Its single post and page layouts have no header, navigation menus, or widgets, so the page you design in the WordPress editor is the same page you’ll see on the front end. The theme’s default styles are conservative, relying on simple sans-serif fonts and a subtle blue highlight color. Blank Canvas is ready for your customizations."
+msgstr ""
+
+#. Author of the theme
+msgid "Automattic"
+msgstr ""
+
+#. Author URI of the theme
+msgid "https://automattic.com/"
+msgstr ""
+
+#: functions.php:39
+msgid "Primary"
+msgstr ""
+
+#: functions.php:44
+msgid "Secondary"
+msgstr ""
+
+#: functions.php:49
+msgid "Foreground"
+msgstr ""
+
+#: functions.php:54
+msgid "Tertiary"
+msgstr ""
+
+#: functions.php:59
+msgid "Background"
+msgstr ""
+
+#: functions.php:125
+msgid "This theme is designed to hide the site logo, site title, and tagline on all single posts and pages."
+msgstr ""
+
+#. translators: %s: Name of current post. Only visible to screen readers.
+msgid "A photo of a tattooed hand, giving the \"I love you\" sign."
+msgstr ""
+
+#: inc/block-patterns.php:40
+msgid "Hi! I’m a tattooist based in Florida City."
+msgstr ""
+
+#: inc/block-patterns.php:43
+msgid "Specializing in fine line tattoos with a single needle. With over 10 years of experience, I can make your tattoo dreams come true."
+msgstr ""
+
+#: inc/block-patterns.php:47
+#: inc/wpcom.php:49
+msgid "Get in touch"
+msgstr ""
+
+#: inc/block-patterns.php:65
+msgid "Links"
+msgstr ""
+
+#: inc/block-patterns.php:71
+msgid "Photo of a man wearing a hat."
+msgstr ""
+
+#: inc/block-patterns.php:74
+msgid "Alex Fredrickson"
+msgstr ""
+
+#: inc/block-patterns.php:82
+msgid "My latest and greatest tips, resources, and reads.<br>So much goodness all in one place!"
+msgstr ""
+
+#: inc/block-patterns.php:86
+msgid "Must read: The Place That Made Me"
+msgstr ""
+
+#: inc/block-patterns.php:90
+msgid "Rain Journal by Richard Johnson"
+msgstr ""
+
+#: inc/block-patterns.php:94
+msgid "10th Day of Rain"
+msgstr ""
+
+#: inc/block-patterns.php:98
+msgid "Blurring the Lines Between Architecture and Nature"
+msgstr ""
+
+#: inc/block-patterns.php:102
+msgid "Instant Classic: A story of Persistence"
+msgstr ""
+
+#: inc/block-patterns.php:111
+msgid "Invitation"
+msgstr ""
+
+#: inc/block-patterns.php:118
+msgid "You’re Invited"
+msgstr ""
+
+#: inc/block-patterns.php:123
+msgid "Pier 38<br>San Francisco, CA"
+msgstr ""
+
+#: inc/block-patterns.php:128
+msgid "8pm–12am<br>April 16th"
+msgstr ""
+
+#: inc/block-patterns.php:136
+msgid "Join us for a celebratory party featuring creative cocktails and mocktails, seasonal chef-crafted snacks and appetizers, and a range of desserts and pastries from local bakeries."
+msgstr ""
+
+#: inc/block-patterns.php:140
+msgid "RSVP"
+msgstr ""
+
+#: inc/block-patterns.php:153
+msgid "Split Screen"
+msgstr ""
+
+#: inc/block-patterns.php:156
+msgid "Photo of a vintage camera."
+msgstr ""
+
+#: inc/block-patterns.php:158
+msgid "Photo of a woman."
+msgstr ""
+
+#: inc/block-patterns.php:162
+msgid "Jasmine Baker"
+msgstr ""
+
+#: inc/block-patterns.php:166
+msgid "Hello! I am a photographer and designer living near Portland, Maine. When I am not posting to Instagram, you can find me shooting weddings and portraits."
+msgstr ""
+
+#: inc/wpcom.php:30
+msgid "Card"
+msgstr ""
+
+#: inc/wpcom.php:35
+msgid "Portrait of a woman against a pink and blue background."
+msgstr ""
+
+#: inc/wpcom.php:40
+msgid "Kate Pollard"
+msgstr ""
+
+#: inc/wpcom.php:44
+msgid "Hi! I’m a lead strategist for growing sustainable revenue streams for integrated fundraising."
+msgstr ""
+
+#: inc/wpcom.php:70
+msgid "Email Signup"
+msgstr ""
+
+#: inc/wpcom.php:84
+msgid "Virtual Art Classes"
+msgstr ""
+
+#: inc/wpcom.php:88
+msgid "Join instructor Jaime Adams for a series of virtual classes aimed at helping you hone your drawing skills. We will focus on composition, perspective, contour, representing volume, and more!"
+msgstr ""
+
+#: inc/wpcom.php:94
+msgid "Learn More"
+msgstr ""
+
+#. translators: %s: Name of current post. Only visible to screen readers
+Blank Canvas is a minimalist theme, designed for single-page websites. Its single post and page layouts have no header, navigation menus, or widgets by default, so the page you design in the WordPress editor is the same page you’ll see on the front end.
+
+The theme’s default styles are conservative, relying on simple sans-serif fonts and a subtle blue highlight color. Blank Canvas is ready for your customizations.
+
+== Changelog ==
+
+= 1.2 =
+* Adds Customizer options for showing page titles, a global header, menu, and widgets.
+
+= 1.1 =
+* Initial release
+
+== Copyright ==
+
+Blank Canvas WordPress Theme, (C) 2020 Automattic, Inc.
+Blank Canvas is distributed under the terms of the GNU GPL.
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+Description: Blank Canvas is a minimalist theme, designed for single-page websites. Its single post and page layouts have no header, navigation menus, or widgets by default, so the page you design in the WordPress editor is the same page you’ll see on the front end. The theme’s default styles are conservative, relying on simple sans-serif fonts and a subtle blue highlight color. Blank Canvas is ready for your customizations.
Description: Running a business is no small task. But with the right tools and support, creating a website doesn’t have to be another chore on your to-do list: enter Brompton, a simple yet powerful theme for small-business owners and entrepreneurs.
Description: Running a business is no small task. But with the right tools and support, creating a website doesn’t have to be another chore on your to-do list: enter Brompton, a simple yet powerful theme for small-business owners and entrepreneurs.
Description: Running a business is no small task. But with the right tools and support, creating a website doesn’t have to be another chore on your to-do list: enter Brompton, a simple yet powerful theme for small-business owners and entrepreneurs.
Description: Running a business is no small task. But with the right tools and support, creating a website doesn’t have to be another chore on your to-do list: enter Brompton, a simple yet powerful theme for small-business owners and entrepreneurs.
Description: Running a business is no small task. But with the right tools and support, creating a website doesn’t have to be another chore on your to-do list: enter Brompton, a simple yet powerful theme for small-business owners and entrepreneurs.
Description: Running a business is no small task. But with the right tools and support, creating a website doesn’t have to be another chore on your to-do list: enter Brompton, a simple yet powerful theme for small-business owners and entrepreneurs.