Skip to content

Instantly share code, notes, and snippets.

@autarch
Created July 27, 2013 15:30
Show Gist options
  • Save autarch/6095164 to your computer and use it in GitHub Desktop.
Save autarch/6095164 to your computer and use it in GitHub Desktop.
<?php
$id = pods_var( 'last', 'url' );
$tag = $GLOBALS['Pods_TAG'] = pods( 'volunteer_opportunity_tag', $id, true );
echo "ID = " . $id . ", TOTAL = " . $tag->total(). ", FOUND = " . $tag->total_found(), ", EXISTS = " . $tag->exists();
$GLOBALS['Pods_TITLE'] = $tag->display('title') . ' Volunteer Opportunity';
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment