Jeremiah Lee on Nostr: The best solution I have found for giving a single post on WordPress its own styling ...
The best solution I have found for giving a single post on WordPress its own styling that does not involve editing the theme files is to create a post that contains an iframe that loads the post’s HTML, CSS, JS from somewhere else. This will result in the site theme’s chaos around the post content area instead of a full page experience, but that seems better than a fragile solution modifying the theme.
#WordPress
Published at
2024-09-09 14:20:52Event JSON
{
"id": "02bfa4fec2a2d731273212f88df13df1fcc1d7f210dd28a3fc04877c11510cd9",
"pubkey": "bc496a7f99d69c2e9bf66fcb9e398bd7b1f7ae733ad003e6b8488debaf0a289a",
"created_at": 1725891652,
"kind": 1,
"tags": [
[
"e",
"2766e0ce041e31ebd09146437c13c3754836a31e9aee83b01ad50729e3a8dfb4",
"wss://relay.mostr.pub",
"reply"
],
[
"t",
"wordpress"
],
[
"proxy",
"https://alpaca.gold/users/Jeremiah/statuses/113108035369889939",
"activitypub"
]
],
"content": "The best solution I have found for giving a single post on WordPress its own styling that does not involve editing the theme files is to create a post that contains an iframe that loads the post’s HTML, CSS, JS from somewhere else. This will result in the site theme’s chaos around the post content area instead of a full page experience, but that seems better than a fragile solution modifying the theme.\n\n#WordPress",
"sig": "850babc17343f3da35fed7393899b930bf4bf605aa434d4ae99cc525dead17ed186874421849b9ba85da1f5495ec6a27092482163f41f718f20f8be22f0ff811"
}