-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?php | ||
/** | ||
* Archive Page template file. | ||
* | ||
* @package NintyNine | ||
*/ | ||
|
||
get_header(); | ||
|
||
?> | ||
<div id="primary"> | ||
<main id="main" class="site-main my-5" role="main"> | ||
<div class="container"> | ||
|
||
<header class="page-header"> | ||
<?php | ||
if ( ! empty( single_term_title( '', false ) ) ) { | ||
printf( | ||
'<h1 class="page-title">%s</h1>', | ||
single_term_title( '', false ) | ||
); | ||
} | ||
|
||
if ( ! empty( get_the_archive_description() ) ) { | ||
the_archive_description( '<div class="archive-description">', '</div>' ); | ||
} | ||
?> | ||
</header><!-- .page-header --> | ||
<div class="site-content"> | ||
<div class="row"> | ||
<?php | ||
if ( have_posts() ) : | ||
while ( have_posts() ) : the_post(); | ||
get_template_part( 'template-parts/content', '', [ 'container_classes' => 'col-lg-4 col-md-6 col-sm-12 pb-4' ] ); | ||
endwhile; | ||
else : | ||
get_template_part( 'template-parts/content-none' ); | ||
endif; | ||
?> | ||
</div> | ||
<div> | ||
<?php nintynine_pagination(); ?> | ||
</div> | ||
</div> | ||
</div> | ||
</main> | ||
</div> | ||
|
||
<?php | ||
|
||
get_footer(); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"extends": "stylelint-config-wordpress/scss", | ||
"ignoreFiles": "", | ||
"rules": { | ||
"at-rule-empty-line-before": null, | ||
"block-no-empty": true, | ||
"color-hex-case": "lower", | ||
"color-no-invalid-hex": true, | ||
"comment-no-empty": true, | ||
"declaration-block-no-shorthand-property-overrides": true, | ||
"declaration-colon-space-before": "never", | ||
"declaration-no-important": true, | ||
"font-family-name-quotes": "always-where-recommended", | ||
"font-weight-notation": "numeric", | ||
"function-url-quotes": "always", | ||
"indentation": "tab", | ||
"max-empty-lines": 1, | ||
"no-missing-end-of-source-newline": true, | ||
"number-leading-zero": "always", | ||
"rule-empty-line-before": null, | ||
"selector-combinator-space-after": "always", | ||
"selector-list-comma-newline-after": null, | ||
"selector-max-specificity": "0,3,1", | ||
"selector-pseudo-element-colon-notation": "double", | ||
"unit-no-unknown": true | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<?php return array('js/main.js' => array('dependencies' => array('wp-polyfill'), 'version' => '4d1ec442c34233d2338a'), 'js/single.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'cf309fb462d151e0903f'), 'js/editor.js' => array('dependencies' => array('wp-polyfill'), 'version' => '20e59da245b068507d19'), 'js/blocks.js' => array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n', 'wp-polyfill'), 'version' => 'fd74a072c000809e4cac')); | ||
<?php return array('js/main.js' => array('dependencies' => array('wp-polyfill'), 'version' => '4d1ec442c34233d2338a'), 'js/single.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'cf309fb462d151e0903f'), 'js/editor.js' => array('dependencies' => array('wp-polyfill'), 'version' => '20e59da245b068507d19'), 'js/blocks.js' => array('dependencies' => array('lodash', 'react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n', 'wp-polyfill'), 'version' => '97fa04aafbc946b41876'), 'js/author.js' => array('dependencies' => array('wp-polyfill'), 'version' => '78588f4d2cee9b7fc895'), 'js/search.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'f0b471bbb5047706b9dd')); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.