contact form and WP loop
contact form and WP loop
contact form and WP loop
I’m needing to figure out how to create a page that user could create a “task” and it be selectable on a form
There is a typo: Use below statement under save_appointment function //indexes are case sensitive, note the capital ‘D’ $aptDate = wp_strip_all_tags($_POST[“aptDate”]); instead of $aptDate = wp_strip_all_tags($_POST[“aptdate”]);
There are other issues in your code or the $form_args array items, but the main ones are: The blank page is due to missing hidden comment fields for replying to comments — see get_comment_id_fields(), where the fields are in the submit_field arg by default. So to quickly fix that, add %2$s in that arg like … Read more
Sliding Register – Login Forms
wp_enqueue_scripts action is not meant to add PHP code to your page. It is used to add JS scripts. https://developer.wordpress.org/reference/hooks/wp_enqueue_scripts/ wp_enqueue_scripts is the proper hook to use when enqueuing scripts and styles that are meant to appear on the front end. Despite the name, it is used for enqueuing both scripts and styles. If you … Read more
You’re trying to combine isset with a value comparison, and that’s not how it works. You should rewrite this: if(isset($_POST[‘Client_Type_Edit’]) == ‘Individual’) to this: if ( isset( $_POST[‘Client_Type_Edit’] ) && ‘Individual’ === $_POST[‘Client_Type_Edit’] ) This is checking to make sure that $_POST[‘Client_Type_Edit’] is set AND the value is equal to “Individual”. Now repeat that for … Read more
How to change this ajax function to submit to the default wordpress content area instead of the custom field ‘seller notes’?
“Class Not Found” in HTML Form Target PHP File that contains the class
It is not right location.href = “#modal”; when you need to change hash you need to use window.location.hash=”modal” but you have another problem! You need to initialize your plugin and use its api Instead of this location.href = “#modal”; you need to use: var inst = jQuery(‘[data-remodal-id=modal]’).remodal(); inst.open()