Home Forums Viral About word control of Style1,Middle Blocks-Left Content

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1720
    bob369
    Participant

    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)

    #1744
    Hash
    Keymaster

    It needs change in code to reduce the excerpt length. It works good with English alphabet but for other alphabet the letter count varies.

    #1756
    bob369
    Participant

    thanks a lot for your answer! could you tell me which file or files to be changed for this? thanks.

    #1772
    Hash
    Keymaster

    File – inc/hooks.php
    line number – 322

    Change the value of 180 in the below code

    <?php echo viral_excerpt( get_the_content(), 180); ?>

    #1773
    bob369
    Participant

    thanks 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! 🙂

    #1781
    Hash
    Keymaster

    Thank 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 🙂

    #1792
    bob369
    Participant

    ok,i am glad to do it!

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.