Use name or id but NOT the title folks
-
Hi y’all,
I’m sticking this to the top of the forum since I repeat this frequently. To identify your widget in the shortcode, use a safe constant identfier like the NAME or the ID.
The name is the generic NAME like “tag cloud”.
NOT your unique title eg: “Amazing Cloud Of Keywords” which you might one day while procrastinating about doing real work, idly decide looks a bit twee and change to “Cloud of tags”. That would break the do_widget shortcode and it would not find your widget (if that was the way it worked).
For this reason the plugin deliberately does not allow identification by ‘title’. It is not necessary – for simple usage the name is perfectly adequate, for more complicated multi-instance usage, the ID is safer all around.
Anlso ‘title=’ is being used to allow you to change the html tag used around the title (or hide the title), so it would be a tad confusing anyway to offer it and not necessary.
Lots of effort went into writing up detailed instructions both on the main wordpress page and in the settings page. Please read them before posting a support question – it would be more respectful of peoples time
Ta!
https://www.ads-software.com/plugins/amr-shortcode-any-widget/
- The topic ‘Use name or id but NOT the title folks’ is closed to new replies.