Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

up vote 1 down vote accepted
$.get('<?php echo get_bloginfo('template_url')?>/includes/func.php', {
share|improve this answer
    
ThankQ Rajeev...... it worked..... –  Solomon Henry Apr 14 '12 at 6:58
    
@SolomonHenry You can accept the answer..... –  Rajeev Vyas Apr 14 '12 at 6:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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