INACTIVE - http://mzl.la/ghe-archive - A plugin for WordPress to automagically allow your readers to access your content while offline
Перейти к файлу
Salvador de la Puente González fe07667c38 Create README.md 2017-06-12 09:14:31 +02:00
assets Versioning assets 2016-03-08 09:11:11 +01:00
bin Updating infrastructure 2016-01-29 21:09:58 +01:00
tests Preventing the sw to update in collaboration environments when it has not changed. 2016-02-29 17:28:12 +01:00
wp-offline-content Updating dependencies and bumping to version 0.6.1 2016-04-15 19:53:44 +02:00
.gitignore Relaying on composer's autoload 2016-04-06 15:55:39 +02:00
.travis.yml Fixing travis and testing from PHP 5.4, WP 3.8 to latest versions 2016-04-15 00:16:20 +02:00
LICENSE Renaming to wp-offline-content 2016-02-08 15:09:03 +01:00
Makefile Adding command svn to prepare the trunk to be commited to the plugin SVN repository. This command does not work if the repository does not exist. 2016-04-16 11:30:55 +02:00
README.md Create README.md 2017-06-12 09:14:31 +02:00
karma.conf Renaming to wp-offline-content 2016-02-08 15:09:03 +01:00
package.json Updating dependencies and bumping to version 0.6.1 2016-04-15 19:53:44 +02:00
phpunit.xml.dist Updating infrastructure 2016-01-29 21:09:58 +01:00
sw-tests.js Smart updates to avoid re fetching all the contents 2016-02-25 17:07:31 +01:00

README.md

wp-offline-content

A WordPress plugin for offlining content.

Build Status WordPress plugin WordPress

IMPORTANT: I'm very sorry to announce this plugin is unmaintained thought it is still compatible with WordPress up to version 4.5.9.

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