themes-wordpress/affinity
Ian Stewart 522ed3757a Remove Headstart Annotations from themes in this repo
This PR should remove all Headstart Annotations from themes in this repo.

Why? Headstart annotations stored in WP.com themes are generated, tested, and sent for translation via WP-CLI scripts running on subversion-ed WordPress sandboxes. I recently updated Headstart annotations for our 20+ recent themes in order to correct some issues in our FSE Plugin and Page Layout feature. When discussing how to get these annotations updated in this themes repo @michaeldcain and came up with two options.

1. Copy-paste back into the affected themes in this repo.
2. Just remove all the Headstart annotations from this repo.

The second option seemed the simplest. It leaves **all** Headstart annotations on WP.com "ignore-able" for this GH repo and reduces the chance of Headstart annotations becoming out of date in this GH repo, potentially reducing future errors.
2020-04-08 12:00:06 -05:00
..
assets Add support for wide and full aligned video embeds. 2018-10-25 22:03:31 -04:00
components Initial commit of Affinity 2018-02-27 14:17:20 +11:00
fonts Initial commit of Affinity 2018-02-27 14:17:20 +11:00
inc Remove Headstart Annotations from themes in this repo 2020-04-08 12:00:06 -05:00
404.php Initial commit of Affinity 2018-02-27 14:17:20 +11:00
archive.php Initial commit of Affinity 2018-02-27 14:17:20 +11:00
blocks.css Merge pull request #548 from Automattic/fixes/434-correct-button-styles 2019-02-06 16:09:54 -08:00
comments.php Initial commit of Affinity 2018-02-27 14:17:20 +11:00
editor-blocks.css Affinity: Update quote block border styles, to work better with the new styles planned for Gutenberg 5.2. See #594. 2019-02-14 13:44:29 -08:00
editor-style.css Add support for aligned wide and full images in certain scenarios: 2018-10-25 11:14:20 -04:00
footer.php Initial commit of Affinity 2018-02-27 14:17:20 +11:00
front-page.php Initial commit of Affinity 2018-02-27 14:17:20 +11:00
fullwidth-page.php Initial commit of Affinity 2018-02-27 14:17:20 +11:00
functions.php Affinity: Remove wide and full alignments for now. Both alignments aren't available in all cases, which could be confusing. I think it's a good candidate to re-add down the road, though, once we figure out the best way to handle full alignments and offset content areas. 2018-11-05 10:47:54 -08:00
guestbook.php Initial commit of Affinity 2018-02-27 14:17:20 +11:00
header.php Initial commit of Affinity 2018-02-27 14:17:20 +11:00
index.php Initial commit of Affinity 2018-02-27 14:17:20 +11:00
LICENSE Add LICENSE to Affinity 2020-01-22 10:39:56 +07:00
page.php Initial commit of Affinity 2018-02-27 14:17:20 +11:00
readme.txt Initial commit of Affinity 2018-02-27 14:17:20 +11:00
rtl.css Affinity: Add RTL styles for the menu fix - see: #412. 2019-02-05 10:45:35 -08:00
screenshot.png Affinity: Fixes image files permissions 2018-04-02 21:04:42 +02:00
search.php Initial commit of Affinity 2018-02-27 14:17:20 +11:00
sidebar.php Initial commit of Affinity 2018-02-27 14:17:20 +11:00
single.php Initial commit of Affinity 2018-02-27 14:17:20 +11:00
style.css Affinity: Adds retire status to stylesheet. 2019-08-20 23:36:14 +02:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

=== Affinity ===

Contributors: automattic
Requires at least: 4.3
Tested up to: 4.6.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html


== Description ==

Affinity is a classic one-page theme designed with weddings and family announcements in mind. 


== Installation ==

1. In your admin panel, go to Appearance > Themes and click the Add New affinity.
2. Click Upload and Choose File, then select the theme's .zip file. Click Install Now.
3. Click Activate to use your new theme right away.


== Setting Up Your Front Page ==

When you first activate Affinity, your homepage displays posts in a traditional blog format. To set up your homepage, follow these steps:

1) Create a page.
2) Go to the Customizers Static Front Page panel and set “Front page displays” to “A static page.”
3) Select the page created in Step One as “Front page,” and choose another page as “Posts page” to display your blog posts.

Good news! This theme doesnt need a front-page templateset a static page as your front page, and youre good to go. On its own, the page displays a single panel with a full-screen featured image, your site logo, description, and navigation, and your page content.

To get your site set up, youll want to add some more panels.

== Adding Panels == 

Each “panel” is a standard page. To add additional panels to your Front Page, follow these steps:

1) Create or edit a page.
2) Navigate to Customize → Theme Options. From the drop-down, select the page youd like to appear in the panel.

== Panel setup in the Customizer ==

To set the background image of your panel, assign a Featured Image to the page.

Click on the diamond-shaped links to navigate through the front-page panels, or adjust the opacity of the Featured Images from Customize → Theme Options → General.


== Featured Images ==

Affinity supports prominent Featured Images on the blog, and single posts and pages.


== Theme Options ==

In addition to the Front Page, you can customize the themes behavior under Customize → Theme Options → General.

-- Header Image Opacity --

Change the opacity of the header image for better contrast with the text.

-- Scrolling Featured Images --

Uncheck “Allow Featured Images to scroll in the background on large screens” to change the scrolling behavior of the header and front page Featured Images on large screens.

Note: The scrolling behavior is not visible in the Customizer for performance reasons, but youll see it on the front page of your site.


== Widgets ==

Affinity boasts a one-column or two-column layout. Add widgets to the Sidebar area for a traditional two-column blog, or leave it blank for a sleek one-column style. The theme also includes three optional widget areas in the footer

Configure these widget areas from Customize → Widgets.


== Page Templates ==

Affinity comes with two Page Templates for dressing up your content:

-- Full-Width Template --

The Full-Width template gives you more space for your content. Its the perfect way to showcase a large gallery of images or a video.

-- Guestbook Template --

Designed with weddings in mind, the Guestbook template highlights your visitors comments.

When using this template on a page, its good to double-check that comments are enabled. To do this, edit the page and click on More Options. Under the Discussion header, check Allow Comments and publish.


== Social Links ==

Affinity supports a Jetpack Social Links (jetpack.me/) menu, which appears in the footer. Linking to any of the following sites will automatically display its icon in your menu:

CodePen					Digg
Dribbble				Dropbox
Facebook				Flickr
github 					Google+
Instagram				LinkedIn
Email (mailto: links)	Pinterest
Pocket					Polldaddy
Reddit					RSS Feed (urls with /feed/)
StumbleUpon				Tumblr
Twitter					Vimeo
WordPress				YouTube


== Post Intro ==

Affinity has a small but nifty intro feature. Also known as a “deck” or “kicker,” the intro area is displayed between the headline and body copy on posts.

Your intro provides important information and acts as a link between the title and the rest of your post. A carefully crafted deck grabs readers attention, giving them an idea of what to expect in the full post.

Add your intro in the Excerpt field of each post, which youll find in the More Options area of the Post Editor sidebar.


== Additional Support ==

Affinity also supports the following features:

* Site Logo
* Custom Menus
* Custom Header
* Custom Backgrounds


== Quick Specs (all measurements in pixels) ==

* The main column width is 560 for blog posts and 716 for pages.
* The main sidebar width is 218.
* Featured Images are displayed at 720 wide and flexible height on the blog, and at full-screen width with flexible height on single posts and pages.
* The site logo appears at a maximum width of 800 and height of 300.
* The custom header appears at full-screen width with flexible height.


== Credits/Licenses ==

* Based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc., [GPLv2 or later](https://www.gnu.org/licenses/gpl-2.0.html)
* normalize.css http://necolas.github.io/normalize.css/, (C) 2012-2016 Nicolas Gallagher and Jonathan Neal, [MIT](http://opensource.org/licenses/MIT)
* Genericons font by Automattic, http://genericons.com/ (Font: SIL OFL 1.1, CSS: MIT License)
* Images in screenshot and demo site from http://unsplash.com/, CC0 license (https://unsplash.com/license)
* Default Header Images:
-- Typewriter by Sergey Zolkin from https://unsplash.com/photos/E0Spm6XXn2Y, CC0 license (https://unsplash.com/license)
-- Tulips by Ales Krivec from https://unsplash.com/photos/hLxqYJspAkE, CC0 license (https://unsplash.com/license)
-- Autumn by Sebastian Unrau from https://unsplash.com/photos/CoD2Q92UaEg, CC0 license (https://unsplash.com/license)
-- Car by Scott Webb from https://unsplash.com/photos/ivIPed6YAYQ, CC0 license (https://unsplash.com/license)
-- Camera by Anthony Delanoix from https://unsplash.com/photos/YZzkUW3Tn_g, CC0 license (https://unsplash.com/license)