Support » Theme: P2 » changing wp directory breaks p2 javascript

  • I changed the directory wp sits in, now p2 stopped working, the javascript is no longer executed. in the pages source code i still find a reference to the old directory:

    var ajaxurl = “http://[domain]/[new directory]/wp-admin/admin-ajax.php”;
    var ptm_ajax_comments_defaults = {showForm : “”,disableForm : “checked”,activityImagePath : “http://[domain]/[old directory]/wp-content/plugins/ptm-ajax-comments/images/activity1.gif”,activeColor : “EEEEEE”,inac

    deleting p2 theme and reinstalling it didn’t help.
    any ideas, how i can solve this?
    Thank you!

  • The topic ‘changing wp directory breaks p2 javascript’ is closed to new replies.