{"id":47448,"date":"2015-04-20T03:07:49","date_gmt":"2015-04-20T07:07:49","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=47448"},"modified":"2018-07-19T04:32:27","modified_gmt":"2018-07-19T08:32:27","slug":"wordpress-how-to-edit-portfolio-title-length","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/wordpress-how-to-edit-portfolio-title-length.html","title":{"rendered":"WordPress Cherry 3.x. How to edit portfolio title length"},"content":{"rendered":"<p><a href=\"http:\/\/www.youtube.com\/watch?v=MpnSGc4Qg08?width=1280&amp;height=720\" rel=\"prettyPhoto\">WordPress. How to edit portfolio title length<\/a><\/p>\r\n<p>This tutorial will show you how to edit portfolio title length in WordPress CherryFramework based templates:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/How_to_edit_portfolio_title_length_2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/How_to_edit_portfolio_title_length_2-300x208.png\" alt=\"How_to_edit_portfolio_title_length_2\" width=\"300\" height=\"208\" class=\"aligncenter size-medium wp-image-47449\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/How_to_edit_portfolio_title_length_2-300x208.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/How_to_edit_portfolio_title_length_2-150x104.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/How_to_edit_portfolio_title_length_2.png 985w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<ol>\r\n<li>\r\n<p>Copy the file <strong>&#8216;filterable-portfolio-loop.php&#8217;<\/strong> from <strong>&#8216;wp-content\/themes\/CherryFramework&#8217;<\/strong> directory to <strong>&#8216;wp-content\/themes\/themeXXXXX&#8217;<\/strong> folder, where <strong>XXXXX<\/strong> is your actual theme number. <\/p>\r\n<div class=\"inline-banner\">\r\n<a href=\"https:\/\/www.templatemonster.com\/service-center\/\">\r\n<img src=\"\/help\/files\/banners\/inline\/Banner-3-(835-x100).jpg\" \/>\r\n<\/a>\r\n<\/div>\r\n<\/li>\r\n<li>\r\n<p>Open the file <strong>&#8216;wp-content\/themes\/themeXXXXX\/filterable-portfolio-loop.php&#8217; <\/strong>, where <strong>XXXXX<\/strong> is your actual theme number.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Look for the <strong>&#8216;caption caption__portfolio&#8217;<\/strong> div class. Locate the following code (approximately line 255):<\/p>\r\n<pre class=\"brush:php\">&lt;?php $title = the_title('','',FALSE); echo mb_substr($title, 0, 40); ?&gt;<\/pre>\r\n<\/li>\r\n<li>\r\n<p>Change the digit <strong>&#8217;40&#8217;<\/strong> to any desired one. This parameter configures portfolio title length in characters: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/How_to_edit_portfolio_title_length_1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/How_to_edit_portfolio_title_length_1-300x43.png\" alt=\"How_to_edit_portfolio_title_length_1\" width=\"300\" height=\"43\" class=\"aligncenter size-medium wp-image-47450\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/How_to_edit_portfolio_title_length_1-300x43.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/How_to_edit_portfolio_title_length_1-150x21.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/How_to_edit_portfolio_title_length_1.png 998w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n<\/li>\r\n<li>\r\n<p>Save the changes. Refresh your page to see the changes.<\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>Portfolio title length has been successfully changed.<\/p>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=MpnSGc4Qg08?width=1280&amp;height=720\" rel=\"prettyPhoto\">WordPress. How to edit portfolio title length<\/a><\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to edit portfolio title length in Wordpress CherryFramework based templates.<\/p>\n","protected":false},"author":37,"featured_media":47452,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[728],"tags":[872,1050,1010,2405],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/47448"}],"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\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=47448"}],"version-history":[{"count":1,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/47448\/revisions"}],"predecessor-version":[{"id":82580,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/47448\/revisions\/82580"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/47452"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=47448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=47448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=47448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}