wordpress 移动端
![WordPress Hybrid Client](https://dab1nmslvvntp.cloudfront.net/wp-content/uploads/2015/09/1441917068WordPress-Hybrid-Client.jpg)
WordPress Hybrid Client (WPHC) is an Open Source project available on GitHub that lets you easily create iOS and Android versions of your WordPress website for free.
WordPress Hybrid Client(WPHC)是GitHub上的一个开源项目,可让您轻松免费免费创建WordPress网站的iOS和Android版本。
WPHC is based on the Open Source hybrid stack Ionic SDK, Cordova, and Crosswalk .
WPHC基于开源混合堆栈Ionic SDK , Cordova和Crosswalk 。
![WPHC on devices](https://dab1nmslvvntp.cloudfront.net/wp-content/uploads/2015/09/1441917132WPHC-devices.jpg)
特征 (Features)
- Push notifications 推送通知
- Bookmarks (offline mode) 书签(离线模式)
- Google Analytics support Google Analytics(分析)支持
- Automatic content updates 自动内容更新
- Social buttons 社交按钮
- Accessibility (post font size) 辅助功能(后字体大小)
- Multi languages (English, French, Chinese) 多种语言(英语,法语,中文)
- Infinite scroll 无限滚动
- Syntax highlighter for tech blogs 科技博客的语法荧光笔
- Image cache 图像缓存
- App rate 应用费率
内置WPHC (Built with WPHC)
Here are a few examples of projects built using WPHC:
以下是使用WPHC构建的项目的一些示例:
https://play.google.com/store/apps/details?id=com.shprinkinc.wordpresshybridclient
https://play.google.com/store/apps/details?id=com.shprinkinc.wordpresshybridclient
安装 (Installation)
Warning: This installation works on both OS X and Linux. Windows is not supported yet.
警告 :此安装在OS X和Linux上均可使用。 尚不支持Windows。
First of all you’ll need to clone the project (no need to fork it):
首先,您需要克隆项目(无需分叉):
$ git clone https://github.com/shprink/wordpress-hybrid-client.git
# Open the project folder
$ cd wordpress-hybrid-client
# List all tags
$ git tag
v1.0.0
v1.1.0
v1.2.0
v1.3.0
v1.3.1
v1.4.2
# checkout the latest version available
$ git checkout v1.4.2
Then, all you need to do is run the following script and wait:
然后,您需要做的就是运行以下脚本并等待:
sh ./install.sh
You can find more information on installation here.
您可以在此处找到有关安装的更多信息。
组态 (Configuration)
Now that the installation is done, you will have two config files created at the project root:
现在已经完成安装,您将在项目根目录下创建两个配置文件:
config.json
for the application configurationconfig.json
用于应用程序配置config.scss<