Skip to content

Commit 29708bc

Browse files
committed
Merge branch 'release/1.7.7'
2 parents 664f7f4 + 03b8a70 commit 29708bc

File tree

8 files changed

+75
-55
lines changed

8 files changed

+75
-55
lines changed

header.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,19 @@
99
<?php wp_head(); ?>
1010
</head>
1111

12-
<body <?php body_class() ?>>
13-
14-
<?php do_action('origami_top'); ?>
12+
<body <?php body_class(); ?>>
13+
<?php if ( function_exists( 'wp_body_open' ) ) {
14+
wp_body_open();
15+
}
16+
do_action( 'origami_top' );
17+
?>
1518

1619
<div class="container">
1720

1821
<?php do_action('origami_before_page_container') ?>
1922

2023
<div id="page-container">
24+
<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'origami' ); ?></a>
2125

2226
<?php do_action('origami_top_page_container') ?>
2327

license.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GNU GENERAL PUBLIC LICENSE
22
Version 2, June 1991
33

4-
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
4+
Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
55
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
66
Everyone is permitted to copy and distribute verbatim copies
77
of this license document, but changing it is not allowed.
@@ -290,8 +290,8 @@ to attach them to the start of each source file to most effectively
290290
convey the exclusion of warranty; and each file should have at least
291291
the "copyright" line and a pointer to where the full notice is found.
292292

293-
<one line to give the program's name and a brief idea of what it does.>
294-
Copyright (C) <year> <name of author>
293+
{description}
294+
Copyright (C) {year} {fullname}
295295

296296
This program is free software; you can redistribute it and/or modify
297297
it under the terms of the GNU General Public License as published by
@@ -329,11 +329,11 @@ necessary. Here is a sample; alter the names:
329329
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330330
`Gnomovision' (which makes passes at compilers) written by James Hacker.
331331

332-
<signature of Ty Coon>, 1 April 1989
332+
{signature of Ty Coon}, 1 April 1989
333333
Ty Coon, President of Vice
334334

335335
This General Public License does not permit incorporating your program into
336336
proprietary programs. If your program is a subroutine library, you may
337337
consider it more useful to permit linking proprietary applications with the
338338
library. If this is what you want to do, use the GNU Lesser General
339-
Public License instead of this License.
339+
Public License instead of this License.

page.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111

1212
<div class="content">
1313
<?php the_content() ?>
14+
<?php
15+
wp_link_pages( array(
16+
'before' => '<p class="page-links content">' . __( 'Pages:', 'origami' ),
17+
'after' => '</p>',
18+
) )
19+
?>
1420
<div class="clear"></div>
1521
</div>
1622

readme.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Contributors: siteorigin
44
Tags: custom-background, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, theme-options, threaded-comments, translation-ready, blog, photography, portfolio
55
Requires at least: 4.7
6-
Tested up to: 4.9.8
6+
Tested up to: 5.2.2
77
License: GPLv2 or later
88
License URI: http://www.gnu.org/licenses/gpl-2.0.html
99

@@ -88,6 +88,16 @@ This theme makes use of the [SiteOrigin Settings Framework](https://github.com/s
8888

8989
== Changelog ==
9090

91+
= 1.7.7 - 28 July 2019 =
92+
* Resolved page missing `wp_link_pages` function.
93+
* Added `wp_body_open` action hook.
94+
* Added a skip to content link.
95+
* Updated SiteOrigin Settings framework.
96+
97+
= 1.7.6 - 27 November 2018 =
98+
* Add `siteorigin_panels_is_home()` check for `origami_gallery()`.
99+
* Add required asterisks to comment form.
100+
91101
= 1.7.5 - 17 July 2017 =
92102
* Added basic WooCommerce support.
93103
* Updated settings framework.

sass/maps/style.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scss/_content.scss

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -322,30 +322,31 @@ a img {
322322
}
323323
}
324324

325+
/* Text meant only for screen readers. */
325326
.screen-reader-text {
326327
clip: rect(1px, 1px, 1px, 1px);
327-
position: absolute !important;
328328
height: 1px;
329-
width: 1px;
330329
overflow: hidden;
331-
}
330+
position: absolute !important;
331+
word-wrap: normal !important;
332+
width: 1px;
332333

333-
.screen-reader-text:focus {
334-
background-color: #f1f1f1;
335-
border-radius: 3px;
336-
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
337-
clip: auto !important;
338-
color: #21759b;
339-
display: block;
340-
font-size: 14px;
341-
font-size: 0.875rem;
342-
font-weight: bold;
343-
height: auto;
344-
left: 5px;
345-
line-height: normal;
346-
padding: 15px 23px 14px;
347-
text-decoration: none;
348-
top: 5px;
349-
width: auto;
350-
z-index: 100000; /* Above WP toolbar. */
334+
&:focus {
335+
background-color: #f1f1f1;
336+
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
337+
clip: auto !important;
338+
color: #0073aa;
339+
display: block;
340+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
341+
font-size: 14px;
342+
font-weight: 600;
343+
height: auto;
344+
left: 6px;
345+
line-height: normal;
346+
padding: 15px 23px 14px;
347+
text-decoration: none;
348+
top: 7px;
349+
width: auto;
350+
z-index: 100000;
351+
}
351352
}

style.css

Lines changed: 22 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)