From c19264ac916707096fe294d996a1b7fb85206b34 Mon Sep 17 00:00:00 2001
From: Jake Vanderwerf <get@jakevanderwerf.ca>
Date: Sun, 08 Mar 2026 19:55:31 +0000
Subject: [PATCH] =Furthering along the complete refactor. Added some basic setup for is_content taxonomies, including a page for an archive of the terms.

---
 inc/managers/SEO/render/Traits/ThingSchema.php |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/inc/managers/SEO/render/Traits/ThingSchema.php b/inc/managers/SEO/render/Traits/ThingSchema.php
index e77d3e1..cfebbf6 100644
--- a/inc/managers/SEO/render/Traits/ThingSchema.php
+++ b/inc/managers/SEO/render/Traits/ThingSchema.php
@@ -31,13 +31,14 @@
 
 	protected array $ignore = [
 		'mappedMethods',
-		'ignore'
+		'ignore',
+		'id'
 	];
 	public function outputSchema():array
 	{
 		global $wp;
 		$current = home_url( add_query_arg( $_GET, $wp->request ) );
-		$id = (isset($this->id)) ? $this->id : $current.'/#'.strtolower($this->getTypeName());
+		$id = (isset($this->id)) ? $this->id : $current.'#'.strtolower($this->getTypeName());
 		$elements = array_map(
 			function ($value) {
 
@@ -118,4 +119,11 @@
 		}
 		$this->id = $id;
 	}
+
+	public function delete(string $property):void
+	{
+		if (property_exists($this, $property)) {
+			unset($this->$property);
+		}
+	}
 }

--
Gitblit v1.10.0