Преобразование сайта WordPress в PWA без использования плагинов - PullRequest
0 голосов
/ 17 апреля 2020

У меня небольшой опыт работы с WordPress, но он совершенно новый для PWA.

Есть ли способ конвертировать сайт WP в PWA без использования каких-либо плагинов?

Я заметил, что большинство Плагины PWA в WordPress работают не так, как я ожидал.

Благодарим вас за ответ на этот вопрос.

1 Ответ

0 голосов
/ 17 апреля 2020

Загрузить пакет Wordpress для мобильных устройств Wordpress Plugin с Wordpress.org

Go to the ‘Plugins’ / ‘Add new’ menu
Upload wordpress-mobile-pack.zip then press ‘Install now’.
Enjoy.

Комплексная настройка

Более полный процесс настройки и руководство по Конфигурация выглядит следующим образом.

Locate your WordPress install on the file system
Extract the contents of wordpress-mobile-pack.zip into wp-content/plugins
In wp-content/plugins you should now see a directory named wordpress-mobile-pack
Login to the WordPress admin panel at http://yoursite.com/wp-admin
Go to the ‘Plugins’ menu.
Click ‘Activate’ for the plugin.
Go to the ‘WP Mobile Pack’ admin panel.
Go to the ‘Look & Feel’ tab. Choose color schemes, fonts and add your own logo and app icon.
Go to the ‘Content’ tab. Disable, enable or order categories and pages depending on what content you want to show in the mobile web app.
Go to the ‘Settings’ tab to choose a Display Mode and add your Google Analytics ID.
Access your site in a mobile browser and check if the application is displayed. If the app is not loading properly, make sure that the file exporting the content – http://yoursite.com/{your plugins folder}/wordpress-mobile-pack/export/content.php – can be accessed in the browser and doesn’t return a ‘404 Not Found’ or ‘403 Forbidden’ error.
You’re all done!
...