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":127843,"date":"2026-09-04T07:12:07","date_gmt":"2026-09-04T06:12:07","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=127843"},"modified":"2026-09-04T07:12:08","modified_gmt":"2026-09-04T06:12:08","slug":"regal-las-vegas-claim-play-9-masks-of-fire-slot-the-100-percent-free-spins-1200-incentive-today","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=127843","title":{"rendered":"Regal Las vegas: Claim play 9 Masks of Fire slot The 100 percent free Spins & $1200 Incentive Today"},"content":{"rendered":"
\n

Posts<\/p>\n