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":157907,"date":"2026-09-11T13:00:47","date_gmt":"2026-09-11T12:00:47","guid":{"rendered":"https:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=157907"},"modified":"2026-09-11T13:00:53","modified_gmt":"2026-09-11T12:00:53","slug":"lightning-connect-gambling-establishment-100-percent-free-gold-coins-every-the-twisted-circus-slot-day-perks-easy-enjoyment","status":"publish","type":"post","link":"http:\/\/www.foxmultimedia.co.uk\/fizzydev\/?p=157907","title":{"rendered":"Lightning Connect Gambling establishment 100 percent free Gold coins, Every the twisted circus slot day Perks & Easy Enjoyment"},"content":{"rendered":"
\n

Posts<\/p>\n