Hide customs posts in live search

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Hide customs posts in live search

This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 1 year ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #36950
    MartinE
    MartinE
    Participant

    Hi Ernest

    Finally bought your excellent plugin 😊

    And is I thought, the ajax search lists the documents that the user is not allowed to see, right now I made it so that if you choose the document in Ajax live search, there is just a link back to the search, but I would prefer it, if the files are not listed at all

    See website without being logged in.

    if you go to fil-database menu item, and search for test you can see a file named test3.pdf, but if you click on manuals, the file is hidden as it should be.

    I am as I told you, using “User Access Manager” to hide the files for different users.

    Anything you can do? And if you can – price?

    And here is documentation for UAM
    https://github.com/GM-Alex/user-access-manager/wiki/Code-Snippets

    #36957
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Thank you for your kind words!

    Unfortunately we are not available for custom jobs, but I will try to suggest any custom code I can. I checked the code-snippets link, however it does not contain enough information for this case.

    For this to work, I need either a way to get the post/document IDs, which the user can not access, or a function, which can check if the user has access to a specific document.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #36965
    MartinE
    MartinE
    Participant

    Hi again

    Thanks for following up – I just mailed the creator of UAM, hopefully he can give me function 🙂

    #36974
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Thank you! Let me know 🙂

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


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

You must be logged in to reply to this topic.