josantonius/search-inside

Easily search text within your pages or blog posts.

Installs: 13

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 3

Language:CSS

Type:wordpress-plugin

1.2.1 2018-03-03 01:28 UTC

This package is auto-updated.

Last update: 2022-04-22 16:56:06 UTC


README

WordPress plugin WordPress WordPress License Codacy Badge Travis WP CodeCov

Versión en español

Easily search text within your pages or blog posts.

image

With Search Inside now you can search within your posts or pages.

There are different ways to display the search engine

  • The search engine appears when you press any alphabetic or numeric key.

  • Appended on a HTML tag.

  • Inserted from a shortcode.

Two search modes

  • Look for complete sentences.

  • Search words separated by spaces.

Don't forget to turn on case sensitive mode if you need it!

Search Inside has full support for UTF-8 encoding and can search in any language.

thumbnail-english-video.png

Requirements

This WordPress plugin is supported by PHP versions 5.6 or higher and is compatible with HHVM versions 3.0 or higher.

Installation

You can download this plugin from the official repository in WordPress.

From your WordPress dashboard:

1. Visit 'Plugins > Add New'
2. Search for 'Search Inside'
3. Activate Search Inside from your Plugins page.

From WordPress.org:

1. Download [Search Inside](https://es.wordpress.org/plugins/search-inside/).
2. Upload the 'search-inside' directory to your '/wp-content/plugins/' directory, using your favorite method (ftp, sftp, scp, etc...).
3. Activate Search Inside from your Plugins page.

Once Activated:

Go to Search Inside > Options to configure the plugin.

Images

image image image image image image image

Tests

To run tests you just need composer and to execute the following:

$ git clone https://github.com/josantonius/search-inside.git

$ cd search-inside

$ bash bin/install-wp-tests.sh wordpress_test root '' localhost latest

$ composer install

Run unit tests with PHPUnit:

$ composer phpunit

Run WordPress code standard tests with PHPCS:

$ composer phpcs

Run PHP Mess Detector tests to detect inconsistencies in code style:

$ composer phpmd

Run all previous tests:

$ composer tests

☑ TODO

  • Add more tests.
  • Add new feature.
  • Improve documentation.
  • Refactor code for disabled code style rules. See phpmd.xml and .php_cs.dist.

Contribute

If you would like to help, please take a look at the list of issues or the To Do checklist.

Pull requests

  • Fork and clone.
  • Run the command composer install to install the dependencies. This will also install the dev dependencies.
  • Run the command composer fix to excute code standard fixers.
  • Run the tests.
  • Create a branch, commit, push and send me a pull request.

License

This project is licensed under GPL-2.0+ license. See the LICENSE file for more info.

Copyright

2017 - 2018 Josantonius, josantonius.com

If you find it useful, let me know 😉

You can contact me on Twitter or through my email.