WordPress.org

Forums

IssueM
Shortcode Not Processed in %CONTENT% (5 posts)

  1. nickgassmann
    Member
    Posted 1 year ago #

    Being that your website is currently down, I wanted to make this post so we don't forget.

    If any user wants to use a shortcode in their article post type, they won't be able to unless you change

    $content = get_the_content();

    to

    $content = do_shortcode( get_the_content() );

    We wanted to feed media to our homepage and had to make the change. Hopefully your next update fixes that so our work doesn't get overwritten. Thanks!

    https://wordpress.org/plugins/issuem/

  2. welswebmaster
    Member
    Posted 1 year ago #

    Where are you making this change, please? And do you mean, that the shortcode on an Article page isn't working (not displaying content)? This is the case for me.

  3. nickgassmann
    Member
    Posted 1 year ago #

    @welswebmaster -- in the plugin's code. Do you need the specific file name?

  4. welswebmaster
    Member
    Posted 1 year ago #

    That would help ;-)

  5. Lew Ayotte
    Member
    Plugin Author

    Posted 1 year ago #

    Checkout the dev version here - https://github.com/issuem/issuem

    We're running get_the_content() through WordPress's the_content filter, which should pick up those shortcodes.

    Lew

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • IssueM
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.