Skip to content

Instantly share code, notes, and snippets.

View patrickcoombe's full-sized avatar

Patrick Coombe patrickcoombe

View GitHub Profile
@patrickcoombe
patrickcoombe / wc-add-google-structured-data.php
Created July 3, 2025 15:43 — forked from damiencarbery/wc-add-google-structured-data.php
Google Structured Data for WooCommerce: Keep Google happy by providing product info in a form it can easily read https://www.damiencarbery.com/2019/04/google-structured-data-for-woocommerce/
<?php
/*
Plugin Name: Google Structured Data for WooCommerce
Plugin URI: https://www.damiencarbery.com/2019/04/google-structured-data-for-woocommerce/
Description: Add Google Structured Data to WooCommerce products. Asked in: https://www.facebook.com/groups/genesiswp/permalink/2358845040833346/
Author: Damien Carbery
Version: 0.1
*/
add_action( 'woocommerce_before_single_product_summary', 'dcwd_add_wc_structured_data' );
@patrickcoombe
patrickcoombe / llm.txt
Created June 30, 2025 15:51
llm.txt for JSONLD.COM
Generated by Yoast SEO v25.3.1, this is an llms.txt file, meant for consumption by LLMs.
This is the [sitemap](https://jsonld.com/sitemap_index.xml) of this website.
# JSONLD\.COM: JSON\-LD Examples From All Over The Web
> JSONLD\.com is a totally free one stop shop for SEO's and web developers alike looking for JSON\-LD schema markup examples and more\.
## Pages
- [Discussion Forum](https://jsonld.com/discussion-forum/)
@patrickcoombe
patrickcoombe / discussion-forum-json-ld.json
Created June 30, 2025 15:46
discussion Forum JSON-LD
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "DiscussionForumPosting",
"mainEntityOfPage": "https://example.com/post/midnight-aurora-expedition",
"headline": "Finally captured the Northern Lights dancing!",
"text": "After three freezing nights in Iceland, the aurora finally showed up in full glory. Worth every shivering moment!",
"video": {
"@type": "VideoObject",
"contentUrl": "https://example.com/media/aurora-borealis-timelapse.mp4",
{
"@type": "application\/tibls+json",
"itemListElement": [
{
"id": "16F17A14-BEAE-4F13-A2AE-69AB38127064",
"urlSource": "https:\/\/www.amateurgourmet.com\/blog\/2020\/12\/nancy-silvertons-epic-eggplant-lasagna.html",
"lastQueued": 0,
"updated": 978307200,
"created": 1750141629.5972791,
"lastCooked": 0,
@patrickcoombe
patrickcoombe / person-2025.js
Created May 30, 2025 18:40
Person JSON-LD 2025
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Person",
"@id": "https://patrickcoombe.com/about-patrick",
"name": "Patrick Coombe",
"alternateName": "Patrick Coombe",
"nationality": "United States",
"birthPlace": {
"@type": "Place",
@patrickcoombe
patrickcoombe / news-article-ny-post-json-ld
Last active February 18, 2025 19:32
News Article JSON-LD Example NY Post
<script type="application/ld+json">
{
"@context": "https://schema.org",
"publisher": {
"@type": "Organization",
"name": "New York Post",
"sameAs": "https://nypost.com",
"logo": {
"@type": "ImageObject",
"url": "https://nypost.com/wp-content/themes/nypost/static/images/logo-nypost.png",
@patrickcoombe
patrickcoombe / news-article-the-guardian
Created February 18, 2025 19:25
2025 News Article The Guardian
<script type="application/ld+json">
[
{
"@type": "NewsArticle",
"@context": "https://schema.org",
"@id": "https://www.theguardian.com/world/2025/feb/18/un-accuses-rwanda-backed-militia-of-killing-children-in-eastern-drc",
"publisher": {
"@type": "Organization",
"@context": "https://schema.org",
"@id": "https://www.theguardian.com#publisher",
@patrickcoombe
patrickcoombe / news-article-2025
Created February 18, 2025 19:16
Yet Another News Article JSON-LD Example 2025
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"articleBody": "Tesla CEO Elon Musk, along with US President Donald Trump, explained what he called the left’s “Trump Derangement Syndrome,” and said that he didn't realise it was a real thing until he was at a friend’s dinner party before the presidential election. During a Fox News interview with Sean Hannity, Elon Musk, describing about his friend’s dinner party a month or two ago, compared Trump Derangement Syndrome with rabies. \"This whole thing they call Trump Derangement Syndrome - you don’t realize how real it is until you see it. You can’t reason with people,\" Musk said. — MarioNawfal (@MarioNawfal) He shared an anecdote about a friend's birthday dinner \"a month or two\" before the election. He recounted: \"A nice, quiet dinner and everyone was behaving normally. And then I happened to mention the president's name, and it was like they got shot with a dart in the jugular that contained lik
@patrickcoombe
patrickcoombe / json-ld-profile-page
Created February 18, 2025 18:55
JSON-LD Profile Page
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "ProfilePage",
"dateCreated": "2025-11-02T12:11:00-08:00",
"dateModified": "2025-11-02T12:11:00-08:00",
"mainEntity": {
"@type": "Person",
"name": "Patrick Coombe",
"alternateName": "pmkoom",
@patrickcoombe
patrickcoombe / web-page-and-organization-json-ld
Created February 18, 2025 18:32
JSON-LD Example Web Page and Organization
< script type = "application/ld+json" > {
"@context": "https://schema.org",
"@graph": [{
"@type": "WebPage",
"@id": "https://www.whitehouse.gov/",
"url": "https://www.whitehouse.gov/",
"name": "The White House",
"isPartOf": {
"@id": "https://www.whitehouse.gov/#website"
},