WordPress.org

Ready to get started?Download WordPress

Forums

get_permalink empty in ajax (1 post)

  1. 3dolab
    Member
    Posted 3 years ago #

    After upgrading WP to 3.0.1, my ajax contact form no longer works.
    I'm successfully using Enhanced WP-ContactForm in a separate page, but when including it in ajax calls, the form action which is set to get_permalink returns an empty string.

    My template ajax PHP loader page basically requires wp-load.php, then it runs get_page and do_shortcode on post_content.

    I used to require wp-blog-header.php, but when shifting from WP 2.9.2 it was throwing out 404 responses so I had to replace it with wp-load.php in order to retrieve the correct URL.

    Any help is welcome, even non-orthodox workaround advices!

Topic Closed

This topic has been closed to new replies.

About this Topic