Forum Replies Created
02/10/2019 at 2:56 pm in reply to: Split Categories – hide categories in select dropdown #484319
I figure dout that I needed to set
but I still have the original problem02/09/2019 at 6:13 pm in reply to: Split Categories – hide categories in select dropdown #484150
so I am using this shortcode:
[connections show_org='FALSE' show_image='TRUE' category=32 enable_category_by_root_parent='TRUE' show_addresses='TRUE' show_phone_numbers='TRUE' show_email='TRUE' str_select="Select Region" str_select_all="Show All Regions" show_empty_categories='FALSE' str_contact="Contact" str_home_phone="tel" str_cell_phone="mobile" str_work_phone="tel" str_personal_email="@" str_work_email="@" contact_name_format="%first% %last%" addr_format="%line1% %line2% %line3% %city%, %zipcode% %country%" background_gradient='FALSE' background_color="#fefefe" str_note_head="About my practice"]
to produce this page: https://www.jungiananalysts.org.uk/find-an-analyst/
But I want the dropdown menu to show categories from the root category “35”
Thanks! That’s really helpful.
Thanks all working now. Have not yet been able to figure out how to have a different Reply-To to From. but not essential.
I would like to do the following:
- Change the ‘from’ parameter to the static ‘firstname.lastname@example.org’
- Have a reply-to field which is populated by the email address of the person filling out the form.
I tried to do it like this, but I am a novice…
// Set email to be sent as HTML. $email->HTML(); // Set from whom. $email->from( sanitize_email('email@example.com'), sanitize_text_field( 'Ludgate Hill Psychotherapy' ) ); //Set reply to. $email->reply( sanitize_email( $_POST['email'] ), sanitize_text_field( $_POST['name'] ) ); // Set to whom. $email->to( $sendTo, $entry->getName() );
Thanks that worked. The form is now sending emails correctly. I would like to change the “sent from”and the “reply to” fields so that the emails don’t register as suspicious but allow recipients to reply directly to the sender. I will look at this today.
Thanks for the swift response. I manage to get all the way through the update process, but then I test Contact and it still does not work. I then reload the plugins page and find that the plugin has not updated. See the attached images.
That’s fantastically helpful.
Will this new function allow me to Filter on Custom Field?
NEW: Introduce the cn_search_like_shortword filter.