How to get the excerpt from wysiwyg field

Support General How to get the excerpt from wysiwyg field

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #3160
    krabbekrabbe
    Participant

    I'm using MB Term Meta plugin for a custom taxonomy. Everything works fine except the output of a wysiwyg field.
    I need the "read more" function, so I use the <--more--> tag to divide the content. I can see the tag in the field in backend, but it doesn't show up on frontend.
    The other formatting stuff like h3- or strong-tags are working fine.
    The <--more--> tag is saved in the database, but is kind of removed by the get_term_meta function...
    I could pull the content directly from database, but there should be an easier way.

    #3166
    Anh TranAnh Tran
    Keymaster

    The read more tag is made only for posts when we use the_content function. I think the only way to do this is applying the same method as WordPress did in get_the_content function.

    #3173
    krabbekrabbe
    Participant

    Thanks for your reply! I'll give it a try.
    Maybe you could consider this functionality for future updates.

    #3176
    Anh TranAnh Tran
    Keymaster

    Thanks. I will think about this 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to get the excerpt from wysiwyg field’ is closed to new replies.