WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. nickgassmann
    Member
    Posted 5 months 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 2 months 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 2 months ago #

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

  4. welswebmaster
    Member
    Posted 2 months ago #

    That would help ;-)

  5. Lew Ayotte
    Member
    Plugin Author

    Posted 2 months 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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.