{"id":1022,"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=1022"},"modified":"2022-09-15T12:17:17","modified_gmt":"2022-09-15T12:17:17","slug":"featured-image","status":"publish","type":"doc","link":"https:\/\/www.s-sols.com\/docs\/wordpress\/post-docx-source\/getting-started-pds\/how-to-set-or-add-attribute-in-document\/featured-image","title":{"rendered":"How to set featured image Post .DOCX Source for WordPress"},"content":{"rendered":"<p>\n  The particular option should be enabled to apply the featured image. See the picture below.\n<\/p>\n<p style=\"text-align:center\">\n  <img decoding=\"async\" src=\"\/data\/content\/doc\/wordpress\/post-docx-source\/featured-image\/featured-image-option-en.png\" alt=\"featured-image-option\" title=\"featured-image-option - How to set featured image\" \/>\n<\/p>\n<p>\n  The featured image can be:\n<\/p>\n<ul>\n<li>\n    Specified by <a href=\".\/how-to-set-or-add-attribute-in-document\">adding an extended attribute<\/a> in the document named \u2018<strong>featured_image<\/strong>\u2019 or \u2018<strong>Featured Image<\/strong>\u2019.\n  <\/li>\n<li>\n    Taken from the document\u2019s body.\n  <\/li>\n<\/ul>\n<p>\n  And, it can be chosen by click on the link which source to use (see picture above). There are three modes:\n<\/p>\n<ul>\n<li><strong>separate attribute<\/strong>\n<p style=\"text-align:left\">\n      Extract only from the extended attribute.\n    <\/p>\n<\/li>\n<li><strong>separate attribute or 1st body&#8217;s image<\/strong>\n<p style=\"text-align:left\">\n      Extract from the extended attribute. If it is not found then extract from the document\u2019s 1st body&#8217;s image.\n    <\/p>\n<\/li>\n<li><strong>1st body&#8217;s image<\/strong>\n<p style=\"text-align:left\">\n      Extract only from the document\u2019s 1st body&#8217;s image.\n    <\/p>\n<\/li>\n<\/ul>\n<p>\n  The extended attribute\u2019s value can be:\n<\/p>\n<ul>\n<li>\n    The physical <strong>URL<\/strong> of the existing WordPress media picture (marked as a link or not) or <a href=\".\/pictures\">inserted linked image<\/a> with that URL. The <strong>plugin detects<\/strong> that the picture <strong>URL is the media picture<\/strong> and set it as a featured image. To obtain this URL, we should go to the particular image in the Media Library, click on \u2018Edit\u2019 and look at the \u2018File URL\u2019 property.\n  <\/li>\n<li><strong>Embedded or linked image<\/strong> as similar to <a href=\".\/media\">body image<\/a>. In this case, the image will be automatically uploaded and set as a featured image.\n  <\/li>\n<\/ul>\n<p><strong>Note:<\/strong> The image is always placed in the media library.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The particular option should be enabled to apply the featured image. See the picture below. The featured image can be: Specified by adding an extended attribute in the document named \u2018featured_image\u2019 or \u2018Featured Image\u2019. Taken from the document\u2019s body. And, it can be chosen by click on the link which source to use (see picture&#8230;<\/p>\n","protected":false},"author":18,"featured_media":0,"parent":1024,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"rank_math_lock_modified_date":false},"categories":[113],"tags":[186,171],"class_list":["post-1022","doc","type-doc","status-publish","hentry","category-post-docx-source","tag-featured-image","tag-post"],"_links":{"self":[{"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/doc\/1022","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=1022"}],"up":[{"embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/doc\/1024"}],"wp:attachment":[{"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/media?parent=1022"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/categories?post=1022"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.s-sols.com\/api\/wp\/v2\/tags?post=1022"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}