How to give the source location path in the jquery code, where my file is in cah-new/wp-content/themes/theme_name/includes/func.php and i have to give that path in the jquery code

$.get(\"func.php\", {

kindly help me, thanks in advance

1 Answer 1

$.get('<?php echo get_bloginfo('template_url')?>/includes/func.php', {

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.