This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
while IFS= read -r url; do | |
# use sed to parse the URL since it really only needs the slug I could have done this manually instead but whatever | |
# also note make sure you have a file called urls.txt with the right perms with the URLs you wanna delete | |
slug=$(echo "$url" | sed 's|.*/||; s|/$||') | |
# Find post ID by slug | |
post_id=$(wp post list --post_name="$slug" --field=ID --post_status=any) | |
if [ ! -z "$post_id" ]; then | |
wp post delete "$post_id" --force | |
echo "Deleted: $url (ID: $post_id)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="application/ld+json"> | |
{ | |
"@context": "https://schema.org", | |
"@type": "LocalBusiness", | |
"name": "ABD STUDIO", | |
"description": "ABD STUDIO is an interior design studio located in the heart of San Francisco’s Russian Hill neighborhood, at 2418 Polk Street. Nestled among charming storefronts and walkable streets, our light-filled studio is just minutes from many of our project sites across San Francisco.", | |
"url": "https://abd-studio.com", | |
"address": { | |
"@type": "PostalAddress", | |
"streetAddress": "2418 Polk Street", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="application/ld+json"> | |
[ | |
{ | |
"@context": "https://schema.org", | |
"@type": "GeoCoordinates", | |
"name": "GeoCoordinates", | |
"latitude": "33.1187514", | |
"longitude": "-117.0859457", | |
"@id": "https://specialtydesignbuild.com/#GeoCoordinates" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": "https://schema.org", | |
"@type": "SportsTeam", | |
"name": "Springfield Hawks", | |
"sport": "Basketball", | |
"logo": "https://www.springfieldhawks.com/logo.png", | |
"homeLocation": { | |
"@type": "Place", | |
"name": "Hawks Arena", | |
"address": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": "https://schema.org", | |
"@type": "SportsTeam", | |
"name": "Springfield Hawks", | |
"sport": "Basketball", | |
"memberOf": [ | |
{ | |
"@type": "SportsOrganization", | |
"name": "Springfield Basketball League" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": "https://schema.org", | |
"@type": "SportsTeam", | |
"name": "Springfield Falcons", | |
"sport": "Soccer", | |
"memberOf": { | |
"@type": "SportsAssociation", | |
"name": "Springfield Soccer League" | |
}, | |
"coach": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="application/ld+json"> | |
{ | |
"@context": [ | |
"https://schema.org", | |
"https://www.w3.org/ns/credentials/v2" | |
], | |
"@type": "VerifiableCredential", | |
"validFrom": "2022-01-01T16:00:00Z", | |
"id": "http://certification.example/credentials/99876", | |
"issuer": "https://certification.example/issuers/1562", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": "https://schema.org", | |
"@type": "Certification", | |
"name": "USDA Organic", | |
"url": "https://www.usda.gov/topics/farming/organic-agriculture" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="application/ld+json"> | |
{ "@context": "https://schema.org", | |
"@type": "Organization", | |
"name": "Elite Strategies", | |
"legalName" : "Elite Strategies Llc", | |
"url": "http://www.elite-strategies.com", | |
"logo": "http://cdn.elite-strategies.com/wp-content/uploads/2013/04/elitestrategies.png", | |
"foundingDate": "2009", | |
"founders": [ | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="application/ld+json"> | |
{ | |
"@context": "https://schema.org", | |
"@type": "PhysiciansOffice", | |
"name": "Smith Medical Clinic", | |
"address": { | |
"@type": "PostalAddress", | |
"streetAddress": "123 Health St", | |
"addressLocality": "Boston", | |
"addressRegion": "MA", |
NewerOlder