import { RichText } from "@wordpress/block-editor"; import { sanitizeURL, BlockProps } from "@essential-blocks/controls"; const save = ({ attributes }) => { const { blockId, image, imageCaption, horizontalAlign, verticalAlign, verticalAlignCap2, stylePreset, captionStyle, hoverEffect, openInNewTab, imageLink, enableLink, classHook, imgSource } = attributes; if (imgSource !== 'custom') { return null; } let imageURL = image.url; const linkTarget = openInNewTab ? "_blank" : undefined; if (imageURL === "") return null; return (
{enableLink && ( )} {image.alt} {!RichText.isEmpty(imageCaption) && captionStyle != "caption-style-2" && ( )}
{!RichText.isEmpty(imageCaption) && captionStyle == "caption-style-2" && ( )}
); }; export default save; {"id":127241,"date":"2026-09-04T03:31:47","date_gmt":"2026-09-04T02:31:47","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=127241"},"modified":"2026-09-04T03:31:50","modified_gmt":"2026-09-04T02:31:50","slug":"leprechaun-happens-egypt-pokie-%cf%80%ce%b1%ce%af%ce%be%cf%84%ce%b5-%ce%b5%ce%bd%cf%84%ce%b5%ce%bb%cf%8e%cf%82-%ce%b4%cf%89%cf%81%ce%b5%ce%ac%ce%bd-%ce%b4%ce%b9%ce%b1%ce%b2%ce%ac%cf%83%cf%84","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=127241","title":{"rendered":"Leprechaun Happens Egypt Pokie \u03a0\u03b1\u03af\u03be\u03c4\u03b5 \u03b5\u03bd\u03c4\u03b5\u03bb\u03ce\u03c2 \u03b4\u03c9\u03c1\u03b5\u03ac\u03bd & \u0394\u03b9\u03b1\u03b2\u03ac\u03c3\u03c4\u03b5 \u03c4\u03b7 \u03b3\u03bd\u03ce\u03bc\u03b7 \u03c3\u03b1\u03c2"},"content":{"rendered":"
\n

\u03a0\u03b5\u03c1\u03b9\u03b5\u03c7\u03cc\u03bc\u03b5\u03bd\u03bf<\/p>\n