Skip to content

Commit

Permalink
search carousel post pagination achieved
Browse files Browse the repository at this point in the history
  • Loading branch information
veerajxcode committed Sep 3, 2024
1 parent 8663d1b commit 58b71d7
Show file tree
Hide file tree
Showing 65 changed files with 5,184 additions and 330 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
/wp-content/plugins/index.php
/wp-content/themes/index.php
/wp-includes/
/index.php
/license.txt
/readme.html
/wp-*.php
Expand Down
52 changes: 52 additions & 0 deletions archive.php
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();

27 changes: 27 additions & 0 deletions assets/.stylelintrc.json
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
}
}
2 changes: 1 addition & 1 deletion assets/build/assets.php
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'));
38 changes: 36 additions & 2 deletions assets/build/css/blocks.css

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

2 changes: 1 addition & 1 deletion assets/build/css/blocks.css.map

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

151 changes: 151 additions & 0 deletions assets/build/css/search.css

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

1 change: 1 addition & 0 deletions assets/build/css/search.css.map

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

38 changes: 38 additions & 0 deletions assets/build/js/author.js

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

1 change: 1 addition & 0 deletions assets/build/js/author.js.map

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

Loading

0 comments on commit 58b71d7

Please sign in to comment.