Viewing 4 replies - 1 through 4 (of 4 total)
  • K. Tough

    (@kjvtough)

    Hi, heywatchit.

    You could try loading the protected content inline by using the ajax attribute in the shortcode; that will keep your users at the same location as only the new content is loaded in place. Just set the attribute to true.

    Thread Starter heywatchit

    (@heywatchit)

    Thanks. Can you help me with the code? I’m very weak when it comes to html. What would it look like? Thank you!

    K. Tough

    (@kjvtough)

    No HTML needed; merely add ajax="true" to your shortcode and add an identifier attribute. Altogether, it might look something like this:

    [content_protector password="my_secret" identifier="my_content" ajax="true"]{my protected content}[/content_protector]

    Thread Starter heywatchit

    (@heywatchit)

    Great! Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Upon submit have page refresh to previous position’ is closed to new replies.