• Resolved 2cats

    (@2cats)


    Hi, My pop-up profile modification form has stopped working; when it is clicked on I am just sent to the top of the page with the URL/# — here is the code which I have placed in a text widget:

    [s2If is_user_logged_in()]
    <p class="feed"><a class="profile" href="#" onclick="window.open('http://domain.org/?s2member_profile=1', '_popup', 'width=360,height=400,left=100,screenX=100,top=100,screenY=100,location=0,menubar=0,toolbar=0,status=0,scrollbars=1,resizable=1'); return false;">Modify Profile</a></p>
    [/s2If]

    Any assistance/advice would be appreciated. Thank you!

    https://wordpress.org/plugins/s2member/

Viewing 1 replies (of 1 total)
  • Thread Starter 2cats

    (@2cats)

    So I solved my own problem … sort of. The text widget was automatically inserting a double quote at the end of ‘http://domain.org/?s2member_profile=1&#8217;, overwriting my single quote (an attempt to be helpful?). I hard-coded everything into the sidebar, no more overwriting, and it’s all good.

Viewing 1 replies (of 1 total)
  • The topic ‘Pop-up profile not working’ is closed to new replies.