Adds a text-like widget that allows you to write shortcode in it. (Just whats missing in the default text widget)
To test the widget you can add the widget and use the shortcode “[shortcode_widget_test]”, it will display “It works” on the frontend and this will confirm the widget does work.
- Add the plugin’s folder in the WordPress’ plugin directory.
- Activate the plugin.
- You are now ready to use the Shortcode Widget from the Widgets section.
- To test the widget you can add the widget and use the shortcode “[shortcode_widget_test]”, it will display “It works” on the frontend and this will confirm the widget does work.
ਯੋਗਦਾਨੀ ਤੇ ਵਿਕਾਸਕਾਰ
“Shortcode Widget” is open source software. The following people have contributed to this plugin.ਯੋਗਦਾਨੀ
“Shortcode Widget” has been translated into 5 locales. Thank you to the translators for their contributions.
“Shortcode Widget” ਦਾ ਆਪਣੀ ਭਾਸ਼ਾ ਵਿੱਚ ਅਨੁਵਾਦ ਕਰੋ।
ਵਿਕਾਸ ਕਾਰਜ ਵਿੱਚ ਰੁਚੀ ਰੱਖਦੇ ਹੋ?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
- Strict PHPCS ruleset adherence.
- More documentation in widget class.
- Testing with WordPress 5.6
- Some PHPCS corrections, making code adhering to WordPress coding standards.
- Replaced strip_tags function with wp_strip_all_tags.
- Unescaped title back in the code as escaping it was creating issues with other plugins.
- Added icon and screenshots.
- Escaping some values that could have been overridden by the translations.
- Added pot file for translations.
- Change in calling of widget_text filter with new parameter that was added in WordPress 4.4.1
- Updated compatibility with WordPress 4.8
- Reversed the order of changelog.
- Minor bug fix.
- Changed tested up to version number.
- Made it translation ready, constant was being used for text domains, silly error, I know 🙂
- Corrections in text domain and added one more string as translatable.
- Reflecting the changes that have been done to the default text widget over the years.
- Tested with WP 4.0
- Added a shortcode for testing the plugin ‘[shortcode_widget_test]’
- Added translation support.
- Added the shortcode widget.