{"id":1020,"date":"2018-01-14T16:16:38","date_gmt":"2018-01-14T16:16:38","guid":{"rendered":"https:\/\/www.s-sols.com\/?post_type=doc&#038;p=1020"},"modified":"2022-09-15T11:43:52","modified_gmt":"2022-09-15T11:43:52","slug":"document-to-post-binding","status":"publish","type":"doc","link":"https:\/\/www.s-sols.com\/docs\/wordpress\/post-docx-source\/getting-started-pds\/document-to-post-binding","title":{"rendered":"Document to post binding Post .DOCX Source for WordPress"},"content":{"rendered":"<p>\n  It is very useful when content needs to be updated time by time in a particular post.\n<\/p>\n<p>\n  Set a special option to bind a particular document to an associated WordPress post, page, or product. See the picture below.\n<\/p>\n<p style=\"text-align:center\">\n  <img decoding=\"async\" src=\"\/data\/content\/doc\/wordpress\/post-docx-source\/document-to-post-binding\/document-to-post-binding-option-en.png\" alt=\"document-to-post-binding-option\" title=\"document-to-post-binding-option - Document to post binding\" \/>\n<\/p>\n<p>\n  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 <a href=\".\/getting-started#direct\">batch mode<\/a>.\n<\/p>\n<h2>\n  Binding Method<br \/>\n<\/h2>\n<h3><a id=\"guid\"><\/a>By document ID<br \/>\n<\/h3>\n<p>\n  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 \u2018GUID\u2019 <a href=\"\/how-to-set-ms-word-document-properties#advanced_custom\">custom property of the document<\/a> while loading the one.\n<\/p>\n<h3><a id=\"post_id\"><\/a>By post ID<br \/>\n<\/h3>\n<p>\n  In that case, the document is bonded to post. It is set in the \u2018Subject\u2019 <a href=\"\/how-to-set-ms-word-document-properties\">property of the document<\/a>. And, it can be typed just as post\u2019s ID in case of bind to one site and a sequence of pairs &lt;site&gt;#&lt;post_ID&gt; separated by a comma in case of bind to more than one site.\n<\/p>\n<p>\n  Examples:\n<\/p>\n<p>\n  11<br \/>Mysite.com#11<br \/>Mysite.com#11, Mysite2.com#123\n<\/p>\n<h2>\n  Usage<br \/>\n<\/h2>\n<p>\n  When this option is enabled the plugin checks the bonded post ID value. If it isn\u2019t set the plugin shows a message in the log to enter a particular post ID value in the property.\n<\/p>\n<ul>\n<li><strong>In-place edit mode<\/strong>\n<p style=\"text-align:left\">\n      In the case of <a href=\".\/getting-started#inplace\">in-place edit<\/a>, 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\u2019t do anything to prevent the wrong update.\n    <\/p>\n<\/li>\n<li><strong>Direct\\batch mode<\/strong>\n<p style=\"text-align:left\">\n      In the case of <a href=\".\/getting-started#direct\">batch mode<\/a>, 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.\n    <\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>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. It helps to prevent update mistakes when the not correct document is chosen for particular content. And,&#8230;<\/p>\n","protected":false},"author":18,"featured_media":0,"parent":1023,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"rank_math_lock_modified_date":false},"categories":[113],"tags":[183],"class_list":["post-1020","doc","type-doc","status-publish","hentry","category-post-docx-source","tag-post-binding"],"_links":{"self":[{"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/doc\/1020","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/doc"}],"about":[{"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/types\/doc"}],"author":[{"embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/comments?post=1020"}],"up":[{"embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/doc\/1023"}],"wp:attachment":[{"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/media?parent=1020"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/categories?post=1020"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/tags?post=1020"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}