Denied access

This topic contains 7 replies, has 3 voices, and was last updated by  Alex Rollin 5 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #470624

    Javier Vasquez
    Expired Member
    Post count: 100

    Hi

    How can I denied access for any CPT pages if the user is not logged?

    #470663

    Alex Rollin
    Moderator
    Post count: 27815

    You will need a 3rd party plugin to deny access.

    #470681

    Javier Vasquez
    Expired Member
    Post count: 100
    This reply has been marked as private.
    #470694

    Paolo
    Site Admin
    Post count: 31206

    A customization is needed for that and we don’t provide support for customization. Here you can ind freelancers for hire to help you out with similar things: http://geodirectoryexperts.com/

    Thanks

    #470697

    Javier Vasquez
    Expired Member
    Post count: 100
    This reply has been marked as private.
    #470709

    Paolo
    Site Admin
    Post count: 31206

    it should be /events/, but it can be translated. The CPT name instead is gd_event.

    Thanks

    #470795

    Javier Vasquez
    Expired Member
    Post count: 100
    This reply has been marked as private.
    #470844

    Alex Rollin
    Moderator
    Post count: 27815

    is_post_type_archive( $gd_event )
    https://codex.wordpress.org/Conditional_Tags

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket