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 + '"]'); } }); },