Linux 软件免费装

Remote Post Swap

开发者 TyB
更新时间 2017年4月18日 07:57
PHP版本: 4.7.0 及以上
WordPress版本: 4.7.3
版权: GPLv2 or later
版权网址: 版权信息

标签

posts database api wp-api rest api swap remote post swap remote database

下载

详情介绍:

This plugin was built for developers to swap out local post data with post data from a live site. Useful if you need to make some styling changes to post content but don't want to pull in the live database. Simply enter the URL for the live site and turn on the API connection via the toggle provided. All posts within the loop are replaced with posts from the URL you entered. This will change out the post title, post content, post excerpt and post date with the returned API data. This plugin will NOT replace your the post data in the database, but simply change out the data on the fly. To go back to your the posts saved locally simply uncheck the toggle switch on the settings page. Post meta is used to store post IDs returned from the API call and matched up with the post IDs returned from your loop. This helps keep posts consistent across page loads. Single post pages will return the same post they were swapped out with in the main loop. NOTE: This plugin requires the parent site (the live site) to be running at least WordPress Version 4.7.0 for the REST API to work properly.

安装:

  1. Upload the remote-post-swap directory to your /wp-content/plugins/ directory.
  2. Activate the plugin.

更新日志:

0.8.0 0.7.0 0.6.0 0.5.0