Add a new function, item_three with a Code Snippets plugin or by adding the below code to a new folder/file.php in wp-content/plugins/
<?php
/**
* Plugin Name: Item Three
* Description: Display the third item in a list.
*/
function item_three( $items ) {
$key = 2; // Items are zero-indexed. 2 is 3.
if ( array_key_exists( $key, (array) $items ) ) {
return $items[ $key ];
}
return ''; // Blank if there is nothing.
}
…then add item_three to the comma-separated list labeled Display callbacks allowed near the bottom of Pods Admin > Settings
The shortcode to display the third item of repeatable field field_name will now be:
[pods]{@field_name,item_three}[/pods]