How can I stop WP from appending a URL to a link that calls a JS function?

I would like to call a JS function on the onClick() event. The problem is WP keeps adding the URL. The function doesn’t work because it results in a 404 error.

Thanks in advance.

Read more here:: How can I stop WP from appending a URL to a link that calls a JS function?

Leave a Reply

Your email address will not be published. Required fields are marked *