-
-
Save surefirewebserv/ed66ba01ce3cd6519ef7 to your computer and use it in GitHub Desktop.
This file contains 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 /* | |
Template Name: Testing | |
*/ | |
remove_action( 'genesis_entry_content', 'genesis_do_post_content'); | |
add_action( 'genesis_entry_content', 'sf_new_post_content'); | |
function sf_new_post_content() { | |
$company_description = do_shortcode('[types field="company-description" class="" style=""][/types]'); | |
$location = do_shortcode( '[types field="check-box" class="" style=""][/types]' ); | |
if ($location == 1) { | |
$industry = do_shortcode('[types field="random-string" class="" style=""][/types]' ); | |
} else { | |
$industry = ""; | |
} | |
$basicJob = '<p>' . $location . '</p><p>' . $industry .'</p>'; | |
echo $basicJob; | |
} | |
genesis(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment