This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.wpcf7-form label { | |
width: 100%; | |
display: flex; | |
padding: 10px 0; | |
flex-direction: column; | |
} | |
.wpcf7-form-control { | |
padding: 10px !important; | |
border-radius: 10px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="c-custom-contact-form-7"> | |
<div class="c-custom-contact-form-7__overlay"> | |
✉️ <a href="mailto:[email protected]">[email protected]</a> | |
</div> | |
<h2> Contact Us </h2> | |
<div class="c-grid"> | |
<label> Your name | |
[text* your-name] </label> | |
<label> Your email |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Assuming $entry is already defined as in your previous code | |
echo '<table border="1">'; | |
echo '<tr>'; | |
echo '<th>ID</th>'; | |
echo '<th>Date Created</th>'; | |
echo '<th>Testing Field</th>'; | |
echo '<th>Second Choice</th>'; | |
// Add more <th> elements for additional fields as needed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
foreach ($entry as $entry_data) { | |
if ($entry_data[3.1] === 'First Choice') { | |
echo '<p>This entry has the first choice selected:</p>'; | |
// Additional code for displaying other fields or custom formatting | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
foreach ( $entry as $entry_data ) { | |
echo '<p>Testing Field: ' . $entry_data[1] . '</p>'; | |
echo '<p>Second Choice: ' . $entry_data[2] . '</p>'; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$form_id = '1'; | |
$entry = GFAPI::get_entries( $form_id ); | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="c-grid"> | |
<div> | |
<label> Your name | |
[text* your-name] </label> | |
<label> Your email | |
[email* your-email] </label> | |
</div> | |
<div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.c-grid { | |
display: grid; | |
grid-template-columns: auto auto; | |
gap: 20px; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Trigger WooCommerce order email programatically. | |
* | |
* @param INT order_id - WooCommerce WC_Order order id | |
*/ | |
function prefix_send_woocommerce_order_emails( $order_id ) { | |
$wc_emails = WC()->mailer()->get_emails(); | |
if ( empty( $wc_emails ) ) return; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.addEventListener("DOMContentLoaded", function () { | |
const player = document.getElementById("bunny"); | |
const container = document.getElementById("container"); | |
const scoreWrap = document.getElementById("score"); | |
const impactSound = document.getElementById('impact'); | |
const impactSoundBunny = document.getElementById('impact-bunny'); | |
const musicSound = document.getElementById('music'); | |
const musicBtn = document.getElementById('music-btn'); | |