Hi,
Thank you for your plugin.
I have some suggestions based on my one-time use:
– Sort shortcodes alfabetically, that makes them easier to scan. What is the current sort order based on?
(For reference, there are 97 shortcodes on the site I am working on ATM.)
– If I click on a shortcode, it takes about 5 seconds for the details to show up. (This may be an issue with my dev server on localhost.) Could this be sped up? At first I thought your plug-in was broken.
– I found it difficult to even find your tool. You calling it a meta-box certainly made it easier for me, but I can imagine the average user may even struggle with that. Maybe add some documentation?
– Why is every info box prefaced with a link called “PHP native” that links to the PHP website?
I realise these are all minor issues and once I was able to find your tool I was able to use it just fine.
Thanks,
]]>Hi,
I installed this plugin and tried to find out, how it works.
I added a Gutenberg paragraph block – but couldn′t see, how this plugin could be used there.
I also added a Gutenberg shortcode block …
Maybe I just don′t get, how to use this plugin.
Thank you for your support
Markus
Ha Bart,
Weet niet of je hier nog wel eens komt kijken, maar Shortcode Reference blijkt niet samen te werken met WooCommerce dat ik zojuist op mijn site installeerde. De Classic Editor blijkt dan verdwenen, d.w.z. een blank formulier met wit op witte tekst. De knoppen worden niet meer getoond en zo ongeveer niets werkt nog. Niet eenvoudig om deze plugin tussen de overige 46 vandaan te vissen.
]]>Hi,
I get a general crash (stop loading page) :
`ReflectionException thrown
Function LoginWithAjax::shortcode() does not exist`
I just found the origin. You can find the details here :
Login with ajax support : ReflectionException thrown Function LoginWithAjax::shortcode() does not exist
Best regards
Trebly
]]>I’m providing a limited set of shortcodes to a client, so I needed Shortcode Reference’s functionality, but didn’t want the default WP shortcodes cluttering up the list.
I’ve added the following filter which will only include documentation for the shortcodes I want. Feel free to add it to the plugin code.
@@ -50,7 +50,16 @@ class ShortcodeReferenceService {
global $shortcode_tags;
self::$references = array();
- foreach($shortcode_tags as $tag => $function) {
+
+ /**
+ * Filter the list of shortcodes that will appear in the Shortcode Reference metabox
+ *
+ * @param array shortcode_tags array Shortcodes in the same format as the $shortcode_tags global (tag =
+ */
+ $documented_tags = apply_filters('shortcode_reference', $shortcode_tags);
+
+
+ foreach($documented_tags as $tag => $function) {
$name = $tag.'_Reflection';
$$name = new ShortcodeReference($tag);
self::$references[$tag] = $$name;
Usage
add_filter('shortcode_reference', 'clientprefix_filter_shortcode_reference');
function clientprefix_filter_shortcode_reference($shortcodes) {
$result = [];
foreach ($shortcodes as $tag => $fn) {
if (preg_match('/^clientprefix-/', $tag)) {
$result[$tag] = $fn;
}
}
return $result;
}
Thanks for this simple-yet-effective plugin!
]]>Is this plugin still maintained or is it an orphan now?
]]>I updated WordPress to 4.3 and now the plugin is broken. It prevents Visual Composer from loading (maybe because it loads after Shortcode Reference?) and the page text in the editor is white on the normal white background. Deactivating this plugin fixes everything.
]]>Hi,
Using current version 4.2.2
I don’t know for now where but the plugin crashes the edit of article.
The php is stopped during execution, it seems before plugin shortcode reference display.
The WP mode is debug but nothing is shown.
Running on OVH the configovh is development, no error reported, nothing displayed.
The lonely solution that I should have is to get back the application to my dev environment and trace the execution with XDebug.
I have no time for this now.
Best regards
Trebly
]]>Hi All,
Thank you @dandv , @dlindgren , @_devc , @vtxyzzy and @jrf !
You’ve been discussing various topics, which are currently closed. It’s about these:
With these topics, I think I can reproduce the issue, and therefore, I can fix it. Better to say, I’ll review @jrf ‘s gist in order to fix this. I cannot guarantee it will be soon, but it’s on my radar.
Thanks!
Bart
]]>PHP Notice: Undefined property: ShortcodeReference::$_url in /root/plugins/shortcode-reference/lib/ShortcodeReference.php on line 180
PHP Notice: Undefined variable: final_line in /root/plugins/shortcode-reference/lib/ShortcodeReference.php on line 86
]]>When Shortcode Reference is activated along with the two other plugins, an error is generated whenever trying to edit any Post or Page.
This may be related to the error reported here: https://www.ads-software.com/support/topic/scope-resolution-operator?replies=3
]]>When installed with a combination of ‘Fast Secure Contact Form’ and ‘NextGEN’, any attempt to edit a Post or Page gives this error:
ReflectionException thrown
Function FSCF_Display::process_short_code() does not exist
A clean install of WP 3.6.1 with only those 3 plugins active shows the problem. Deactivating any one of the 3 eliminates the problem.
]]>I’ve found a minor bug:
PHP Fatal error: Uncaught exception ‘ReflectionException’ with message ‘Function class_name::function_name() does not exist’ in wp-content/plugins/shortcode-reference/lib/ShortcodeReference.php:63
here’s the fix:
shortcode-reference\lib\ShortcodeReference.php
add to line 61:
if ( (is_string($this->_function_name)) && (strpos($this->_function_name, ‘::’)!==false) ) $this->_function_name = explode(‘::’, $this->_function_name);
https://www.ads-software.com/extend/plugins/shortcode-reference/
]]>The tooltip for the mOover shortcode reads “PHP Native”.
https://www.ads-software.com/extend/plugins/shortcode-reference/
]]>What’s up with the truncated text in the plugin’s description on its page? ?? Also, in the readme, “providing realtime information about you”
https://www.ads-software.com/extend/plugins/shortcode-reference/
]]>Hello. The plugin was throwing errors for me and so I had someone at WPQuestions.com look into it. Here’s their revised plugin, stating that additional edits are still needed for this plugin to really be error-free. Please consider this update as encouragement to continue updating it or finding another contributor. Thank you very much.
Updated version of plugin: https://db.tt/DHL3cVC2
WPQuestions question: https://www.wpquestions.com/question/show/id/4307
https://www.ads-software.com/extend/plugins/shortcode-reference/
]]>I just installed this plugin on a site that’s running — alas — on IIS, and I noticed console errors indicating that the scripts and stylesheets couldn’t load. Your code for determining the plugin paths doesn’t work on Windows machines. It was easy to fix using WP’s plugins_url
function, though. I replaced your wp_enqueue_script
and wp_register_style
lines in shortcode-reference.php with this:
wp_enqueue_style( 'shortcode-reference-style', plugins_url('/css/shortcode-reference.css', __FILE__) );
wp_enqueue_script( 'shortcode-reference-js', plugins_url('/js/shortcode-reference.js', __FILE__) );
… and removed the plugin directory definition and wp_enqueue_style
lines from the conf file.
https://www.ads-software.com/extend/plugins/shortcode-reference/
]]>I use https://www.ads-software.com/extend/plugins/wp-property/ that creates a properties section for WordPress. It would be great if this plugin was available on the property pages.
https://www.ads-software.com/extend/plugins/shortcode-reference/
]]>WP: 3.1.2
Domain: https://www.newurbangirl.me
Theme: TwentyTen + Custom Child Theme w/CSS Changes
Plugins: Several, including Shortcode Exec PHP, Simple Facebook Connect, Simple Twitter Connect, Delicious Tagroll Shortcode, Subscribe2, Stout Google Calendar and others.
Here is the issue: I use several plugins that offer shortcodes as part of their features. In addition to this, I have shortcodes defined in a Custom “Child Theme” functions.php for TwentyTen AND I have some defined in Shortcode Exec PHP. Shortcode Reference appears to display most of these, but when trying to insert a shortcode, this results:
Warning: fopen(/home/newurban/public_html/wp-content/plugins/simple-facebook-connect/simple-facebook-connect.php) [function.fopen]: failed to open stream: No such file or directory in /home/newurban/public_html/wp-includes/functions.php on line 4284
Warning: fread(): supplied argument is not a valid stream resource in /home/newurban/public_html/wp-includes/functions.php on line 4287
Warning: fclose(): supplied argument is not a valid stream resource in /home/newurban/public_html/wp-includes/functions.php on line 4290
Plugin: simple-facebook-connect
No documentation found.
This appears to occur regardless of the source of the shortcode. However, if the shortcode is defined in the parent theme functions.php, it appears to work.
https://www.ads-software.com/extend/plugins/shortcode-reference/
]]>Actually, using WP 3.02 but drop down doesn’t have it yet.
After installing this plugin WP is always indicating that it needs to be updated – that a newer version exists.
the message is:
There is a new version of Shortcode Reference available. View version 0.0 Details or upgrade automatically.
https://www.ads-software.com/extend/plugins/shortcode-reference/
]]>