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
<style type='text/css"> | |
#gform_fields_6 { | |
list-style-type: none; | |
margin: 25px 0 0 0; | |
padding: 0; | |
display: flex; | |
flex-direction: column; | |
} | |
#gform_fields_6 .gfield--type-radio { |
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 | |
add_shortcode( 'wp_doin_slider', 'wp_doin_slider_func' ); | |
/** | |
* @hook wp_doin_slider_func | |
*/ | |
function wp_doin_slider_func( $atts, $content = null ) { | |
?> | |
<script type="text/javascript"> | |
document.addEventListener('DOMContentLoaded', function() { |
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 | |
add_shortcode( 'wp_doin_slider', 'wp_doin_slider_func' ); | |
/** | |
* @hook slider_test | |
*/ | |
function wp_doin_slider_func( $atts, $content = null ) { | |
$atts = shortcode_atts( | |
array( | |
'ids' => '1,2,3,4', |
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> |