mschouten
Forum Replies Created
-
Forum: Plugins
In reply to: [Shortcake (Shortcode UI)] Register UI codeThis is a really nice plugin, i can see it’s potential!
but I am sorry, i really can’t get it to work…Forum: Plugins
In reply to: [Shortcake (Shortcode UI)] Register UI codeThank you for your quick reply!!
I added the following to functions.php:
/** * Register a UI for the Shortcode. * Pass the shortcode tag (string) * and an array or args. */ shortcode_ui_register_for_shortcode( 'shortcake_dev', array( // Display label. String. Required. 'label' => 'Shortcake Dev', // Icon/attachment for shortcode. Optional. src or dashicons-$icon. Defaults to carrot. 'listItemImage' => 'dashicons-editor-quote', 'inner_content' => array( 'label' => 'Quote', ), 'post_type' => array( 'post' ), // Available shortcode attributes and default values. Required. Array. // Attribute model expects 'attr', 'type' and 'label' // Supported field types: text, checkbox, textarea, radio, select, email, url, number, and date. 'attrs' => array( array( 'label' => 'Attachment', 'attr' => 'attachment', 'type' => 'attachment', 'libraryType' => array( 'image' ), 'addButton' => 'Select Image', 'frameTitle' => 'Select Image', ), array( 'label' => 'Cite', 'attr' => 'source', 'type' => 'text', 'meta' => array( 'placeholder' => 'Test placeholder', 'data-test' => 1, ), ), array( 'label' => 'Select Page', 'attr' => 'page', 'type' => 'post_select', 'query' => array( 'post_type' => 'page' ), 'multiple' => true, ), ), ) ); /** * Register a UI for the Shortcode. * Pass the shortcode tag (string) * and an array or args. */ shortcode_ui_register_for_shortcode( 'shortcake_dev', array( // Display label. String. Required. 'label' => 'Shortcake Dev', // Icon/attachment for shortcode. Optional. src or dashicons-$icon. Defaults to carrot. 'listItemImage' => 'dashicons-editor-quote', 'inner_content' => array( 'label' => 'Quote', ), 'post_type' => array( 'post' ), // Available shortcode attributes and default values. Required. Array. // Attribute model expects 'attr', 'type' and 'label' // Supported field types: text, checkbox, textarea, radio, select, email, url, number, and date. 'attrs' => array( array( 'label' => 'Attachment', 'attr' => 'attachment', 'type' => 'attachment', 'libraryType' => array( 'image' ), 'addButton' => 'Select Image', 'frameTitle' => 'Select Image', ), array( 'label' => 'Cite', 'attr' => 'source', 'type' => 'text', 'meta' => array( 'placeholder' => 'Test placeholder', 'data-test' => 1, ), ), array( 'label' => 'Select Page', 'attr' => 'page', 'type' => 'post_select', 'query' => array( 'post_type' => 'page' ), 'multiple' => true, ), ), ) );
Can you help me further?
I am a web designer / web developer, not that technical..Forum: Plugins
In reply to: [Easy Bootstrap Shortcode] Issue with tabs shortcodeI found out that i had a setting
Bootstrap JS File
And it was set to: Use from theme or any other pluginI have changed setting to: Use from EBS Plugin
And it got me to work, so it was a theme issue!
Forum: Plugins
In reply to: [Easy Bootstrap Shortcode] Issue with tabs shortcodeI notices an error in my debugger console:
TypeError: $ is not a function
$(document).ready(function(){$(“.jumbotron”).fitVids()});But i think it is something from my wp theme..
jonwarmington, it is not fixed in latest version.
Can i use your custom shortcode?Forum: Plugins
In reply to: [Easy Bootstrap Shortcode] Issue with tabs shortcodeI have removed this break, but still can get tabs to work.
When i click on another tab, it doesn’t change.Working on latest WP 4.2.4 and Latest plugin version 4.4.4
Is plugin version updated soon?