• Resolved supaiku

    (@supaiku)


    I am running into two problems:

    1. the template override doesn’t seem to function as described here:
    https://docs.businessdirectoryplugin.com/themes/customization.html

    When adding the template under to wp-content/themes/<active WP theme>/business-directory/<template name>.tpl.php , which works when replacing the original, it doesn’t seem to override.

    2. When I do add a template as an input or textarea (I tried both), it is not send in the email with the post for some reason, but it’s a bit obtuse how to change that.

    I’m not much of a coder but…

    I notice the post request goes through wpbdp_url, but it seems to just return the listing url…

    So then maybe it goes through listing_contact.php?
    but that gets a bit complex.

    I guess adding a “phone number” field to the contact form requires customizing/re-writing some of the files?
    Is it primarily the changes to listing_contact.php to get it to accept and treat the newly added form field?

    Thank you,
    CJ

Viewing 1 replies (of 1 total)
  • Plugin Support bobbied

    (@bobbied)

    Hi CJ,

    I’m sorry to hear that you ran into issues with this!

    I haven’t seen an issue with the template overrides working properly — you could be seeing old data on your browser.

    We recommend clearing the server cache, if you have one (which is found either in your hosting settings or on your plugin settings for things like WP Super Cache and W3TC if you have them installed), as well as your client browser cache.

    The best way to get uncached data on your browser is to use a Private browsing window or Incognito mode (depending on your browser). That ensures you’re seeing the latest, correct data.

    As for adding the phone number to the contact field, we have the instructions for that here: https://businessdirectoryplugin.com/knowledge-base/add-phone-number-to-listing-contact-form/

Viewing 1 replies (of 1 total)
  • The topic ‘Adding field (phone number) to Listing Contact Form’ is closed to new replies.