| 开发者 | klydexa |
|---|---|
| 更新时间 | 2026年10月27日 23:04 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
<dialog> element. No jQuery, slider library or popup library on the front end.<?php echo klydexa_link_actions_for_acf_render( get_field( 'my_link_action' ) ); ?>
Or set the field's Return format to "Rendered HTML" and use the_field( 'my_link_action' ).The field type needs Advanced Custom Fields 6.0 or later, free or PRO. Without it, the plugin shows a notice to administrators and does nothing else.
None, until an administrator allows them under Settings > Link Actions for ACF. Every user who can edit a Link Action field can then use the allowed shortcodes with any attributes, so allow only shortcodes that are safe for those users. Developers can also allow shortcodes with the klydexa_link_actions_for_acf_allowed_shortcodes filter.
No plugin can promise that. The shortcode is rendered on the server when the page loads and stays in place on the page, so ordinary forms keep working. However, some plugins load their scripts only on certain pages, measure their content when the page loads (which fails while the popup is hidden) or expect to appear only once per page. Test each shortcode you allow. See the developer documentation for the kdlaa:open event, which can be used to re-initialize such content.
YouTube and Vimeo page addresses, for example https://www.youtube.com/watch?v=…, https://youtu.be/… or https://vimeo.com/…. Embed codes and other services are not accepted.
When "Start video when the popup opens" is on (the default), playback starts after the visitor clicks the link, which counts as their request to play. Some browsers still require a second click, for example on mobile data-saving modes.
Yes. All classes start with kdlaa-, and colors, radius and widths are CSS custom properties on .kdlaa-dialog. You can also pass extra CSS classes to the link with the class argument of the render function.
Yes. The markup does not depend on the visitor, and the script is a standard deferred footer script with no inline configuration. Excluding it from combining is not required.
The shortcode allowlist setting is deleted. Link Action field values are your content and are kept in the database.