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":133179,"date":"2026-09-06T13:34:59","date_gmt":"2026-09-06T12:34:59","guid":{"rendered":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=133179"},"modified":"2026-09-06T13:35:01","modified_gmt":"2026-09-06T12:35:01","slug":"rating-a-hundred-extra-2-hundred-free-revolves-gamble-best-casino-400-first-deposit-bonus-today","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=133179","title":{"rendered":"Rating \u00a3a hundred Extra, 2 hundred Free Revolves Gamble best casino 400 first deposit bonus Today"},"content":{"rendered":"
\n

Articles<\/p>\n