{"id":13649,"date":"2019-08-19T07:52:29","date_gmt":"2019-08-19T07:52:29","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?post_type=ht_kb&#038;p=13649"},"modified":"2019-08-19T08:05:55","modified_gmt":"2019-08-19T08:05:55","slug":"how-to-add-in-content-related-posts-on-single-pages","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/how-to-add-in-content-related-posts-on-single-pages\/","title":{"rendered":"How to add in-content related posts on single pages"},"content":{"rendered":"\n<p><strong>In-Content Related Post:&nbsp;<\/strong>Once you enable this option this insert Related Posts between the content will be shown in a single page. <\/p>\n\n\n\n<p>You will find this option in the<strong> WordPress Dashboard<\/strong> -> Navigate to <strong>AMP option panel <\/strong>-> <strong>Design<\/strong> -><strong> Single<\/strong> -> Enable &#8220;<strong>In-Content Related Post<\/strong>&#8221; option.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"477\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/1-1024x477.png\" alt=\"\" class=\"wp-image-13650\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/1-1024x477.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/1-300x140.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/1-768x358.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/1-50x23.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/1-60x28.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/1-100x47.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/1.png 1322w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul><li><strong>In-content Related Post by:<\/strong> In this option, there are two option &#8220;<strong>Tags<\/strong>&#8221; and &#8220;<strong>Categories<\/strong>&#8221; as per your requirement, you can choose those option. <\/li><li><strong>Sort Related Posts Randomly:<\/strong> Once you enable this option In-content post display randomly<\/li><li><strong>Display No. of Related Posts: <\/strong>In this field, you need to enter No. of related posts<\/li><li><strong>Related Post Display:<\/strong> In this option, there are two option &#8220;<strong>After 50% of Content<\/strong>&#8221; and &#8220;<strong>X number of paragraphs<\/strong>&#8221; as per your requirement, you can choose those options and then click on the \u201c<strong>Save Changes<\/strong>\u201d button. <\/li><li><strong>After 50% of Content:<\/strong> Once you select this &#8220;<strong>After 50% of Content<\/strong>&#8221; option it makes your <strong>In-Content Related Post<\/strong> Appear After half of your content.<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"887\" height=\"109\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/2-2.png\" alt=\"\" class=\"wp-image-13655\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/2-2.png 887w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/2-2-300x37.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/2-2-768x94.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/2-2-50x6.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/2-2-60x7.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/08\/2-2-100x12.png 100w\" sizes=\"(max-width: 887px) 100vw, 887px\" \/><\/figure>\n\n\n\n<ul><li><strong>X number of paragraphs:<\/strong> Once you select this &#8220;<strong>X number of paragraphs<\/strong>&#8221; option  &#8220;<strong>Related Post After No. of  Paragraphs<\/strong>&#8221; option will be displayed in this option you need to enter No. of paragraphs it makes your <strong>In-Content Related Post<\/strong> Appear After No. of paragraphs of your content. <\/li><\/ul>\n\n\n\n<p><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n\n\n\n<p>We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><br><\/p>\n<div id=\"div-1\" class=\"hkb-feedback\">\n\t\t\t<strong class=\"ht-mobile-exit__title\">Ask your Questions Directly!<\/strong><br>\n\t\t\t<div class=\"hkb_widget_exit__content\" style=\"font-size: 14px;\">If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!<\/div>\n\t\t\t<a href=\"https:\/\/ampforwp.com\/support\/#contact\" id=\"button\" target=\"_blank\" rel=\"noopener noreferrer\"><button>Yes, I have a Question<\/button><\/a>\n\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>In-Content Related Post:&nbsp;Once you enable this option this insert Related Posts between the content will be shown in a single page. You will find this option in the WordPress Dashboard -> Navigate to AMP option panel -> Design -> Single -> Enable &#8220;In-Content Related Post&#8221; option. In-content Related Post by:&#8230;<\/p>\n","protected":false},"author":18,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[34],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/13649"}],"collection":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/comments?post=13649"}],"version-history":[{"count":15,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/13649\/revisions"}],"predecessor-version":[{"id":13669,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/13649\/revisions\/13669"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=13649"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=13649"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=13649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}