{"id":55214,"date":"2015-10-01T04:15:53","date_gmt":"2015-10-01T08:15:53","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=55214"},"modified":"2016-02-18T04:59:36","modified_gmt":"2016-02-18T09:59:36","slug":"prestashop-1-6-x-how-to-remove-more-button-on-category-page-and-display-full-description","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/prestashop-1-6-x-how-to-remove-more-button-on-category-page-and-display-full-description.html","title":{"rendered":"PrestaShop 1.6.x. How to remove &#8220;More&#8221; button on category page and display full description"},"content":{"rendered":"<p>\r\n<p>This tutorial will show you how to display a full category description instead of a short one and remove More button on Prestashop category pages.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=0GGMXcWvp54?width=1280&amp;height=720\" rel=\"prettyPhoto\">PrestaShop 1.6.x. How to remove &#8220;More&#8221; button on category page and display full description<\/a><\/p>\r\n<ol>\r\n<li>\r\n<p>Log into your hosting <strong>cPanel <\/strong>and open <strong>File manager<\/strong>:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/10\/PrestaShop_1.6.x_-How_to_remove_More_button_on_category_page_and_display_full_description.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/PrestaShop_1.6.x_-How_to_remove_More_button_on_category_page_and_display_full_description-300x78.png\" alt=\"PrestaShop_1.6.x_ How_to_remove_More_button_on_category_page_and_display_full_description\" width=\"300\" height=\"78\" class=\"aligncenter size-medium wp-image-55215\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/PrestaShop_1.6.x_-How_to_remove_More_button_on_category_page_and_display_full_description-300x78.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/PrestaShop_1.6.x_-How_to_remove_More_button_on_category_page_and_display_full_description-150x39.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/PrestaShop_1.6.x_-How_to_remove_More_button_on_category_page_and_display_full_description.png 724w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n  <\/li>\r\n<li>\r\n<p>Open<strong> themes\/themeXXXX <\/strong>folder, where <strong>XXXX<\/strong> is your actual theme number.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Find <strong>category.tpl<\/strong> file and click <strong>Edit<\/strong> icon to edit it: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/10\/PrestaShop_1.6.x_-How_to_remove_More_button_on_category_page_and_display_full_description_1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/PrestaShop_1.6.x_-How_to_remove_More_button_on_category_page_and_display_full_description_1-300x219.png\" alt=\"PrestaShop_1.6.x_ How_to_remove_More_button_on_category_page_and_display_full_description_1\" width=\"300\" height=\"219\" class=\"aligncenter size-medium wp-image-55217\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/PrestaShop_1.6.x_-How_to_remove_More_button_on_category_page_and_display_full_description_1-300x219.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/PrestaShop_1.6.x_-How_to_remove_More_button_on_category_page_and_display_full_description_1-150x109.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/PrestaShop_1.6.x_-How_to_remove_More_button_on_category_page_and_display_full_description_1.png 885w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>You should find the following code:<\/p>\r\n<pre class=\"brush:html\">\r\n{if Tools::strlen($category-&gt;description) &gt; 350}\r\n&lt;div id=&quot;category_description_short&quot;&gt;{$description_short}&lt;\/div&gt;\r\n&lt;div id=&quot;category_description_full&quot; class=&quot;unvisible&quot;&gt;{$category-&gt;description}&lt;\/div&gt;\r\n&lt;a href=&quot;{$link-&gt;getCategoryLink($category-&gt;id_category, $category-&gt;link_rewrite)|escape:'html':'UTF-8'}&quot; class=&quot;lnk_more&quot;&gt;{l s='More'}&lt;\/a&gt;\r\n<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/10\/PrestaShop_1.6.x_-How_to_remove_More_button_on_category_page_and_display_full_description_2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/PrestaShop_1.6.x_-How_to_remove_More_button_on_category_page_and_display_full_description_2-300x186.png\" alt=\"PrestaShop_1.6.x_ How_to_remove_More_button_on_category_page_and_display_full_description_2\" width=\"300\" height=\"186\" class=\"aligncenter size-medium wp-image-55218\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/PrestaShop_1.6.x_-How_to_remove_More_button_on_category_page_and_display_full_description_2-300x186.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/PrestaShop_1.6.x_-How_to_remove_More_button_on_category_page_and_display_full_description_2-150x93.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/PrestaShop_1.6.x_-How_to_remove_More_button_on_category_page_and_display_full_description_2-1024x636.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/PrestaShop_1.6.x_-How_to_remove_More_button_on_category_page_and_display_full_description_2.png 1056w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>You should completely remove these lines from the code:<\/p>\r\n<pre class=\"brush:html\">\r\n&lt;div id=&quot;category_description_short&quot;&gt;{$description_short}&lt;\/div&gt;\r\n\r\n&lt;a href=&quot;{$link-&gt;getCategoryLink($category-&gt;id_category, $category-&gt;link_rewrite)|escape:'html':'UTF-8'}&quot; class=&quot;lnk_more&quot;&gt;{l s='More'}&lt;\/a&gt;\r\n<\/pre>\r\n<\/li>\r\n<li>\r\n<p>Then you should edit this line:<\/p>\r\n<pre class=\"brush:html\">\r\nclass=&quot;unvisible&quot;&gt;\r\n<\/pre>\r\n<p>and replace it with this one:<\/p>\r\n<pre class=\"brush:html\">\r\nclass=&quot;visible&quot;&gt;\r\n<\/pre>\r\n<\/li>\r\n<li>\r\n<p>Please note that there are 2 instances of the same code in the file. You should edit both instances.<\/p>\r\n<\/li>\r\n<li>\r\n<p>After you edit the file, click Save button to save changes:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/10\/PrestaShop_1.6.x_-How_to_remove_More_button_on_category_page_and_display_full_description_3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/PrestaShop_1.6.x_-How_to_remove_More_button_on_category_page_and_display_full_description_3-300x65.png\" alt=\"PrestaShop_1.6.x_ How_to_remove_More_button_on_category_page_and_display_full_description_3\" width=\"300\" height=\"65\" class=\"aligncenter size-medium wp-image-55219\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/PrestaShop_1.6.x_-How_to_remove_More_button_on_category_page_and_display_full_description_3-300x65.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/PrestaShop_1.6.x_-How_to_remove_More_button_on_category_page_and_display_full_description_3-150x33.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/PrestaShop_1.6.x_-How_to_remove_More_button_on_category_page_and_display_full_description_3-1024x224.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/PrestaShop_1.6.x_-How_to_remove_More_button_on_category_page_and_display_full_description_3.png 1040w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>Refresh your category page to see that More button is removed and full description is displayed instead of short one.<\/p>\r\n<\/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=0GGMXcWvp54?width=1280&amp;height=720\" rel=\"prettyPhoto\">PrestaShop 1.6.x. How to remove &#8220;More&#8221; button on category page and display full description<\/a><\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to display a full category description instead of a short one and remove More button on Prestashop category pages.<\/p>\n","protected":false},"author":54,"featured_media":55216,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[732],"tags":[536,2067,336,1336,552],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/55214"}],"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\/54"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=55214"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/55214\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/55216"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=55214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=55214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=55214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}