🔵 other: Initial WP conversion from Eleventy
Sync TODOs with Issues / sync_todos (push) Successful in 7s
Sync TODOs with Issues / sync_todos (push) Successful in 7s
This commit is contained in:
@@ -78,14 +78,14 @@ if ( $vidBlock && strpos( $vidBlock, '<iframe' ) !== false ) {
|
||||
$ctaWidth = $cta['width'] ?? '';
|
||||
|
||||
// Handle admin preview
|
||||
if ( is_admin() && $ctaURL ) {
|
||||
$ctaURL = '#';
|
||||
if ( is_admin() && $ctaUrl ) {
|
||||
$ctaUrl = '#';
|
||||
}
|
||||
?>
|
||||
<x-button
|
||||
btnclasses="button text-center"
|
||||
element="a"
|
||||
url="<?php echo esc_url( $ctaURL ); ?>"
|
||||
url="<?php echo esc_url( $ctaUrl ); ?>"
|
||||
target="<?php echo esc_attr( $ctaTarget ); ?>"
|
||||
title="<?php echo esc_attr( $ctaTitle ); ?>"
|
||||
color="<?php echo esc_attr( $ctaColor ); ?>"
|
||||
|
||||
Reference in New Issue
Block a user