Including shortcodes in post template

Posted in: Newspaper
Post count: 18

Hi TagDiv,

I’m trying to implement a paywall on our site. It used to work – but updating the theme unfortunately broke it.

I was hoping you could help me with a few pointers on how to do this:

– place a shortcode at the beginning of my post content – called [paywall-content]
– and another shortcode at the end of the post content called [/paywall-content]

I’ve been able to insert the first shortcode in my singles template with the element “Column text”. But I haven’t been able to insert the closing shortcode in the same way – it’s just posted as regular text.

Can you give me some directions on where to include these shortcodes in the template?

Thank you in advance!

Cheers,
Janus

Post count: 35449

Hi,

If you are using a single post template from tagDiv Cloud Library, then you should be able to edit it with tagDiv Composer and set the column text at the beginning the post content and at the end of post content -> http://prntscr.com/pslgqa -> http://prntscr.com/pslh0e -> http://prntscr.com/pslh9b -> http://prntscr.com/pslhh6

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.