Distributor – Remote Quickedit

Distributor – Remote Quickedit Install Statistics

11
100%
Today: 11 Yesterday: 0 All-time: 330 downloads
Distributor – Remote Quickedit Icon

Try plugin: Distributor – Remote Quickedit

We'll create fresh WordPress site with Distributor – Remote Quickedit installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Distributor – Remote Quickedit

Re-enable quickedit for distributed posts.

0


0


0


0


0

updated: 1 year ago
since: 1 year ago
author: Carsten Bach

Description

Re-enable quickedit for distributed posts on the receiving site within a multisite network. This allows you to make changes to the original post from the remote site. This is a small add-on for the glorious Distributor plugin by 10up.

This Add-on is maintained at and deployed from carstingaxion/distributor-remote-quickedit on github.

Features

  • Use native WordPress quickedit on the receiving side of a distributed post to make minor changes, which is disabled by the Distributor-plugin by default.

Compatibility

This plugin is an add-on for & requires:

  • Distributor (Website|GitHub) (only tested up to version 1.9.1, maybe not yet ready for the new 2.0.x)

Usage

This plugin does nothing by default.

Being able to modify posts, that were syndicated from a remote source, is a risky thing. To prevent any unwanted side-effects you have to pro-actively enable this plugin by code.

In order to re-enable the quick-edit functionality for a particular post_type you need to call add_post_type_support() for a support-feature called distributor-remote-quickedit. Do this for every desired post_type before this plugin loads.

With a post_type of book, you could do it like so:

add_action( 'admin_init', function () {
    add_post_type_support( 'book', 'distributor-remote-quickedit' );
}, 9 );

It’s important to declare your post_type_supports before the plugin is executed on admin_init with a default priority of 10!