From b0aef2aef335e2df240fd4c262900c2a520364a8 Mon Sep 17 00:00:00 2001 From: Brian Dunnigan Date: Mon, 16 Apr 2018 12:03:04 -0400 Subject: [PATCH] Adding new post loop template New post loop template with just an image and linked title --- content-large-image-and-title-only.php | 23 +++++++++++++++++++++++ prepros.cfg | 11 +++++++++++ 2 files changed, 34 insertions(+) create mode 100644 content-large-image-and-title-only.php diff --git a/content-large-image-and-title-only.php b/content-large-image-and-title-only.php new file mode 100644 index 0000000..4300f3d --- /dev/null +++ b/content-large-image-and-title-only.php @@ -0,0 +1,23 @@ +
> +
+ + 0 || !empty($external_link)) && has_post_thumbnail()) { + echo''.get_the_post_thumbnail().''; + } elseif(has_post_thumbnail()) { + the_post_thumbnail(); + } + ?> +

+ 0 || !empty($external_link)) { + echo''.get_the_title().''; + } else { + the_title(); + } + ?> +

+ +
+
\ No newline at end of file diff --git a/prepros.cfg b/prepros.cfg index 4d54181..1a4fe74 100644 --- a/prepros.cfg +++ b/prepros.cfg @@ -591,6 +591,17 @@ "optimized": false, "height": 0, "width": 0 + }, + "673aa02e": { + "id": "673aa02e", + "path": "content-large-image-and-title-only.php", + "output": "content-large-image-and-title-only.php", + "name": "content-large-image-and-title-only.php", + "category": "JUST_WATCH", + "customOutput": false, + "imported": false, + "parents": [], + "type": "php" } }, "deploymentHistory": {},