Advertisement
Guest User

Untitled

a guest
Oct 27th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. <ul class="home-starting-player-list clearfix">
  2. <?php
  3.  
  4. $home_starting_player_names = rwmb_meta( 'pb_home_starting_player_options', array( 'multiple' => true ) ); ?>
  5.  
  6. <?php
  7. foreach ( $home_starting_player_names as $home_starting_player ){?>
  8. <li role="presentation">
  9. <aside class="starting-player-image"><?php echo get_the_post_thumbnail($home_starting_player); ?></aside>
  10. <aside class="starting-player-name"><?php echo get_the_title($home_starting_player); ?></aside>
  11. <aside class="starting-player-number"><?php print_r( get_post_meta($home_starting_player)); ?></aside>
  12. <?php }
  13. ?>
  14. </ul>
  15.  
  16. Array ( [_edit_last] => Array ( [0] => 1 ) [_edit_lock] => Array ( [0] => 1477590099:1 ) [pb_squad_number] => Array ( [0] => 10 ) [pb_player_date_birth] => Array ( [0] => 2016-09-02 ) [pb_player_height] => Array ( [0] => 175cm ) [_thumbnail_id] => Array ( [0] => 3110 ) [post_views_count] => Array ( [0] => 0 ) [pb_select_player_name] => Array ( [0] => 3356 ) [pb_select_team] => Array ( [0] => 3295 ) )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement