Skip to content

Instantly share code, notes, and snippets.

@daronspence
Last active June 1, 2016 23:09
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save daronspence/f714ab95aa16e58f615a8a589da8ce47 to your computer and use it in GitHub Desktop.
<?php
// Put this inside of the widget template file for ACFW
// You could also just add this stuff to the template file for your sidebar. Same thing essentially :)
// Note, none of this has been tested! You have been warned! :)
$department = get_user_meta('fire_department', wp_get_current_user()->ID );
$federal_id = get_user_meta('federal_id', wp_get_current_user()->ID );
$spreadsheet_url = get_user_meta('billing_spreadsheet_url', wp_get_current_user()->ID );
?>
<div>Department: <?php echo $department; ?></div>
<div>Federal ID: <?php echo $federal_id; ?></div>
<div>
<a href="<?php echo $spreadsheet_url; ?>">Billing Spreadsheet</a>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment