List category posts
[resolved] Adding Shortcodes to Excerpts / Custom Fields (6 posts)

  1. 82concepts
    Posted 3 years ago #

    Hi there, first off, I love this plugin and have used it for multiple sites. Excellent job and thank you!

    I noticed in some of the recent updates the Excerpts no longer allow Shortcodes to be used. I actually was hoping to reverse this and allow them to be used, as well as, in Custom Fields. I have another plugin that gives custom fields extra features and in order to use them I need shortcodes to work. I'd prefer the Custom Fields to work with shortcodes more over the Excerpts, but both would be nice.

    So far I've tried the ideas in the following posts but to no avail:

    Thanks in advance!


  2. ohacastle
    Posted 3 years ago #

    I am wondering the same thing. I'd love shortcodes to be used in excerpts or custom fields. Is this possible?

    Looks like you posted this about 4 months ago, did you figure a work around?

  3. ohacastle
    Posted 3 years ago #

    I deleted this line from the catlist.php file;
    $text = strip_shortcodes($text);
    And the short codes work in the custom fields now!

  4. ohacastle
    Posted 3 years ago #

    Excuse me, not the custom fields -- short codes work in excerpts if you delete the line above.

  5. 82concepts
    Posted 3 years ago #

    Ohacastle, thanks a million for the response! I think I found a workaround or went with another solution at the time. It was a time sensitive project and it just needed to be done. I'll definitely save this for future reference, as I do love this plugin even more than cute pictures of cats on the web (actually by far!)

    So cheers and thanks for the support!

  6. Samedi Amba
    Posted 3 years ago #

    Thanks to ohacastle for the answer. Was actually wondering which files to edit

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • List category posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic