SHARE
TWEET

Untitled

a guest Feb 10th, 2013 255 Never
  1. <?php
  2.  
  3. // Get the latest variable from Pods URL
  4. $id = pods_url_variable('last');
  5.  
  6. // Define the params to find the Pods Item based on the $id
  7. $params = array( 'where' => 'permalink = "'.$id.'"' );
  8.  
  9. // Display it by using Pods Template
  10. echo pods( 'albums' )->find( $params );
  11.  
  12. ?>
RAW Paste Data
Top