-
-
Save billerickson/6398486 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 | |
/** Add Project Information After Content */ | |
add_action ( 'genesis_sidebar', 'mmi_sing_project_side' ); | |
function mmi_sing_project_side() { | |
echo '<div class="mmi-sidebar">'; | |
echo '<section class="widget">'; | |
echo '<h4 class="widgettitle">Participate In This Project</h4>'; | |
$participants = get_post_meta(get_the_ID(), 'participants_needed', false); | |
echo implode( ', ', $participants ); | |
echo '</section>'; | |
echo '</div>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment