password protected posts

  • Posted in : cvCard WP
  • marina2042
    Participant

    Hello,

    How do you get a password protected post to show up right after a user enters a password?

    Today, when a user enters a password for the first time, the theme takes that user back to the about page and they have to navigate back to the portfolio section and click on the protected post again to see it.

    serkan
    Moderator

    Hi marina2042,
    When writing posts, there is an option called Visibility, which is set to Public by default. If you click Edit, then you will see options such as Password Protected and Private.
    Simply click on Password Protected to add a password to your post. Doing so, only the friends, family members, or users you share this password with will be able to see this post.
    If it is conflicting, please deactivate all your plugin and try it again.
    Thanks

    marina2042
    Participant

    That’s not the exact issue. Here is the challenge.

    1. User enters site for the first time and clicks on the portfolio section.
    2. User navigates to portfolio section, clicks on protected post and enters password.
    3. After user enters password, user is taken back to the entry page of the site (in this case the about me page)
    4. User has to navigate back to the portfolio section of the site and click on the protected post again to see the post.

    What I would like it to do is when I user enters the password to a protected post, I want that post to appear right away (assuming the password is correct).

    serkan
    Moderator

    Hi, i have forwarded this topic to the developer, he will get back to you soon. Thanks for the patience.

    ahmetsali
    Keymaster

    @marina2042

    Hi, I see the issue, it is happening because of the portfolio single pages are fetched with ajax, we will add an option to disable ajax for portfolio posts with a future update.

    Thanks for the feedback.

    marina2042
    Participant

    thank you! Any idea when to expect an update? Is there anything I can do to fix it or patch it on my end in the meantime?

    serkan
    Moderator

    Hi marina2042,
    if you can’t wait for the update, you can disable ajax in the code. Edit js/main.js(in theme folder) in a text editor, and find line : 172;

    $(".one-page-layout a.ajax").live('click',function() {
    and change it to

    $(".one-page-layout a.ajax2").live('click',function() {

    Thanks

    marina2042
    Participant

    That worked thank you! Is there any way to use the code and still maintain the overlay? When I put in that new code, each piece opens up it own page vs. in an overlay.

    serkan
    Moderator

    Hi marina2042,
    It is not possible by default. Thanks

    Mehmet S.
    Keymaster

    Hi, new version is available.

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register