Skip to content

Commit

Permalink
Merge branch 'release/1.7.7'
Browse files Browse the repository at this point in the history
  • Loading branch information
Misplon committed Jul 28, 2019
2 parents 664f7f4 + 03b8a70 commit 29708bc
Show file tree
Hide file tree
Showing 8 changed files with 75 additions and 55 deletions.
10 changes: 7 additions & 3 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,19 @@
<?php wp_head(); ?>
</head>

<body <?php body_class() ?>>

<?php do_action('origami_top'); ?>
<body <?php body_class(); ?>>
<?php if ( function_exists( 'wp_body_open' ) ) {
wp_body_open();
}
do_action( 'origami_top' );
?>

<div class="container">

<?php do_action('origami_before_page_container') ?>

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

<?php do_action('origami_top_page_container') ?>

Expand Down
2 changes: 1 addition & 1 deletion inc/settings
10 changes: 5 additions & 5 deletions license.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991

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

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

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
Expand Down Expand Up @@ -329,11 +329,11 @@ necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.

<signature of Ty Coon>, 1 April 1989
{signature of Ty Coon}, 1 April 1989
Ty Coon, President of Vice

This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
Public License instead of this License.
6 changes: 6 additions & 0 deletions page.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@

<div class="content">
<?php the_content() ?>
<?php
wp_link_pages( array(
'before' => '<p class="page-links content">' . __( 'Pages:', 'origami' ),
'after' => '</p>',
) )
?>
<div class="clear"></div>
</div>

Expand Down
12 changes: 11 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Contributors: siteorigin
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
Requires at least: 4.7
Tested up to: 4.9.8
Tested up to: 5.2.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

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

== Changelog ==

= 1.7.7 - 28 July 2019 =
* Resolved page missing `wp_link_pages` function.
* Added `wp_body_open` action hook.
* Added a skip to content link.
* Updated SiteOrigin Settings framework.

= 1.7.6 - 27 November 2018 =
* Add `siteorigin_panels_is_home()` check for `origami_gallery()`.
* Add required asterisks to comment form.

= 1.7.5 - 17 July 2017 =
* Added basic WooCommerce support.
* Updated settings framework.
Expand Down
2 changes: 1 addition & 1 deletion sass/maps/style.css.map

Large diffs are not rendered by default.

43 changes: 22 additions & 21 deletions scss/_content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -322,30 +322,31 @@ a img {
}
}

/* Text meant only for screen readers. */
.screen-reader-text {
clip: rect(1px, 1px, 1px, 1px);
position: absolute !important;
height: 1px;
width: 1px;
overflow: hidden;
}
position: absolute !important;
word-wrap: normal !important;
width: 1px;

.screen-reader-text:focus {
background-color: #f1f1f1;
border-radius: 3px;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
clip: auto !important;
color: #21759b;
display: block;
font-size: 14px;
font-size: 0.875rem;
font-weight: bold;
height: auto;
left: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
width: auto;
z-index: 100000; /* Above WP toolbar. */
&:focus {
background-color: #f1f1f1;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
clip: auto !important;
color: #0073aa;
display: block;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-size: 14px;
font-weight: 600;
height: auto;
left: 6px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 7px;
width: auto;
z-index: 100000;
}
}
45 changes: 22 additions & 23 deletions style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 29708bc

Please sign in to comment.