• Resolved redone975

    (@redone975)


    Working on a Tanzaku WP site where my client would like to password protect some posts. I’d like the login for the post to appear only within the post detail page and not the homepage.

    For visual clarification, I’d like to remove the yellow portion from the screensnap:
    https://www.redone.org/wp_tanzaku_pw.jpg

    Any ideas on how to go about this? First time dealing with PW-protected posts.

    Thanks,
    Mike

Viewing 1 replies (of 1 total)
  • Thread Starter redone975

    (@redone975)

    Instead of hacking around the WordPress code, I decided to use jquery to solve the issue. I placed the following code within the jquery function already located within the header:

    $("#grid-wrapper form").remove();

    By doing this, the form still appears within the actual post as that form is located within the #single-wrapper div.

    All good.

Viewing 1 replies (of 1 total)
  • The topic ‘Remove password protection from homepage’ is closed to new replies.