New Listing is Added Message After Submission


After testing my set up, I submitted a site from the front end and ended up with a blank screen. It said in the URL (See below) the submission was successful but I'd rather it redirect to another page. How do I do that?!

  • Vinod Dalvi
    • WP Unicorn

    Hi @James,

    I hope you are well today and thank you for your question.

    Unfortunately there isn't any plugin option to change it but you can do it by editing line number 104 in the page directory/core/main.php as following.
    Before Editing:
    wp_redirect( add_query_arg( array( 'updated' => 'true', 'dmsg' => urlencode( __( 'New Listing is added!', $this->text_domain ) ) ), get_permalink($this->my_listings_page_id) )
    After Editing:
    wp_redirect( '' );

    Change the above page URL to whatever URL you want to.

    I will move this over to the features & feedback section. This way it can be considered for future development, and we can also see what other community members think about the feature request.

    Best Regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.