{"id":58038,"date":"2015-12-03T07:07:29","date_gmt":"2015-12-03T12:07:29","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=58038"},"modified":"2016-01-25T06:00:14","modified_gmt":"2016-01-25T11:00:14","slug":"cherryframework4-how-to-add-read-more-link-to-custom-posts-listing","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/cherryframework4-how-to-add-read-more-link-to-custom-posts-listing.html","title":{"rendered":"CherryFramework 4. How to add &#8220;read more&#8221; link to custom posts listing"},"content":{"rendered":"<a href=\"http:\/\/www.youtube.com\/watch?v=aYJ1H50iqTk?width=1280&amp;height=720\" rel=\"prettyPhoto\">CherryFramework 4. How to add &#8220;read more&#8221; link to custom posts listing<\/a>\r\n<p>Hello! This tutorial shows how to add &#8216;Read more&#8217; button to custom posts listing in CherryFramework4 template:<\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/11\/39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/help\/wp-content\/uploads\/2015\/11\/39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_1-300x131.png\" alt=\"39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_1\" width=\"300\" height=\"131\" class=\"aligncenter size-medium wp-image-58039\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_1-300x131.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_1-150x65.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_1-1024x446.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_1.png 1266w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<ol>\r\n  <li>\r\n\t<p><strong>Locate the shortcode on the page.<\/strong><\/p>\r\n\t<p>The first thing you need to do is to check custom posts listing shortcode parameters to find out what file to edit for adding <strong>Read more<\/strong> button there. An example below shows <strong>Team <\/strong> posts listing shortcode: <\/p>\r\n\t<pre>[cherry_team limit=\"4\" order=\"asc\" orderby=\"title\" size=\"medium\" excerpt_length=\"15\" col_xs=\"12\" col_sm=\"12\" col_md=\"12\" col_lg=\"3\" template=\"team_1.tmpl\"] <\/pre>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/11\/39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/help\/wp-content\/uploads\/2015\/11\/39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_2-300x180.png\" alt=\"39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_2\" width=\"300\" height=\"180\" class=\"aligncenter size-medium wp-image-58040\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_2-300x180.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_2-150x90.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_2.png 806w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\r\n  <\/li> \r\n  <li>\r\n    <p><strong>Locate the file for editing.<\/strong><\/p>\r\n\t<p>The next step is to locate file based on shortcode parameters. <\/p>\r\n\t<p>Please check <strong>template<\/strong> here. In case there is no file specified, <strong>default.tmpl<\/strong> file is used to create layout.<\/p>\r\n  <\/li>\r\n  <li>\r\n\t<p><strong>Edit the file.<\/strong><\/p>\r\n\t<ol>\r\n\t\t<li>\r\n\t\t\t<p>In order to edit files, go to <strong>Cherry -> Shortcodes templater<\/strong> section at your site dashboard.<\/p>\r\n\t\t<\/li> \r\n\t\t<li>\r\n\t\t\t<p>Select <strong>team<\/strong> folder to reach team listing shortcode source files:<\/p>\r\n\t\t<\/li> \r\n\t\t<li>\r\n\t\t\t<p>Open the file, specified in your shortcode. In our case it&#8217;s <strong>team-1.tmpl<\/strong> one.<\/p>\r\n\t\t<\/li> \t\r\n\t\t<li>\r\n\t\t\t<p>Add read mode button code below the <strong>content<\/strong> part by inserting this code:<\/p>\r\n\t\t\t<pre class=\"brush:html\">\r\n\t\t\t\t&lt;a class=&quot;read-more btn&quot; href=&quot;%%LINK%%&quot;&gt;read more&lt;\/a&gt;    \r\n\t\t\t<\/pre>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/11\/39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/help\/wp-content\/uploads\/2015\/11\/39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_3-300x162.png\" alt=\"39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_3\" width=\"300\" height=\"162\" class=\"aligncenter size-medium wp-image-58041\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_3-300x162.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_3-150x81.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_3-1024x553.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_3.png 1251w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t\t<\/li>\r\n\t<\/ol>\r\n   <\/li>\r\n   <li>\r\n\t<p>Save changes and check your site, the button appears now. You can also add specific style rules to this button by using <strong>.read_more<\/strong> class name in your CSS code: <\/p>\r\n\r\n<a href=\"\/help\/wp-content\/uploads\/2015\/11\/39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_4.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/help\/wp-content\/uploads\/2015\/11\/39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_4-300x161.png\" alt=\"39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_4\" width=\"300\" height=\"161\" class=\"aligncenter size-medium wp-image-58042\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_4-300x161.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_4-150x81.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_4-1024x550.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/11\/39.CherryFramework4.How_to_add_Read_more_button_to_custom_posts_listing_4.png 1200w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a>\r\n   <\/li>\r\n <\/ol>\r\n\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n\r\n<a href=\"http:\/\/www.youtube.com\/watch?v=aYJ1H50iqTk?width=1280&amp;height=720\" rel=\"prettyPhoto\">CherryFramework 4. How to add &#8220;read more&#8221; link to custom posts listing<\/a>","protected":false},"excerpt":{"rendered":"<p>This tutorial shows how to add &#8216;Read more&#8217; button to custom posts listing in CherryFramework4 template.<\/p>\n","protected":false},"author":59,"featured_media":58043,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2017,728],"tags":[2012,789,696,592,1009],"class_list":["post-58038","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-monstroid-tutorials","category-wordpress-tutorials","tag-cherryframework4","tag-custom","tag-listing","tag-post","tag-read-more"],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/58038","targetHints":{"allow":["GET"]}}],"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\/59"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=58038"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/58038\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/58043"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=58038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=58038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=58038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}