Last active
May 16, 2019 21:10
-
-
Save bph/34f717f159143381b782ec95bd527802 to your computer and use it in GitHub Desktop.
Block Lab: Team Member block display
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
<h2> | |
<?php block_field( 'first-name' );?> | |
<?php block_field( 'last-name' );?> | |
</h2> | |
<p><img class="teamphoto" src="<?php block_field( 'picture' ); ?>" | |
alt="<?php block_field( 'first-name' );?> | |
<?php block_field( 'last-name' );?> " width="150" style="float:left;padding:4px;margin;2px;"/> | |
<?php block_field( 'short-bio' ); ?></p> | |
<p><em>You can reach <?php block_field( 'first-name' );?></em> | |
<br/>via email <span><a href="mailto:<?php block_field( 'email-address' ); ?>"> | |
<?php block_field( 'email-address' ); ?></a></span> | |
or <br/> | |
via phone: <span><?php block_field( 'extension' ); ?></span></p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment