• Resolved cirkakai

    (@cirkakai)


    Thanks for a great plugin!

    I would like to use a shortcode in the excerpt of each item.

    Following this thread, I was able to identify the wp_trim_words function in class-get-portfolio.php: https://wordpress.org/support/topic/do-not-strip-html-tags/

    Nevertheless, I’m not able enable shortcodes, even though I’m using the do_shortcodes function.

    Thank you very much in advance!

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nikita

    (@nko)

    Hey.

    Where are you using the do_shortcode function? Can you share a part of your code?

    Regards, nK.

    Thread Starter cirkakai

    (@cirkakai)

    Hi nK,

    Thank you very much for taking the time – I really appreciate your help!

    I have added the do_shortcode to my functions.php, and I see that some shortcodes are (sort of) working. Though I have been trying to use this https://wordpress.org/plugins/read-more/ (and other plug-ins with similar collapsibse/expand-functions) in the excerpts using shortcodes, but without success.

    I would appreciate it if you would let me know, should this plugin work for you. Meanwhile, I’ll also take the liberty to start a new thread asking how I could add a collapsible/expand-functionality without the use of a plug-in.

    Best,

    • This reply was modified 2 years, 11 months ago by cirkakai.
    • This reply was modified 2 years, 11 months ago by cirkakai.
    • This reply was modified 2 years, 11 months ago by cirkakai.
    Plugin Author Nikita

    (@nko)

    Hey.

    Unfortunately, it will not work with our excerpt feature. You will need to add code customizations to the template, as I already answered in this topic https://wordpress.org/support/topic/do-not-strip-html-tags/

    We don’t provide such customizations, you will need to make it by yourself or with 3rd-party help.

    Regards, nK.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shortcodes in excerpts’ is closed to new replies.