Display reviews from the most popular websites like Yelp, Google, Facebook, and more directly on your WordPress powered website.
Clone or download
Permalink
Failed to load latest commit information.
.github/ISSUE_TEMPLATE chore: update issue templates Sep 27, 2018
assets/src fix: display save and refresh notice for Rating Type Nov 16, 2018
config fix: display save and refresh notice for Rating Type Nov 16, 2018
includes fix: display recommendation settings in tagged collection Nov 17, 2018
languages chore: update POT file Nov 17, 2018
views fix: reposition DB update notice on System Info screen Nov 16, 2018
.editorconfig Add indentation exceptions to .editorconfig Oct 2, 2017
.eslintignore Add CSS and JS linting scripts Oct 2, 2017
.eslintrc.json Add root to ESLint config Oct 2, 2017
.gitignore Ignore compiled assets Sep 28, 2017
.stylelintrc.json Rename .stylelintrc to .stylelintrc.json Sep 21, 2017
CHANGELOG.md doc: add changelog for v1.2.0 Nov 16, 2018
LICENSE.txt Initialize repository Apr 20, 2017
README.md fix(build): clarify local development setup Jun 4, 2018
README.txt doc: move latest changelog to readme Nov 16, 2018
autoloader.php Set plugin version to 0.1.0 Nov 15, 2017
babel.config.js refactor: move browser compat list to package.json Sep 19, 2018
composer.json chore: update WordImpress to Impress.org Nov 2, 2018
composer.lock Update Composer Jan 4, 2018
index.php Initialize repository Apr 20, 2017
package.json feat: add v1.2.0 upgrade routine (#281) Nov 13, 2018
postcss.config.js refactor: move browser compat list to package.json Sep 19, 2018
uninstall.php feat: add v1.2.0 upgrade routine (#281) Nov 13, 2018
webpack.config.js feat: add System Info based on Health Check plugin (#286) Nov 14, 2018
wp-business-reviews.php feat: add v1.2.0 upgrade routine (#281) Nov 13, 2018
yarn.lock chore: add image minification to webpack config Sep 11, 2018

README.md

WP-Business-Reviews

Local Development

Create a new WordPress site at wpbrclient.test.

If you choose to use a different local domain, you must also update it within webpack.config so that Browsersync can reload the site correctly.

Add the following to wp-config.php for debugging (development scripts will not load properly without this):

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'SCRIPT_DEBUG', true );

cd into your local plugins directory.

cd ~/User/Sites/wpbr-development.dev/wp-content/plugins

Clone the develop branch of this repository.

git clone -b develop https://github.com/WordImpress/WP-Business-Reviews-Core.git wp-business-reviews

Run composer to set up PHP code sniffing.

composer install

Install Yarn if you have not already. Test that Yarn is installed by running:

yarn --version

Install npm packages.

yarn install

Activate the plugin in WordPress.

Launch site to compile development assets and watch for changes.

yarn watch

Testing Production

Run yarn production to generate minified assets suitable for production.

Remove define( 'SCRIPT_DEBUG', true ); from wp-config.php (minified assets will not load properly if SCRIPT_DEBUG is true).