From cd9d38833463b1f75e4874a43ce066e974eb2efa Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Mon, 7 Oct 2019 10:54:56 -0300 Subject: [PATCH] Removes title, meta and top margin when no title is passed to posts or pages. #20. --- src/template-parts/loop-singular.php | 30 +++++++++++-------- src/template-parts/single-post.php | 44 +++++++++++++++------------- 2 files changed, 41 insertions(+), 33 deletions(-) diff --git a/src/template-parts/loop-singular.php b/src/template-parts/loop-singular.php index f299ae8..2ec5c96 100644 --- a/src/template-parts/loop-singular.php +++ b/src/template-parts/loop-singular.php @@ -1,18 +1,24 @@ -
-
-
    -
  • - -
  • -
  • -
+ +
+
+
    +
  • + +
  • +
  • +
+
-
-
- -
+
+ +
+ +
+ +
+
Previous', 'tainacan-interface' ) ); ?> diff --git a/src/template-parts/single-post.php b/src/template-parts/single-post.php index 85c3fb4..54ba921 100644 --- a/src/template-parts/single-post.php +++ b/src/template-parts/single-post.php @@ -1,26 +1,28 @@