• Resolved wpprup

    (@wppraesenz)


    Hello dear plugin dev!
    I am using the shortcode
    [wtpsw_popular_post words_limit=”title”]
    In the description it says :” Display number of words in a post content.” ‘
    Perhaps a dumb question, but how can I display the title AND limit the words?
    Thanks, also for the fine plugin!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Ketan Patel

    (@patelketan)

    Hello,

    Thanks for reaching here.

    our plugin “words_limit” parameter content-related and pass this parameter number value.

    Please go to your Admin Panel->Appearance->Customize->Additional CSS.
    Please put the below CSS on your “additional CSS” section.
    .wtpsw-post-grid .wtpsw-post-title { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; padding: 0 !important; }

    Please check and let me know if you have anything.

    Thanks,

    Thread Starter wpprup

    (@wppraesenz)

    I do not know why and I must not 😉 , but it works perfectly!
    If I had not already reviewed with five stars I would do that now.
    Thank you very much, for your quickness, too.
    Best wishes!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Limit words of the title’ is closed to new replies.