How to add Custom Text after entering the shortcode.

jumbowap
Posts: 1
Joined: Sat Jun 24, 2017 10:35 am

How to add Custom Text after entering the shortcode.

Postby jumbowap » Sat Jun 24, 2017 10:42 am

Hello,
Thank you for this useful plugin.
i have created a div class shortcode

<div class="Note-box"> Note:- THIS WILL BE CUSTOM TEXT</div>

I want to use different note text for different articles. How to use it so it will show work?

I have tried <div class="Note-box"> Note:- %%text%%</div>
<div class="Note-box"> Note:- %%content%%</div>

It doesn't seems to work. How to use shortcode in such way that i will able to add rich text in this.

Thank you.
User avatar
vaakash
Site Admin
Posts: 807
Joined: Sun Jan 17, 2010 11:15 am
Location: India
Contact:

Re: How to add Custom Text after entering the shortcode.

Postby vaakash » Fri Jun 30, 2017 6:12 pm

If I understand correctly, please try the following.

Shortcode content:

<div class="note-box">%%thenote%%</div>

In your post:

Use the shortcode
[sc name="myshortcode" thenote="This is my customer note"]

Sent from my Redmi Note 3 using Tapatalk