Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Bill Erickson

    (@billerickson)

    I’m sorry but this is exactly what the more text is for – to cut off the content when displaying it in listings.

    If you would like to display the full post content despite having more text in it, you’ll need to use the output filter to modify the shortcode’s output. Something like this: https://gist.github.com/billerickson/def57ad73bfff717bf312450205edc3c

    Basically we’re replacing the WordPress function get_the_content() with $post->post_content

    Thread Starter spacetacular

    (@spacetacular)

    Hi Bill,
    This is fantastic. I love your plugin. The new code pulled the full content and bypassed the <!–more–>

    It did strip out my author info tho. I tried putting in this $author in a similar way that you did the others ($title, $date, etc) but it threw out errors. Could you let me know how to add the author info in the output?

    You are amazing. Thank you!
    Stephanie

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display post shortcode display full content when selecting WYSIWYG more text’ is closed to new replies.