Disable Links

This topic contains 12 replies, has 2 voices, and was last updated by

 
Keymaster
3 years, 11 months ago.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #16697

    I reached out earlier about disabling the links from the results and you said to buy the plugin and reach out.

    So I’m reaching out. PS. I bought the plugin but I’m currently using the lite cause it was working better for me.

    #16698

    Hi!

    Thank you very much for supporting us.

    This custom CSS should do the trick:

    a.asl_res_url,
    a.asp_res_url {
      pointer-events: none !important;
      cursor: default !important;
    }

    Apply this code to your theme custom CSS field (if it supports it) or use the custom CSS field on the search plugin back-end.

    Best,
    Ernest Marcinko

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


    #16699

    Man….Your AWESOME!!!!!

    #16700

    Random question but I wanted to ask. Is there a way to send all the results to a external link? Meaning if they clicked on any of the results I could send them to yahoo.com?

    #16703

    You are welcome 🙂

    Yes, that should be possible, but depends on where exactly the link would redirect.
    If you can give me an example, I might be able to construct a custom code to manipulate the result URLs the way you want them.

    Best,
    Ernest Marcinko

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


    #16708
    #16710

    Hi!

    This will do the trick, but you will have to remove the previous custom CSS of course.

    Add this custom code to the functions.php in your theme/child theme directory (copy from line 3 only!). Before editing, please make sure to have a full site back-up just in case!

    Let me know if you need help with it.

    Best,
    Ernest Marcinko

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


    #16728

    Bummer….I could get that to work.

    Here is the page I’m working on.

    https://www.fluidfi.com/how-it-works-2/

    #16731

    Oops, sorry, my mistake, it was missing 1 line.

    This should be the correct one:

    Best,
    Ernest Marcinko

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


    #16766

    Hmmm….this code throws a 500 error.

    Anything i’m missing?

    #16771

    Hi,

    The code is definitely correct, I just tested on two servers. Make sure to first remove the previous one, as well as only copy from line 3 – then it should work. Let me know.

    Best,
    Ernest Marcinko

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


    #16779

    Yep..You were right.User error of course. What I did wrong was only allow your code to run on front end of the website versus the whole entire thing. I’m using a special plug-in called code Snippets. Thanks again for all your help it’s now working magically.

    Attachments:
    You must be logged in to view attached files.
    #16781
    You cannot access this content. Best,
    Ernest Marcinko

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


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

You must be logged in to reply to this topic.