• Resolved paxton111

    (@paxton111)


    Hi

    I would really appreciate if you can tell me how to restrict single listings for “customer” user and redirect them to certain page. I’m using Listify theme with Woocommerce and WPJM.
    I know that that i need to add some code to single-job_listings.php but i don’t know which one. Can you tell me how to achieve this?
    So basically i want listings to be viewable for everybody except for “customer” user and when “customer” user clicks on the listing to be redirected to certain page…

    Thank you!!

    https://www.ads-software.com/plugins/wp-job-manager/

Viewing 1 replies (of 1 total)
  • Maybe it’s not my place to be making suggestions, but the ‘restrict content pro’ plugin would appear to be what you’re looking for.

    What do you mean by ‘customer’? Is that the person who posted the job, or a job seeker? The only thing with the rcp plugin is it doesn’t seem to allow restrictions by custom user roles, just the standard wp ones. However, if your customers are in fact some sort of subscriber and you want to restrict what they see, then this can be done by restricting the item to subscribers only, and then by the level of subscriber.

Viewing 1 replies (of 1 total)
  • The topic ‘Restrict Listings’ is closed to new replies.