{"id":31348,"date":"2014-08-26T11:28:56","date_gmt":"2014-08-26T11:28:56","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-is-mobile-text-widget\/"},"modified":"2024-08-21T08:25:57","modified_gmt":"2024-08-21T08:25:57","slug":"wp-is-mobile-text-widget","status":"publish","type":"plugin","link":"https:\/\/ur.wordpress.org\/plugins\/wp-is-mobile-text-widget\/","author":8903959,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.1","stable_tag":"1.2.1","tested":"6.6.5","requires":"4.9","requires_php":"5.6","requires_plugins":null,"header_name":"WP Is Mobile Text Widget","header_author":"thingsym","header_description":"","assets_banners_color":"","last_updated":"2024-08-21 08:25:57","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/github.com\/sponsors\/thingsym","header_plugin_uri":"https:\/\/github.com\/thingsym\/wp-is-mobile-text-widget","header_author_uri":"https:\/\/www.thingslabo.com\/","rating":0,"author_block_rating":0,"active_installs":20,"downloads":4647,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"thingsym","date":"2014-08-26 11:33:31"},"1.0.1":{"tag":"1.0.1","author":"thingsym","date":"2014-12-25 08:22:38"},"1.0.2":{"tag":"1.0.2","author":"thingsym","date":"2016-04-14 08:07:59"},"1.0.3":{"tag":"1.0.3","author":"thingsym","date":"2017-08-24 07:50:38"},"1.0.4":{"tag":"1.0.4","author":"thingsym","date":"2019-01-06 08:19:14"},"1.0.5":{"tag":"1.0.5","author":"thingsym","date":"2020-12-18 08:23:00"},"1.1.0":{"tag":"1.1.0","author":"thingsym","date":"2021-07-23 11:27:55"},"1.1.1":{"tag":"1.1.1","author":"thingsym","date":"2021-12-09 11:03:02"},"1.1.2":{"tag":"1.1.2","author":"thingsym","date":"2022-02-01 11:10:06"},"1.1.3":{"tag":"1.1.3","author":"thingsym","date":"2022-02-24 09:19:16"},"1.2.0":{"tag":"1.2.0","author":"thingsym","date":"2022-06-03 09:26:25"},"1.2.1":{"tag":"1.2.1","author":"thingsym","date":"2024-08-21 08:25:57"}},"upgrade_notice":{"1.1.2":"<ul>\n<li>Requires at least version 4.9 of the WordPress<\/li>\n<li>Requires PHP version 5.6<\/li>\n<\/ul>","1.0.3":"<ul>\n<li>Requires at least version 3.7 of the Wordpress<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.1.0","1.1.1","1.1.2","1.1.3","1.2.0","1.2.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3138801,"resolution":"1","location":"plugin"}},"screenshots":{"1":"WP Is Mobile Text Widget"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[841,749,162],"plugin_category":[43],"plugin_contributors":[78488],"plugin_business_model":[],"class_list":["post-31348","plugin","type-plugin","status-publish","hentry","plugin_tags-mobile","plugin_tags-text","plugin_tags-widget","plugin_category-customization","plugin_contributors-thingsym","plugin_committers-thingsym"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-is-mobile-text-widget.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-is-mobile-text-widget\/trunk\/screenshot-1.png?rev=3138801","caption":"WP Is Mobile Text Widget"}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<h4>Filter Hooks<\/h4>\n\n<ul>\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/hooks\/widget_title\/\"><code>widget_title<\/code><\/a><\/li>\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/hooks\/widget_text\/\"><code>widget_text<\/code><\/a><\/li>\n<li><code>wp_is_mobile_text_widget_text<\/code> - Filters the content of the Text widget when wp_is_mobile is false.<\/li>\n<li><code>wp_is_mobile_text_widget_is_mobile_true<\/code> - Filters the content of the Text widget when wp_is_mobile is true.<\/li>\n<\/ul>\n\n<h4>Support<\/h4>\n\n<p>If you have any trouble, you can use the forums or report bugs.<\/p>\n\n<ul>\n<li>Forum: <a href=\"https:\/\/wordpress.org\/support\/plugin\/wp-is-mobile-text-widget\/\">https:\/\/wordpress.org\/support\/plugin\/wp-is-mobile-text-widget\/<\/a><\/li>\n<li>Issues: <a href=\"https:\/\/github.com\/thingsym\/wp-is-mobile-text-widget\/issues\">https:\/\/github.com\/thingsym\/wp-is-mobile-text-widget\/issues<\/a><\/li>\n<\/ul>\n\n<h4>Contribution<\/h4>\n\n<p>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.<\/p>\n\n<p>Translating a plugin takes a lot of time, effort, and patience. I really appreciate the hard work from these contributors.<\/p>\n\n<p>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.<\/p>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/thingsym\/wp-is-mobile-text-widget\">VCS - GitHub<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/wp-is-mobile-text-widget\/\">Homepage - WordPress Plugin<\/a><\/li>\n<li><a href=\"https:\/\/translate.wordpress.org\/projects\/wp-plugins\/wp-is-mobile-text-widget\">Translate WP Is Mobile Text Widget into your language.<\/a><\/li>\n<\/ul>\n\n<p>You can also contribute by answering issues on the forums.<\/p>\n\n<ul>\n<li>Forum: <a href=\"https:\/\/wordpress.org\/support\/plugin\/wp-is-mobile-text-widget\/\">https:\/\/wordpress.org\/support\/plugin\/wp-is-mobile-text-widget\/<\/a><\/li>\n<li>Issues: <a href=\"https:\/\/github.com\/thingsym\/wp-is-mobile-text-widget\/issues\">https:\/\/github.com\/thingsym\/wp-is-mobile-text-widget\/issues<\/a><\/li>\n<\/ul>\n\n<h4>Patches and Bug Fixes<\/h4>\n\n<p>Forking on Github is another good way. You can send a pull request.<\/p>\n\n<ol>\n<li>Fork <a href=\"https:\/\/github.com\/thingsym\/wp-is-mobile-text-widget\">WP Is Mobile Text Widget<\/a> from GitHub repository<\/li>\n<li>Create a feature branch: git checkout -b my-new-feature<\/li>\n<li>Commit your changes: git commit -am 'Add some feature'<\/li>\n<li>Push to the branch: git push origin my-new-feature<\/li>\n<li>Create new Pull Request<\/li>\n<\/ol>\n\n<h4>Contribute guidlines<\/h4>\n\n<p>If you would like to contribute, here are some notes and guidlines.<\/p>\n\n<ul>\n<li>All development happens on the <strong>develop<\/strong> branch, so it is always the most up-to-date<\/li>\n<li>The <strong>master<\/strong> branch only contains tagged releases<\/li>\n<li>If you are going to be submitting a pull request, please submit your pull request to the <strong>develop<\/strong> branch<\/li>\n<li>See about <a href=\"https:\/\/help.github.com\/articles\/fork-a-repo\/\">forking<\/a> and <a href=\"https:\/\/help.github.com\/articles\/using-pull-requests\/\">pull requests<\/a><\/li>\n<\/ul>\n\n<h4>Test Matrix<\/h4>\n\n<p>For operation compatibility between PHP version and WordPress version, see below <a href=\"https:\/\/github.com\/thingsym\/wp-is-mobile-text-widget\/actions\">Github Actions<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download and unzip files. Or install <strong>WP Is Mobile Text Widget<\/strong> using the WordPress plugin installer. In that case, skip 2.<\/li>\n<li>Upload <strong>wp-is-mobile-text-widget<\/strong> to the \"\/wp-content\/plugins\/\" directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Add the <strong>WP Is Mobile Text<\/strong> widget to a widget area and configure settings through the 'Widgets' menu in WordPress.<\/li>\n<li>Have fun!<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>tested up to 6.2.0<\/li>\n<li>fix composer scripts<\/li>\n<li>update github actions<\/li>\n<li>fix load_textdomain method for testability<\/li>\n<li>add msgmerge to composer scripts<\/li>\n<li>add support section and enhance contribution section to README<\/li>\n<li>fix license<\/li>\n<li>fix wp-plugin-unit-test.yml<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>fix composer script<\/li>\n<li>separate the file structure for class file<\/li>\n<li>fix load_textdomain for Widgets Screen<\/li>\n<\/ul>\n\n<h4>1.1.3<\/h4>\n\n<ul>\n<li>update japanese translation<\/li>\n<li>update pot<\/li>\n<li>change makepot from php script to wp cli<\/li>\n<li>fix constants to uppercase<\/li>\n<li>change plugin initialization to plugins_loaded hook<\/li>\n<li>replace assert from assertEquals to assertSame<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>update wp-plugin-unit-test.yml<\/li>\n<li>bump up yoast\/phpunit-polyfills version<\/li>\n<li>change os to ubuntu-20.04 for ci<\/li>\n<li>add Upgrade Notice<\/li>\n<li>change requires at least to wordpress 4.9<\/li>\n<li>change requires to PHP 5.6<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>add Constants<\/li>\n<li>change from protected variable to public variable for unit test<\/li>\n<li>update composer dependencies<\/li>\n<li>fix composer scripts<\/li>\n<li>add timeout-minutes to workflows<\/li>\n<li>add phpunit-polyfills<\/li>\n<li>tested up to 5.8.0<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>tested up to 5.7.0<\/li>\n<li>add test case<\/li>\n<li>disable direct file access<\/li>\n<li>add load_textdomain method<\/li>\n<li>add sponsor link<\/li>\n<li>update japanese translation<\/li>\n<li>update pot<\/li>\n<li>add FUNDING.yml<\/li>\n<li>add donate link<\/li>\n<li>update wordpress-test-matrix<\/li>\n<li>add GitHub actions for CI\/CD, remove .travis.yml<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>fix indent and reformat with phpcs and phpcbf<\/li>\n<li>add composer.json for test<\/li>\n<li>add static code analysis config<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>return noting in case empty text<\/li>\n<li>fix $instance value in case none $new_instance<\/li>\n<li>fix PHPDoc<\/li>\n<li>fix codesniffer.ruleset.xml<\/li>\n<li>fix tests<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>fix label<\/li>\n<li>update screenshot<\/li>\n<li>fix languages<\/li>\n<li>refactoring<\/li>\n<li>add PHPDoc comment<\/li>\n<li>add filters 'widget_text'<\/li>\n<li>add filters 'wp_is_mobile_text_widget_text' and 'wp_is_mobile_text_widget_is_mobile_true'<\/li>\n<li>fix tests<\/li>\n<li>fix .travis.yml<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>refactoring<\/li>\n<li>add phpunit and tests<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>clean up source by the PHP_CodeSniffer<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>initial release<\/li>\n<\/ul>","raw_excerpt":"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.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ur.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/31348","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ur.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ur.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ur.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=31348"}],"author":[{"embeddable":true,"href":"https:\/\/ur.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/thingsym"}],"wp:attachment":[{"href":"https:\/\/ur.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=31348"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ur.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=31348"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ur.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=31348"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ur.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=31348"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ur.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=31348"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ur.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=31348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}