From b355ffda22d65c0a62e30c9acf389bfbfca3d40f Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Mon, 30 Jan 2023 11:31:32 -0500 Subject: [PATCH] set up templates for taxonomy landing pages --- style.css | 2 +- .../content/content-tax-question.php | 44 +++++++++++++++++++ template-questions.php | 44 +++---------------- template-shelf.php | 37 ++++++++++++++++ template-spectrum.php | 37 ++++++++++++++++ 5 files changed, 125 insertions(+), 39 deletions(-) create mode 100644 template-parts/content/content-tax-question.php create mode 100644 template-shelf.php create mode 100644 template-spectrum.php diff --git a/style.css b/style.css index 6b562b2..ef1e9f2 100755 --- a/style.css +++ b/style.css @@ -5,7 +5,7 @@ Author: Evan Mullins Author URI: https://circlecube.com Template: twentynineteen - Version: 1.12.4 + Version: 1.12.5 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: wasmo diff --git a/template-parts/content/content-tax-question.php b/template-parts/content/content-tax-question.php new file mode 100644 index 0000000..f9b83fb --- /dev/null +++ b/template-parts/content/content-tax-question.php @@ -0,0 +1,44 @@ + + + +

+ + Mormon Questions: +

+ + + \ No newline at end of file diff --git a/template-questions.php b/template-questions.php index 9f2032b..61f0451 100755 --- a/template-questions.php +++ b/template-questions.php @@ -25,46 +25,14 @@ get_header(); endwhile; // End of the loop. ?> - 'question', - 'hide_empty' => false, - 'count' => true, - 'orderby' => 'count', - 'order' => 'DESC', - ]); - - ?> -
+
-
    -
  • Why I left?
  • - term_id; - - // if has answers - if ( 0 < $term->count ) { - ?> -
  • - name; ?> -
  • - -
  • name; ?>
  • - -
+
-
+ diff --git a/template-shelf.php b/template-shelf.php new file mode 100644 index 0000000..167e926 --- /dev/null +++ b/template-shelf.php @@ -0,0 +1,37 @@ + + +
+
+ + + +
+
+ +
+
+
+
+ + + +
+
+ + + +
+
+ +
+
+
+
+ +