wordpress_theme_finder
Gem to check if a website is built with wordpress and get theme informations.
Requirements
- Ruby 1.9.3+
Installation
Add it to your Gemfile:
gem 'wordpress_theme_finder'
Then:
bundle
Usage
Call check function of WordpressThemeFinder, param is url.
result = WordpressThemeFinder.check(site_url)
If result is null website is not built with wordpress.
If not null result contains a hash with one ore more of the following keys:
- Theme Name
- Theme URI
- Author
- Author URI
- Description
- Version
- License
- License URI
- Tags
- Text Domain
Contributing
- Fork it ( http://github.com/MirkoMignini/wordpress_theme_finder/fork )
- Create your 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
License
MIT License. Copyright 2015 by Mirko Mignini (https://github.com/MirkoMignini)