• Resolved gventura

    (@gventura)


    Hi to everybody.

    It’s possible to run shortcode inside [hide][/hide]?

    For example:

    [hide for="!logged"]
    Contact us:
    [contact-form-7 id="xxx" title="contacto"]
    [/hide]
    [hide for="logged"]
    Download your cupon <a href="#">here</a>
    [/hide]

    Thnak you Andrés for this great plugin.

    https://wordpress.org/plugins/hide-this/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andrés Villarreal

    (@andrezrv)

    Hi gventura, thanks for your feedback.

    I just updated Hide This to version 1.1.1, which supports shortcodes inside [hide][/hide]. I totally forgot about including that feature, and your question made me think it would be really useful.

    In case you don’t want to update the plugin, just add $content = do_shortcode( $content ); after line 67 within hide-this.class.php.

    I hope my answer helps 🙂

    Plugin Author Andrés Villarreal

    (@andrezrv)

    I’m marking this as resolved, since the last update solves the issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘shortcodes inside hide’ is closed to new replies.