Support » Plugin: Advanced Classifieds & Directory Pro » Submit Listing Success Message

  • Resolved vnkjoshi

    (@vnkjoshi)


    Hi, If Default new listing status is pending in that case after submitting the listing user should show the message on the same page like – “Your Ad has submitted and pending for review. After review, your Ad will be live for all users.”

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author pluginsware

    (@pluginsware)

    Hi,

    Open the below file,

    Root -> wp-content -> plugins -> advanced-classifieds-and-directory-pro -> includes -> functions-acadp-general.php

    In the above file search the following function

    acadp_get_listing_status_i18n

    In this function remove the below code:

    return $post_status->label;

    And add the following code:

    if( $post_status->label == ‘Pending’){
    return ‘Your Ad has submitted and pending for review. After review, your Ad will be live for all users’;
    } else {
    return ‘Published’;
    }

    Thanks

    Thread Starter vnkjoshi

    (@vnkjoshi)

    While using this method throwing error – HTTP ERROR 500

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Submit Listing Success Message’ is closed to new replies.