Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Hi crosswire,

    My best suggestion would be to look at the customization guide and see where the various files are controlling which aspects of the workflow. Most likely the message is contained in there: http://businessdirectoryplugin.com/docs/customization-guide/

    Thread Starter crosswire

    (@crosswire)

    OK i figured it out. I’m stuck on one small issue though.

    I want to change the link that says return to listing that shows when form is filled. I want it to link back to directory.

    I found the code in the view-listing-contact.php right at the bottom but not sure how to change or implement the directory button there.

    What the code looks now:

    $html .= sprintf(‘<p>%s</p>’, get_permalink($listing_id), _x(‘Return to listing.’, ‘contact-message’, “WPBDM”));
    return $html;

    the directory button is following code
    <input type=”button” value=”<?php echo __(‘Directory’, ‘WPBDM’); ?>” onclick=”window.location.href = ‘<?php echo wpbdp_get_page_link(‘main’); ?>'” class=”button back-to-dir” />

    Thread Starter crosswire

    (@crosswire)

    I fixed it. I changed the existing code with a small snippet

    $html .= sprintf(‘<p>%s</p>’, wpbdp_get_page_link(‘main’), _x(‘Return to Directory.’, ‘contact-message’, “WPBDM”));
    return $html;

    Plugin Author Business Directory Plugin

    (@businessdirectoryplugin)

    Yep, that will do it. Glad you got it sorted.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Edit confirmation page when using form’ is closed to new replies.