This WordPress plugin adds text widget that switched display text using wp_is_mobile() function whether the device is mobile or not.
Author: | thingsym (profile at wordpress.org) |
WordPress version required: | 4.9 |
WordPress version tested: | 6.4.1 |
Plugin version: | 1.2.1 |
Added to WordPress repository: | 26-08-2014 |
Last updated: | 13-11-2023 |
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | https://github.com/thingsym/wp-is-mobile-text... |
Total downloads: | 3 535 |
Active installs: | 40+ |
Click to start download |
WP Is Mobile Text Widget plugin adds text widget that switched display text using wp_is_mobile() function whether the device is mobile or not.
Filter Hooks
widget_title
widget_text
wp_is_mobile_text_widget_text
– Filters the content of the Text widget when wp_is_mobile is false.wp_is_mobile_text_widget_is_mobile_true
– Filters the content of the Text widget when wp_is_mobile is true.
Support
If you have any trouble, you can use the forums or report bugs.
- Forum: https://wordpress.org/support/plugin/wp-is-mobile-text-widget/
- Issues: https://github.com/thingsym/wp-is-mobile-text-widget/issues
Contribution
Small patches and bug reports can be submitted a issue tracker in Github. Forking on Github is another good way. You can send a pull request.
Translating a plugin takes a lot of time, effort, and patience. I really appreciate the hard work from these contributors.
If you have created or updated your own language pack, you can send gettext PO and MO files to author. I can bundle it into plugin.
You can also contribute by answering issues on the forums.
- Forum: https://wordpress.org/support/plugin/wp-is-mobile-text-widget/
- Issues: https://github.com/thingsym/wp-is-mobile-text-widget/issues
Patches and Bug Fixes
Forking on Github is another good way. You can send a pull request.
- Fork WP Is Mobile Text Widget from GitHub repository
- Create a feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am ‘Add some feature’
- Push to the branch: git push origin my-new-feature
- Create new Pull Request
Contribute guidlines
If you would like to contribute, here are some notes and guidlines.
- All development happens on the develop branch, so it is always the most up-to-date
- The master branch only contains tagged releases
- If you are going to be submitting a pull request, please submit your pull request to the develop branch
- See about forking and pull requests
Test Matrix
For operation compatibility between PHP version and WordPress version, see below Github Actions.
Screenshots
ChangeLog