Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
noblogs-wp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
39
Issues
39
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ai
noblogs-wp
Commits
5a8d06da
Commit
5a8d06da
authored
May 22, 2020
by
agata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[auto] theme: twentysixteen 2.1
parent
174e6991
Changes
33
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
10372 additions
and
10348 deletions
+10372
-10348
wp-content/themes/twentysixteen/404.php
wp-content/themes/twentysixteen/404.php
+34
-34
wp-content/themes/twentysixteen/archive.php
wp-content/themes/twentysixteen/archive.php
+69
-68
wp-content/themes/twentysixteen/comments.php
wp-content/themes/twentysixteen/comments.php
+83
-83
wp-content/themes/twentysixteen/css/blocks.css
wp-content/themes/twentysixteen/css/blocks.css
+436
-434
wp-content/themes/twentysixteen/css/editor-blocks.css
wp-content/themes/twentysixteen/css/editor-blocks.css
+616
-617
wp-content/themes/twentysixteen/css/editor-style.css
wp-content/themes/twentysixteen/css/editor-style.css
+547
-547
wp-content/themes/twentysixteen/css/ie.css
wp-content/themes/twentysixteen/css/ie.css
+48
-48
wp-content/themes/twentysixteen/css/ie7.css
wp-content/themes/twentysixteen/css/ie7.css
+176
-176
wp-content/themes/twentysixteen/css/ie8.css
wp-content/themes/twentysixteen/css/ie8.css
+222
-222
wp-content/themes/twentysixteen/footer.php
wp-content/themes/twentysixteen/footer.php
+73
-73
wp-content/themes/twentysixteen/functions.php
wp-content/themes/twentysixteen/functions.php
+587
-587
wp-content/themes/twentysixteen/genericons/genericons.css
wp-content/themes/twentysixteen/genericons/genericons.css
+263
-263
wp-content/themes/twentysixteen/header.php
wp-content/themes/twentysixteen/header.php
+106
-106
wp-content/themes/twentysixteen/image.php
wp-content/themes/twentysixteen/image.php
+118
-118
wp-content/themes/twentysixteen/inc/back-compat.php
wp-content/themes/twentysixteen/inc/back-compat.php
+78
-78
wp-content/themes/twentysixteen/inc/customizer.php
wp-content/themes/twentysixteen/inc/customizer.php
+1259
-1259
wp-content/themes/twentysixteen/inc/template-tags.php
wp-content/themes/twentysixteen/inc/template-tags.php
+286
-286
wp-content/themes/twentysixteen/index.php
wp-content/themes/twentysixteen/index.php
+66
-65
wp-content/themes/twentysixteen/page.php
wp-content/themes/twentysixteen/page.php
+42
-42
wp-content/themes/twentysixteen/readme.txt
wp-content/themes/twentysixteen/readme.txt
+7
-2
wp-content/themes/twentysixteen/rtl.css
wp-content/themes/twentysixteen/rtl.css
+756
-756
wp-content/themes/twentysixteen/search.php
wp-content/themes/twentysixteen/search.php
+61
-61
wp-content/themes/twentysixteen/searchform.php
wp-content/themes/twentysixteen/searchform.php
+17
-17
wp-content/themes/twentysixteen/sidebar-content-bottom.php
wp-content/themes/twentysixteen/sidebar-content-bottom.php
+28
-28
wp-content/themes/twentysixteen/sidebar.php
wp-content/themes/twentysixteen/sidebar.php
+15
-15
wp-content/themes/twentysixteen/single.php
wp-content/themes/twentysixteen/single.php
+59
-59
wp-content/themes/twentysixteen/style.css
wp-content/themes/twentysixteen/style.css
+4026
-4010
wp-content/themes/twentysixteen/template-parts/biography.php
wp-content/themes/twentysixteen/template-parts/biography.php
+40
-40
wp-content/themes/twentysixteen/template-parts/content-none.php
...tent/themes/twentysixteen/template-parts/content-none.php
+38
-38
wp-content/themes/twentysixteen/template-parts/content-page.php
...tent/themes/twentysixteen/template-parts/content-page.php
+47
-47
wp-content/themes/twentysixteen/template-parts/content-search.php
...nt/themes/twentysixteen/template-parts/content-search.php
+53
-53
wp-content/themes/twentysixteen/template-parts/content-single.php
...nt/themes/twentysixteen/template-parts/content-single.php
+55
-55
wp-content/themes/twentysixteen/template-parts/content.php
wp-content/themes/twentysixteen/template-parts/content.php
+61
-61
No files found.
wp-content/themes/twentysixteen/404.php
View file @
5a8d06da
<?php
/**
* The template for displaying 404 pages (not found)
*
* @package WordPress
* @subpackage Twenty_Sixteen
* @since Twenty Sixteen 1.0
*/
get_header
();
?>
<div
id=
"primary"
class=
"content-area"
>
<main
id=
"main"
class=
"site-main"
role=
"main"
>
<section
class=
"error-404 not-found"
>
<header
class=
"page-header"
>
<h1
class=
"page-title"
>
<?php
_e
(
'Oops! That page can’t be found.'
,
'twentysixteen'
);
?>
</h1>
</header>
<!-- .page-header -->
<div
class=
"page-content"
>
<p>
<?php
_e
(
'It looks like nothing was found at this location. Maybe try a search?'
,
'twentysixteen'
);
?>
</p>
<?php
get_search_form
();
?>
</div>
<!-- .page-content -->
</section>
<!-- .error-404 -->
</main>
<!-- .site-main -->
<?php
get_sidebar
(
'content-bottom'
);
?>
</div>
<!-- .content-area -->
<?php
get_sidebar
();
?>
<?php
get_footer
();
?>
<?php
/**
* The template for displaying 404 pages (not found)
*
* @package WordPress
* @subpackage Twenty_Sixteen
* @since Twenty Sixteen 1.0
*/
get_header
();
?>
<div
id=
"primary"
class=
"content-area"
>
<main
id=
"main"
class=
"site-main"
role=
"main"
>
<section
class=
"error-404 not-found"
>
<header
class=
"page-header"
>
<h1
class=
"page-title"
>
<?php
_e
(
'Oops! That page can’t be found.'
,
'twentysixteen'
);
?>
</h1>
</header>
<!-- .page-header -->
<div
class=
"page-content"
>
<p>
<?php
_e
(
'It looks like nothing was found at this location. Maybe try a search?'
,
'twentysixteen'
);
?>
</p>
<?php
get_search_form
();
?>
</div>
<!-- .page-content -->
</section>
<!-- .error-404 -->
</main>
<!-- .site-main -->
<?php
get_sidebar
(
'content-bottom'
);
?>
</div>
<!-- .content-area -->
<?php
get_sidebar
();
?>
<?php
get_footer
();
?>
wp-content/themes/twentysixteen/archive.php
View file @
5a8d06da
<?php
/**
* The template for displaying archive pages
*
* Used to display archive-type pages if nothing more specific matches a query.
* For example, puts together date-based pages if no date.php file exists.
*
* If you'd like to further customize these archive views, you may create a
* new template file for each one. For example, tag.php (Tag archives),
* category.php (Category archives), author.php (Author archives), etc.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Sixteen
* @since Twenty Sixteen 1.0
*/
get_header
();
?>
<div
id=
"primary"
class=
"content-area"
>
<main
id=
"main"
class=
"site-main"
role=
"main"
>
<?php
if
(
have_posts
()
)
:
?>
<header
class=
"page-header"
>
<?php
the_archive_title
(
'<h1 class="page-title">'
,
'</h1>'
);
the_archive_description
(
'<div class="taxonomy-description">'
,
'</div>'
);
?>
</header>
<!-- .page-header -->
<?php
// Start the Loop.
while
(
have_posts
()
)
:
the_post
();
/*
* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part
(
'template-parts/content'
,
get_post_format
()
);
// End the loop.
endwhile
;
// Previous/next page navigation.
the_posts_pagination
(
array
(
'prev_text'
=>
__
(
'Previous page'
,
'twentysixteen'
),
'next_text'
=>
__
(
'Next page'
,
'twentysixteen'
),
'before_page_number'
=>
'<span class="meta-nav screen-reader-text">'
.
__
(
'Page'
,
'twentysixteen'
)
.
' </span>'
,
)
);
// If no content, include the "No posts found" template.
else
:
get_template_part
(
'template-parts/content'
,
'none'
);
endif
;
?>
</main>
<!-- .site-main -->
</div>
<!-- .content-area -->
<?php
get_sidebar
();
?>
<?php
get_footer
();
?>
<?php
/**
* The template for displaying archive pages
*
* Used to display archive-type pages if nothing more specific matches a query.
* For example, puts together date-based pages if no date.php file exists.
*
* If you'd like to further customize these archive views, you may create a
* new template file for each one. For example, tag.php (Tag archives),
* category.php (Category archives), author.php (Author archives), etc.
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Sixteen
* @since Twenty Sixteen 1.0
*/
get_header
();
?>
<div
id=
"primary"
class=
"content-area"
>
<main
id=
"main"
class=
"site-main"
role=
"main"
>
<?php
if
(
have_posts
()
)
:
?>
<header
class=
"page-header"
>
<?php
the_archive_title
(
'<h1 class="page-title">'
,
'</h1>'
);
the_archive_description
(
'<div class="taxonomy-description">'
,
'</div>'
);
?>
</header>
<!-- .page-header -->
<?php
// Start the loop.
while
(
have_posts
()
)
:
the_post
();
/*
* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that
* will be used instead.
*/
get_template_part
(
'template-parts/content'
,
get_post_format
()
);
// End the loop.
endwhile
;
// Previous/next page navigation.
the_posts_pagination
(
array
(
'prev_text'
=>
__
(
'Previous page'
,
'twentysixteen'
),
'next_text'
=>
__
(
'Next page'
,
'twentysixteen'
),
'before_page_number'
=>
'<span class="meta-nav screen-reader-text">'
.
__
(
'Page'
,
'twentysixteen'
)
.
' </span>'
,
)
);
// If no content, include the "No posts found" template.
else
:
get_template_part
(
'template-parts/content'
,
'none'
);
endif
;
?>
</main>
<!-- .site-main -->
</div>
<!-- .content-area -->
<?php
get_sidebar
();
?>
<?php
get_footer
();
?>
wp-content/themes/twentysixteen/comments.php
View file @
5a8d06da
<?php
/**
* The template for displaying comments
*
* The area of the page that contains both current comments
* and the comment form.
*
* @package WordPress
* @subpackage Twenty_Sixteen
* @since Twenty Sixteen 1.0
*/
/*
* If the current post is protected by a password and
* the visitor has not yet entered the password we will
* return early without loading the comments.
*/
if
(
post_password_required
()
)
{
return
;
}
?>
<div
id=
"comments"
class=
"comments-area"
>
<?php
if
(
have_comments
()
)
:
?>
<h2
class=
"comments-title"
>
<?php
$comments_number
=
get_comments_number
();
if
(
'1'
===
$comments_number
)
{
/* translators: %s: Post title. */
printf
(
_x
(
'One thought on “%s”'
,
'comments title'
,
'twentysixteen'
),
get_the_title
()
);
}
else
{
printf
(
/* translators: 1: Number of comments, 2: Post title. */
_nx
(
'%1$s thought on “%2$s”'
,
'%1$s thoughts on “%2$s”'
,
$comments_number
,
'comments title'
,
'twentysixteen'
),
number_format_i18n
(
$comments_number
),
get_the_title
()
);
}
?>
</h2>
<?php
the_comments_navigation
();
?>
<ol
class=
"comment-list"
>
<?php
wp_list_comments
(
array
(
'style'
=>
'ol'
,
'short_ping'
=>
true
,
'avatar_size'
=>
42
,
)
);
?>
</ol>
<!-- .comment-list -->
<?php
the_comments_navigation
();
?>
<?php
endif
;
// Check for have_comments(). ?>
<?
php
// If comments are closed and there are comments, let's leave a little note, shall we?
if
(
!
comments_open
()
&&
get_comments_number
()
&&
post_type_supports
(
get_post_type
(),
'comments'
)
)
:
?>
<p
class=
"no-comments"
>
<?php
_e
(
'Comments are closed.'
,
'twentysixteen'
);
?>
</p>
<?php
endif
;
?>
<?php
comment_form
(
array
(
'title_reply_before'
=>
'<h2 id="reply-title" class="comment-reply-title">'
,
'title_reply_after'
=>
'</h2>'
,
)
);
?>
</div>
<!-- .comments-area -->
<?php
/**
* The template for displaying comments
*
* The area of the page that contains both current comments
* and the comment form.
*
* @package WordPress
* @subpackage Twenty_Sixteen
* @since Twenty Sixteen 1.0
*/
/*
* If the current post is protected by a password and
* the visitor has not yet entered the password we will
* return early without loading the comments.
*/
if
(
post_password_required
()
)
{
return
;
}
?>
<div
id=
"comments"
class=
"comments-area"
>
<?php
if
(
have_comments
()
)
:
?>
<h2
class=
"comments-title"
>
<?php
$comments_number
=
get_comments_number
();
if
(
'1'
===
$comments_number
)
{
/* translators: %s: Post title. */
printf
(
_x
(
'One thought on “%s”'
,
'comments title'
,
'twentysixteen'
),
get_the_title
()
);
}
else
{
printf
(
/* translators: 1: Number of comments, 2: Post title. */
_nx
(
'%1$s thought on “%2$s”'
,
'%1$s thoughts on “%2$s”'
,
$comments_number
,
'comments title'
,
'twentysixteen'
),
number_format_i18n
(
$comments_number
),
get_the_title
()
);
}
?>
</h2>
<?php
the_comments_navigation
();
?>
<ol
class=
"comment-list"
>
<?php
wp_list_comments
(
array
(
'style'
=>
'ol'
,
'short_ping'
=>
true
,
'avatar_size'
=>
42
,
)
);
?>
</ol>
<!-- .comment-list -->
<?php
the_comments_navigation
();
?>
<?php
endif
;
// Check for have_comments(). ?>
<?
php
// If comments are closed and there are comments, let's leave a little note, shall we?
if
(
!
comments_open
()
&&
get_comments_number
()
&&
post_type_supports
(
get_post_type
(),
'comments'
)
)
:
?>
<p
class=
"no-comments"
>
<?php
_e
(
'Comments are closed.'
,
'twentysixteen'
);
?>
</p>
<?php
endif
;
?>
<?php
comment_form
(
array
(
'title_reply_before'
=>
'<h2 id="reply-title" class="comment-reply-title">'
,
'title_reply_after'
=>
'</h2>'
,
)
);
?>
</div>
<!-- .comments-area -->
wp-content/themes/twentysixteen/css/blocks.css
View file @
5a8d06da
/*
Theme Name: Twenty Sixteen
Description: Used to style blocks.
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 General Block Styles
2.0 Blocks - Common Blocks
3.0 Blocks - Formatting
4.0 Blocks - Layout Elements
5.0 Blocks - Widgets
6.0 Blocks - Colors
--------------------------------------------------------------*/
/*--------------------------------------------------------------
1.0 General Block Styles
--------------------------------------------------------------*/
/* Captions */
[
class
^=
"wp-block-"
]
figcaption
{
color
:
#686868
;
font-style
:
italic
;
line-height
:
1.6153846154
;
padding-top
:
0.5384615385em
;
text-align
:
left
;
}
.rtl
[
class
^=
"wp-block-"
]
figcaption
{
text-align
:
right
;
}
/*--------------------------------------------------------------
2.0 Blocks - Common Blocks
--------------------------------------------------------------*/
/* Paragraph */
p
.has-drop-cap
:not
(
:focus
)
::first-letter
{
font-size
:
5em
;
}
/* Image */
@media
screen
and
(
min-width
:
61.5625em
)
{
body
:
not
(.
search-results
)
article
:
not
(.
type-page
)
.
wp-block-image
figcaption
.
below-entry-meta
{
clear
:
both
;
display
:
block
;
float
:
none
;
margin-right
:
0
;
margin-left
:
-40%
;
max-width
:
140%
;
}
body
.rtl
:not
(
.search-results
)
article
:not
(
.type-page
)
.wp-block-image
figcaption
.below-entry-meta
{
margin-left
:
0
;
margin-right
:
-40%
;
}
}
/* Gallery */
.wp-block-gallery
{
margin-bottom
:
1.75em
;
}
/* Quote */
.wp-block-quote
:not
(
.is-large
)
:not
(
.is-style-large
)
.alignleft
,
.wp-block-quote
:not
(
.is-large
)
:not
(
.is-style-large
)
.alignright
{
border-left
:
none
;
padding-left
:
0
;
}
.rtl
.wp-block-quote
:not
(
.is-large
)
:not
(
.is-style-large
)
.alignleft
,
.rtl
.wp-block-quote
:not
(
.is-large
)
:not
(
.is-style-large
)
.alignright
{
border-right
:
none
;
padding-right
:
0
;
}
.wp-block-quote
cite
{
color
:
#1a1a1a
;
display
:
block
;
font-size
:
16px
;
font-size
:
1rem
;
line-height
:
1.75
;
}
.wp-block-quote
cite
:before
{
content
:
"\2014\00a0"
;
}
/* Audio */
.wp-block-audio
audio
{
display
:
block
;
width
:
100%
;
}
/* Cover */
.wp-block-cover-image.aligncenter
,
.wp-block-cover.aligncenter
{
display
:
flex
;
}
/* File */
.wp-block-file
.wp-block-file__button
{
background
:
#1a1a1a
;
border
:
0
;
border-radius
:
2px
;
color
:
#fff
;
font-family
:
Montserrat
,
"Helvetica Neue"
,
sans-serif
;
font-weight
:
700
;
letter-spacing
:
0.046875em
;
line-height
:
1
;
padding
:
0.84375em
0.875em
0.78125em
;
text-transform
:
uppercase
;
}
.wp-block-file
.wp-block-file__button
:hover
,
.wp-block-file
.wp-block-file__button
:focus
{
background
:
#007acc
;
}
.wp-block-file
.wp-block-file__button
:focus
{
outline
:
thin
dotted
;
outline-offset
:
-4px
;
}
.rtl
.wp-block-file
*
+
.wp-block-file__button
{
margin-left
:
0.75em
;
margin-right
:
0
;
}
/*--------------------------------------------------------------
3.0 Blocks - Formatting Blocks
--------------------------------------------------------------*/
/* Code */
.wp-block-code
{
border
:
0
;
font-family
:
Inconsolata
,
monospace
;
font-size
:
16px
;
font-size
:
1rem
;
line-height
:
1.75
;
padding
:
0
;
}
/* Pullquote */
.wp-block-pullquote
{
border-width
:
4px
;
}
.wp-block-pullquote
blockquote
{
border-left
:
0
;
margin
:
0
;
padding
:
0
;
}
.rtl
.wp-block-pullquote
blockquote
{
border-right
:
0
;
}
.wp-block-pullquote
p
{
color
:
#686868
;
font-size
:
19px
;
font-size
:
1.1875rem
;
}
.wp-block-pullquote
cite
{
color
:
#1a1a1a
;
display
:
block
;
font-size
:
16px
;
font-size
:
1rem
;
font-style
:
none
;
line-height
:
1.75
;
text-transform
:
none
;
}
.wp-block-pullquote
cite
:before
{
content
:
"\2014\00a0"
;
}
/* Table */
.wp-block-table
,
.wp-block-table
th
,
.wp-block-table
td
{
border
:
1px
solid
#d1d1d1
;
}
.wp-block-table
{
border-collapse
:
separate
;
border-spacing
:
0
;
border-width
:
1px
0
0
1px
;
margin
:
0
0
1.75em
;
table-layout
:
fixed
;
width
:
100%
;
}
.wp-block-table
th
,
.wp-block-table
td
{
font-weight
:
normal
;
padding
:
0.4375em
;
text-align
:
left
;
}
.wp-block-table
th
{
border-width
:
0
1px
1px
0
;
font-weight
:
700
;
}
.wp-block-table
td
{
border-width
:
0
1px
1px
0
;
}
.rtl
.wp-block-table
th
,
.rtl
.wp-block-table
td
{
text-align
:
right
;
}
/*--------------------------------------------------------------
4.0 Blocks - Layout Elements
--------------------------------------------------------------*/
/* Buttons */
.wp-block-button
.wp-block-button__link
{
box-shadow
:
none
;
font-family
:
Montserrat
,
"Helvetica Neue"
,
sans-serif
;
font-weight
:
700
;
letter-spacing
:
0.046875em
;
line-height
:
1
;
padding
:
0.84375em
1.3125em
0.78125em
;
text-transform
:
uppercase
;
}
.entry-content
.wp-block-button__link
{
background
:
#1a1a1a
;
color
:
#fff
;
}
.entry-content
.is-style-outline
.wp-block-button__link
:not
(
.has-background
)
{
background
:
transparent
;
}
.entry-content
.is-style-outline
.wp-block-button__link
:not
(
.has-text-color
)
{
color
:
#1a1a1a
;
}
.entry-content
.wp-block-button__link
:hover
,