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

This topic contains 6 replies, has 2 voices, and was last updated by  bob369 4 months, 3 weeks ago.

  • 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)
    Viral

  • #1744

    HashThemes
    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

    HashThemes
    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

    HashThemes
    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!

You must be logged in to reply to this topic.