Support » Plugin: Private Content » Use the short code in-line and not make new line

  • Resolved batbaru1

    (@batbaru1)


    Hello I just installed this plugin and am testing how to use. One of the things I was wanting to do was use the shortcode in a sentence, for instance. To have the effect of:

    Sally met Harry and they went [private role=”custom” custom_role=”contributor” alt=”{hidden}” reverse=1]shopping[/private]. After that they … blah blah…

    The shortcode inserts a new line after the code it seems and breaks up the in-line sentence. Is there a way to turn that off or make it optional to use the shortcode in-line?

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

    (@aldolat)

    Hello,
    sure, there is an option that lets you use a inline container, namely span.

    Here is the shortcode for you:

    Sally met Harry and they went [private container="span" role="custom" custom_role="contributor" alt="{hidden}" reverse=1]shopping[/private]. After that they … blah blah…

    Let me know, please.

    • This reply was modified 7 months, 1 week ago by Aldo Latino. Reason: Typo

    I find it working, thank you! I must read the instructions more closely 🙂

    Plugin Author Aldo Latino

    (@aldolat)

    You’re welcome!

    The documentation of the plugin is available as a Wiki or, if you prefer, as a PDF.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Use the short code in-line and not make new line’ is closed to new replies.