Skip to content

marco-c/wp-offline-content

 
 

Repository files navigation

wp-offline-content

A WordPress plugin for offlining content.

Build Status WordPress plugin WordPress

Install the plugin

You can find this plugin in the WordPress Plugin repository so you can install it from the Plugins menu of your WordPress installation.

In case you want to do it manually, here are the instructions:

First, clone the repository.

Now, at the root of the repository, run (you need composer for this):

$ composer install --working-dir=wp-offline-content --optimize-autoloader

And copy (or symlink) the folder wp-offline-content inside your WordPress plugins directory.

Once installed, activate the plugin from the Plugins menu in the Dashboard. Options are available to customize under the Offline content submenu in Settings.

Running tests

Install dependencies:

./bin/install-wp-tests.sh MYSQL_DATABASE_NAME MYSQL_USER MYSQL_PASSWORD localhost latest

Run tests:

make test

Run service worker tests:

make test-sw

About

A plugin for WordPress to automagically allow your readers to access your content while offline

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 54.1%
  • PHP 32.5%
  • Shell 11.0%
  • Makefile 2.4%