function enqueue_access_code_validation_script() { // Enqueue the JavaScript file from the 'js' folder wp_enqueue_script('access-code-validation', get_template_directory_uri() . '/js/access-code-validation.js', array('jquery'), '1.0', true); // Localize the script to pass PHP variables to JavaScript $script_data = array( 'formData' => $record['fields'], 'currentPostId' => get_the_ID(), 'correctCode' => get_post_meta(get_the_ID(), 'access-code', true) ); wp_localize_script('access-code-validation', 'accessCodeValidationData', $script_data); } add_action('wp_enqueue_scripts', 'enqueue_access_code_validation_script');

“Trout and Swallows” Recognized by The Oxford Company

trout and swallows tapestry

Each month, Amy Oxford of The Oxford Company has been requesting submissions of finished punch-needle rugs and wall tapestries.  My piece “Trout and Swallows” was the chosen submission for October.  Here is what appeared on their website: Punched Rug Contest Monthly Prize Winner Our Punched Rug Contest winner for October is Laura Berlage from Hayward, […]