• Resolved Janco147

    (@janco147)


    Hello,

    Love collapse-o-matic!

    Working on this site (all in dutch. sorry)
    https://www.test4.websitehebben.com/portfolio/
    I ran into a problem.

    I’d like to use other (Custom Content) shortcode inside your excerpt attribute. Like this:
    ‘[expand title=”lees meer” excerpt=”[field excerpt words=60 dots=false ]”][content][/expand]’

    I’m doing it like this so a user can just input any text – let Custom Content chop it after 60 words – use one chunk as excerpt – expand it to full content.

    So far it doesn’t take the excerpt from the Custom-Content-field. Is there a workaround?

    Thanks in advance

    Janco

    https://www.ads-software.com/plugins/jquery-collapse-o-matic/

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘use shortcode in excerpt attribute?’ is closed to new replies.