How to insert a shortcode from an ACF field

For some reason, the shortcode element doesn’t include the dynamic data option, so a shortcode can’t be inserted directly via a custom field.With one extra step, we can still make it work. For example, here is a custom field used to insert a shortcode: In a new Text element, click the icon to add dynamic […]

Global Lightbox Styling

The gallery lightbox comes with just a few simple style options, and these adjustments only affect the individual lightbox element. There’s no overall setting to standardize the appearance across all lightboxes on your site. To gain complete control over the styles, add the snippet below. It allows you to customize background colors, borders, and captions, […]

TranslatePress condition for Breakdance

This code snippet adds a new condition in Breakdance, allowing you to select any language you’ve previously added through TranslatePress. While this code was AI-generated, it has been thoroughly tested and verified. Copy and paste the code below into a Snippet Manager. For best results, we recommend using WPCodeBox, the top solution available. <?php /** […]

How to adjust video aspect ratios for different breakpoints

While the video aspect ratio can’t be adjusted directly for different breakpoints, here’s a straightforward workaround: First, select your video element and choose your target breakpoint. Then apply this custom CSS with your preferred aspect ratio: %%SELECTOR%% .ee-video-container { aspect-ratio:16/9; padding-top:unset; }