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

    (@webdeveric)

    Gulliver,

    This shortcode calls wpautop() if the autop attribute is true.
    And since the default value of the autop attribute is true, you need to specify autop=false in order to not call wpautop() on the content.

    If the post content you want to retrieve has a shortcode in it, setting shortcode=true will run do_shortcode() on the content.
    This is the default behavior and if this is what you want, you can omit this attribute when using the shortcode.

    Setting shortcode=false will skip using do_shortcode() and will return the raw content, which may include unprocessed shortcodes.

    From,
    Eric

    Plugin Author webdeveric

    (@webdeveric)

    Gulliver,

    I’ve added a filter to this plugin that will allow you to set the default values of the shortcode attributes (autop, shortcode, etc.).

    See the readme for examples.

    From,
    Eric

    Thread Starter gulliver

    (@gulliver)

    Eric, thanks. Appreciated.
    I’m sorry for not answering your earlier reply – lost in my to-do backlog.
    ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Autop, and do_shortcode?’ is closed to new replies.