From 747156da7a3fd352ff5961a8592c79a1c67c3e67 Mon Sep 17 00:00:00 2001 From: jorge-vitrubio Date: Mon, 25 Jul 2022 10:10:18 +0200 Subject: [PATCH] fixed shortcode construction --- assets/shortcode-PFT-btn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/shortcode-PFT-btn.js b/assets/shortcode-PFT-btn.js index e4c7d56..a0f9c41 100644 --- a/assets/shortcode-PFT-btn.js +++ b/assets/shortcode-PFT-btn.js @@ -98,7 +98,7 @@ ], onsubmit: function( e ) { - editor.insertContent( '[pft layout="' + e.data.layout + '" tag="' + e.data.post_tag + '" order_by="' + e.data.orderby + '" order="' + e.data.order + '" post_number="' + e.data.post_number + '" length="' + e.data.length + '" readmore="' + e.data.readmore + '" show_date="' + e.data.show_date + '" show_image="' + e.data.show_image + '" image_size="' + e.data.image_size + '"]'); + editor.insertContent( '[pft layout="' + e.data.layout + '" tag_id="' + e.data.post_tag + '" order_by="' + e.data.orderby + '" order="' + e.data.order + '" post_number="' + e.data.post_number + '" length="' + e.data.length + '" readmore="' + e.data.readmore + '" show_date="' + e.data.show_date + '" show_image="' + e.data.show_image + '" image_size="' + e.data.image_size + '"]'); } }); },