Document to post bindingPost .DOCX Source for WordPress

It is very useful when content needs to be updated time by time in a particular post.

Set a special option to bind a particular document to an associated WordPress post, page, or product. See the picture below.

document-to-post-binding-option

It helps to prevent update mistakes when the not correct document is chosen for particular content. And, it allows update content from documents in a batch mode.

Binding Method#

By document ID#

In this case, the post is bonded to the document. Every Google Document has an ID so there is no need to set anything in the document rather than single .docx files. In the last case, the plugin just asks to set the ‘GUID’ custom property of the document while loading the one.

By post ID#

In that case, the document is bonded to post. It is set in the ‘Subject’ property of the document. And, it can be typed just as post’s ID in case of bind to one site and a sequence of pairs <site>#<post_ID> separated by a comma in case of bind to more than one site.

Examples:

11
Mysite.com#11
Mysite.com#11, Mysite2.com#123

Usage#

When this option is enabled the plugin checks the bonded post ID value. If it isn’t set the plugin shows a message in the log to enter a particular post ID value in the property.

  • In-place edit mode

    In the case of in-place edit, if the property is set the plugin compares the value with the current post ID and if it is not equal it shows an error in the log and doesn’t do anything to prevent the wrong update.

  • Direct\batch mode

    In the case of batch mode, the plugin uses this value to find a particular post. If it is not found it shows a warning in the log and continues to convert other documents.