From e58fb9ed6dff52a303141d39afa8d0c256ceed46 Mon Sep 17 00:00:00 2001 From: Tetrakern <26898880+Tetrakern@users.noreply.github.com> Date: Thu, 22 Aug 2024 20:26:14 +0200 Subject: [PATCH] Move cookie partial into shortcode function --- includes/functions/_setup-shortcodes.php | 9 ++++++++- partials/_cookie-buttons.php | 21 --------------------- 2 files changed, 8 insertions(+), 22 deletions(-) delete mode 100644 partials/_cookie-buttons.php diff --git a/includes/functions/_setup-shortcodes.php b/includes/functions/_setup-shortcodes.php index 3cca3289..e0f62ff5 100644 --- a/includes/functions/_setup-shortcodes.php +++ b/includes/functions/_setup-shortcodes.php @@ -931,7 +931,14 @@ add_shortcode( 'fictioneer_bookmarks', 'fictioneer_shortcode_bookmarks' ); function fictioneer_shortcode_cookie_buttons( $attr ) { ob_start(); - get_template_part( 'partials/_cookie-buttons' ); + + // Start HTML ---> ?> +
+ - -