- This topic has 6 replies, 2 voices, and was last updated 7 years, 9 months ago by bob369.
- AuthorPosts
- January 24, 2017 at 10:37 am #1720bob369Participant
Hello,
The first thank you for the quality of your work! Excuse me, I have a question about the theme Viral.
As shown in the figure(http://www.ilimili.cn/temp/viral1.png),The words are too more, how to control it?
(Home Middle Section>Left Content>Layouts>style1)January 26, 2017 at 12:38 am #1744HashKeymasterIt needs change in code to reduce the excerpt length. It works good with English alphabet but for other alphabet the letter count varies.
January 27, 2017 at 6:03 am #1756bob369Participantthanks a lot for your answer! could you tell me which file or files to be changed for this? thanks.
January 27, 2017 at 11:45 pm #1772HashKeymasterFile – inc/hooks.php
line number – 322Change the value of 180 in the below code
<?php echo viral_excerpt( get_the_content(), 180); ?>
January 28, 2017 at 12:10 am #1773bob369Participantthanks a lot for your anwser! today is chinese new year, the Chinese Spring Festival, and bring happiness and good luck to you and your family! 🙂
January 28, 2017 at 9:41 am #1781HashKeymasterThank you. And please don’t forget to review our theme https://wordpress.org/support/theme/viral/reviews/?filter=5 and share it with other as well 🙂
January 29, 2017 at 2:29 am #1792bob369Participantok,i am glad to do it!
- AuthorPosts
- You must be logged in to reply to this topic.