[contact-form-7 id="24078" title="Feedback EN"]

Featured templates

WordPress Cherry 3.x. How to edit portfolio title length

WordPress. How to edit portfolio title length

This tutorial will show you how to edit portfolio title length in WordPress CherryFramework based templates:

How_to_edit_portfolio_title_length_2

  1. Copy the file ‘filterable-portfolio-loop.php’ from ‘wp-content/themes/CherryFramework’ directory to ‘wp-content/themes/themeXXXXX’ folder, where XXXXX is your actual theme number.

  2. Open the file ‘wp-content/themes/themeXXXXX/filterable-portfolio-loop.php’ , where XXXXX is your actual theme number.

  3. Look for the ‘caption caption__portfolio’ div class. Locate the following code (approximately line 255):

    <?php $title = the_title('','',FALSE); echo mb_substr($title, 0, 40); ?>
  4. Change the digit ’40’ to any desired one. This parameter configures portfolio title length in characters:

    How_to_edit_portfolio_title_length_1

  5. Save the changes. Refresh your page to see the changes.

Portfolio title length has been successfully changed.

Feel free to check the detailed video tutorial below:

WordPress. How to edit portfolio title length