Read More

This topic contains 11 replies, has 4 voices, and was last updated by  Jeff Adams 4 years, 4 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #6043

    Jeff Adams
    Buyer
    Post count: 1780

    I need a “Read More” after a certain amount of characters for the Users feed: https://veganlinked.com/users/ How can this be done?

    #6046

    Guust
    Moderator
    Post count: 29970

    There is no option for that, but I’ll get the developers to have a look at your question too.
    Thanks

    #6047

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Jeff,

    Is that their bio or a custom text field?

    Stiofan

    #6119

    Jeff Adams
    Buyer
    Post count: 1780

    Hello Stiofan, it’s a custom field.

    #6120

    Jeff Adams
    Buyer
    Post count: 1780
    This reply has been marked as private.
    #6141

    Jeff Adams
    Buyer
    Post count: 1780

    Here’s some screen shots of the custom field settings and an example of the issue:
    https://veganlinked.com/users/

    #6193

    Jeff Adams
    Buyer
    Post count: 1780
    This reply has been marked as private.
    #6204

    Patrik
    Moderator
    Post count: 1971

    Hi,

    You can limit the content using the following JS code:

    
    
    jQuery(".uwp-users-loop div.d-inline-block").text(function(index, currentText) {
        return currentText.substr(0, 175);
    });

    Change the 175 to the number of characters you want to limit.

    Regards,
    Patrik

    #6212

    Jeff Adams
    Buyer
    Post count: 1780

    I’ve tried using “Custom CSS & JS” and it doesn’t appear to be working at all. I tried several different ways, changing the number of characters, etc… It doesn’t appear to do anything.

    #6213

    Patrik
    Moderator
    Post count: 1971

    Hi,

    I have added this as a custom JS code with the name “JS to limit vegan story characters on users page” in the Custom CSS & JS.

    Please review it and let me know your inputs.

    Regards,
    Patrik

    #6216

    Jeff Adams
    Buyer
    Post count: 1780

    Awesome! Thanks so much! It looks beautiful now 🙂

    I see what I did wrong, I was adding the code in the comment section, sorry, I’m new to this. Thanks again!!! 🙂

    #6218

    Jeff Adams
    Buyer
    Post count: 1780

    Quick idea on this topic. I just noticed that the “Author Box” on posts probably needs a read more deal going on there too. I disabled it for now. But, the author box is really nice. But if the read more is something that can happen there too then I’ll definitely re-enable it. Either way, thanks! This plug is coming along nicely. I’m looking forward to experience it’s evolution

Viewing 12 posts - 1 through 12 (of 12 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket