WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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.