From 85f32c02f80286094cc5230a30cd7ebbe77eae2d Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sat, 14 Feb 2026 19:15:40 +0000
Subject: [PATCH] =added functions for outputting custom meta fields for our post types

---
 content/writing.php |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/content/writing.php b/content/writing.php
index 737966e..8cd4c7f 100644
--- a/content/writing.php
+++ b/content/writing.php
@@ -8,6 +8,7 @@
         'hide_single'  => false,
         'redirectToAuthor'=> false,
         'show_feed'    => true,
+        'addCrumb'      => 'project',
         'show_directory'=> true,
         'directory' => 'Writing',
         'favouritable' => true,
@@ -107,6 +108,7 @@
                 'quill' => true,
                 'label' => 'Notes'
             ],
+
             'needs' => [
                 'type'  => 'repeater',
                 'label' => 'Needs',
@@ -116,6 +118,11 @@
                         'label' => 'Need',
                         'required' => true
                     ],
+                    'image' => [
+                        'type'  => 'upload',
+                        'multiple' => true,
+                        'label' => 'Example Image'
+                    ],
                     'fulfilled' => [
                         'type'  => 'textarea',
                         'quill' => true,
@@ -132,6 +139,11 @@
                         'label' => 'Want',
                         'required' => true
                     ],
+                    'image' => [
+                        'type'  => 'upload',
+                        'multiple' => true,
+                        'label' => 'Example Image'
+                    ],
                     'fulfilled' => [
                         'type'  => 'textarea',
                         'quill' => true,
@@ -141,6 +153,6 @@
             ],
         ],
         'single_image' => false,
-        'upload_title' => 'Upload Artwork',
+        'upload_title' => 'Upload Writings',
     ];
 }

--
Gitblit v1.10.0