{"id":56888,"date":"2015-11-05T09:09:07","date_gmt":"2015-11-05T14:09:07","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=56888"},"modified":"2016-02-24T06:13:59","modified_gmt":"2016-02-24T11:13:59","slug":"cherryframework-3-how-to-change-number-of-related-posts-displayed","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/cherryframework-3-how-to-change-number-of-related-posts-displayed.html","title":{"rendered":"CherryFramework 3. How to change number of related posts displayed"},"content":{"rendered":"<p>\r\n<p>This video tutorial is going to show how to change number of related posts displayed <strong> in WordPress templates.<\/strong><\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=oy882T-h6mQ?width=1280&amp;height=720\" rel=\"prettyPhoto\">CherryFramework 3. How to change number of related posts displayed<\/a><\/p>\r\n<ol>\r\n<li>\r\n<p>Navigate to Blog page and open any post that is displayed on the Blog page, then scroll down to the middle of the post, you will see <strong>Related Posts<\/strong> section:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates-.How-to-change-number-of-related-posts-displayed-1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates-.How-to-change-number-of-related-posts-displayed-1-300x161.png\" alt=\"WordPress  Templates .How to change number of related posts displayed - 1\" width=\"300\" height=\"161\" class=\"aligncenter size-medium wp-image-56889\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates-.How-to-change-number-of-related-posts-displayed-1-300x161.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates-.How-to-change-number-of-related-posts-displayed-1-150x81.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates-.How-to-change-number-of-related-posts-displayed-1-1024x550.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates-.How-to-change-number-of-related-posts-displayed-1.png 1283w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>In order to change number of Related Posts, log into WordPress admin panel, navigate to <strong>Appearance -> Editor<\/strong>, open <strong>custom-function.php<\/strong> file under theme XXXXX (where XXXX is your theme number): <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates.How-to-change-number-of-related-posts-displayed-2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates.How-to-change-number-of-related-posts-displayed-2-300x149.png\" alt=\"WordPress  Templates.How to change number of related posts displayed -2\" width=\"300\" height=\"149\" class=\"aligncenter size-medium wp-image-56890\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates.How-to-change-number-of-related-posts-displayed-2-300x149.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates.How-to-change-number-of-related-posts-displayed-2-150x74.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates.How-to-change-number-of-related-posts-displayed-2-1024x508.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates.How-to-change-number-of-related-posts-displayed-2.png 1269w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>Search for &#8220;related&#8221; text and change  <strong>&#8216;posts_count&#8217; => 4<\/strong> to <strong>&#8216;posts_count&#8217; => 5<\/strong>, when done press <strong>Update File<\/strong> button:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates-Templates.How-to-change-number-of-related-posts-displayed-3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates-Templates.How-to-change-number-of-related-posts-displayed-3-300x163.png\" alt=\"WordPress  Templates Templates.How to change number of related posts displayed-3\" width=\"300\" height=\"163\" class=\"aligncenter size-medium wp-image-56891\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates-Templates.How-to-change-number-of-related-posts-displayed-3-300x163.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates-Templates.How-to-change-number-of-related-posts-displayed-3-150x82.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates-Templates.How-to-change-number-of-related-posts-displayed-3-1024x557.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates-Templates.How-to-change-number-of-related-posts-displayed-3.png 1273w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>Go back to your site, make sure to refresh the post,  you will see that number of Related Posts has been changed: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates-Templates.How-to-change-number-of-related-posts-displayed-4.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates-Templates.How-to-change-number-of-related-posts-displayed-4-300x160.png\" alt=\"WordPress  Templates Templates.How to change number of related posts displayed-4\" width=\"300\" height=\"160\" class=\"aligncenter size-medium wp-image-56892\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates-Templates.How-to-change-number-of-related-posts-displayed-4-300x160.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates-Templates.How-to-change-number-of-related-posts-displayed-4-150x80.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates-Templates.How-to-change-number-of-related-posts-displayed-4-1024x545.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/WordPress-Templates-Templates.How-to-change-number-of-related-posts-displayed-4.png 1274w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=oy882T-h6mQ?width=1280&amp;height=720\" rel=\"prettyPhoto\">CherryFramework 3. How to change number of related posts displayed<\/a><\/p>\r\n<\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This video tutorial is going to show how to change number of related posts displayed <strong> in WordPress templates.<\/strong><\/p>\n","protected":false},"author":73,"featured_media":56893,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[728],"tags":[2097,592,1579,2405],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/56888"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/73"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=56888"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/56888\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/56893"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=56888"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=56888"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=56888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}