Title: WP Is Mobile Text Widget
Author: thingsym
Published: <strong>Ogwomunaana (Muwakanya) 26, 2014</strong>
Last modified: Sseeboaseka 1, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/wp-is-mobile-text-widget.svg)

# WP Is Mobile Text Widget

 By [thingsym](https://profiles.wordpress.org/thingsym/)

[Download](https://downloads.wordpress.org/plugin/wp-is-mobile-text-widget.1.2.2.zip)

 * [Details](https://lug.wordpress.org/plugins/wp-is-mobile-text-widget/#description)
 * [Reviews](https://lug.wordpress.org/plugins/wp-is-mobile-text-widget/#reviews)
 *  [Installation](https://lug.wordpress.org/plugins/wp-is-mobile-text-widget/#installation)
 * [Development](https://lug.wordpress.org/plugins/wp-is-mobile-text-widget/#developers)

 [Support](https://wordpress.org/support/plugin/wp-is-mobile-text-widget/)

## Description

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`](https://developer.wordpress.org/reference/hooks/widget_title/)
 * [`widget_text`](https://developer.wordpress.org/reference/hooks/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/](https://wordpress.org/support/plugin/wp-is-mobile-text-widget/)
 * Issues: [https://github.com/thingsym/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.

 * [VCS – GitHub](https://github.com/thingsym/wp-is-mobile-text-widget)
 * [Homepage – WordPress Plugin](https://wordpress.org/plugins/wp-is-mobile-text-widget/)
 * [Translate WP Is Mobile Text Widget into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-is-mobile-text-widget)

You can also contribute by answering issues on the forums.

 * Forum: [https://wordpress.org/support/plugin/wp-is-mobile-text-widget/](https://wordpress.org/support/plugin/wp-is-mobile-text-widget/)
 * Issues: [https://github.com/thingsym/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.

 1. Fork [WP Is Mobile Text Widget](https://github.com/thingsym/wp-is-mobile-text-widget)
    from GitHub repository
 2. Create a feature branch: git checkout -b my-new-feature
 3. Commit your changes: git commit -am ‘Add some feature’
 4. Push to the branch: git push origin my-new-feature
 5. 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](https://help.github.com/articles/fork-a-repo/) and [pull requests](https://help.github.com/articles/using-pull-requests/)

#### Test Matrix

For operation compatibility between PHP version and WordPress version, see below
[Github Actions](https://github.com/thingsym/wp-is-mobile-text-widget/actions).

## Screenshots

[⌊WP Is Mobile Text Widget⌉⌊WP Is Mobile Text Widget⌉[

WP Is Mobile Text Widget

## Installation

 1. Download and unzip files. Or install **WP Is Mobile Text Widget** using the WordPress
    plugin installer. In that case, skip 2.
 2. Upload **wp-is-mobile-text-widget** to the “/wp-content/plugins/” directory.
 3. Activate the plugin through the ‘Plugins’ menu in WordPress.
 4. Add the **WP Is Mobile Text** widget to a widget area and configure settings through
    the ‘Widgets’ menu in WordPress.
 5. Have fun!

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“WP Is Mobile Text Widget” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ thingsym ](https://profiles.wordpress.org/thingsym/)

[Translate “WP Is Mobile Text Widget” into your language.](https://translate.wordpress.org/projects/wp-plugins/wp-is-mobile-text-widget)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wp-is-mobile-text-widget/),
check out the [SVN repository](https://plugins.svn.wordpress.org/wp-is-mobile-text-widget/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/wp-is-mobile-text-widget/)
by [RSS](https://plugins.trac.wordpress.org/log/wp-is-mobile-text-widget/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2.2

 * tested up to 7.0
 * change requires at least to wordpress 5.9
 * change requires to PHP 7.4
 * fix plugin_textdomain rel path
 * fix test case
 * add phpcs job
 * update github workflows
 * update phpunit v9 and wpcs v3
 * update composer dependencies
 * update wp-tests script

#### 1.2.1

 * tested up to 6.2.0
 * fix composer scripts
 * update github actions
 * fix load_textdomain method for testability
 * add msgmerge to composer scripts
 * add support section and enhance contribution section to README
 * fix license
 * fix wp-plugin-unit-test.yml

#### 1.2.0

 * fix composer script
 * separate the file structure for class file
 * fix load_textdomain for Widgets Screen

#### 1.1.3

 * update japanese translation
 * update pot
 * change makepot from php script to wp cli
 * fix constants to uppercase
 * change plugin initialization to plugins_loaded hook
 * replace assert from assertEquals to assertSame

#### 1.1.2

 * update wp-plugin-unit-test.yml
 * bump up yoast/phpunit-polyfills version
 * change os to ubuntu-20.04 for ci
 * add Upgrade Notice
 * change requires at least to wordpress 4.9
 * change requires to PHP 5.6

#### 1.1.1

 * add Constants
 * change from protected variable to public variable for unit test
 * update composer dependencies
 * fix composer scripts
 * add timeout-minutes to workflows
 * add phpunit-polyfills
 * tested up to 5.8.0

#### 1.1.0

 * tested up to 5.7.0
 * add test case
 * disable direct file access
 * add load_textdomain method
 * add sponsor link
 * update japanese translation
 * update pot
 * add FUNDING.yml
 * add donate link
 * update wordpress-test-matrix
 * add GitHub actions for CI/CD, remove .travis.yml

#### 1.0.5

 * fix indent and reformat with phpcs and phpcbf
 * add composer.json for test
 * add static code analysis config

#### 1.0.4

 * return noting in case empty text
 * fix $instance value in case none $new_instance
 * fix PHPDoc
 * fix codesniffer.ruleset.xml
 * fix tests

#### 1.0.3

 * fix label
 * update screenshot
 * fix languages
 * refactoring
 * add PHPDoc comment
 * add filters ‘widget_text’
 * add filters ‘wp_is_mobile_text_widget_text’ and ‘wp_is_mobile_text_widget_is_mobile_true’
 * fix tests
 * fix .travis.yml

#### 1.0.2

 * refactoring
 * add phpunit and tests

#### 1.0.1

 * clean up source by the PHP_CodeSniffer

#### 1.0.0

 * initial release

## Meta

 *  Version **1.2.2**
 *  Last updated **1 omwezi ago**
 *  Active installations **10+**
 *  WordPress version ** 5.9 or higher **
 *  Tested up to **7.0.1**
 *  PHP version ** 7.4 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-is-mobile-text-widget/)
 * Tags
 * [mobile](https://lug.wordpress.org/plugins/tags/mobile/)[text](https://lug.wordpress.org/plugins/tags/text/)
   [widget](https://lug.wordpress.org/plugins/tags/widget/)
 *  [Advanced View](https://lug.wordpress.org/plugins/wp-is-mobile-text-widget/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/wp-is-mobile-text-widget/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-is-mobile-text-widget/reviews/)

## Contributors

 *   [ thingsym ](https://profiles.wordpress.org/thingsym/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wp-is-mobile-text-widget/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://github.com/sponsors/thingsym)