class="shift-down"> ID, 'ghostpool_destination_user_id', true); $to_user = get_user_by('id', $to_user_id); $to_user_email = get_post_meta($post->ID, 'ghostpool_destination_user_email', true); $displayed_id = bp_displayed_user_id(); // Usuario actual puede ver la dedicatoria? if ($post->post_status == 'private') { if (($current_user->ID != $from_user_id) && ($current_user->ID != $to_user_id)) { continue; // me salto esta dedicatoria } } $contador += 1; $video = get_post_meta($post->ID, 'ghostpool_dedication_url', true); if ($_ishome) { if ($theme_homepage_not_repeat_videos) { // Si la URL del video ya ha salido en una dedicatoria anterior, me la salto if (in_array($video, $urls_video)) { continue; } } } $urls_video[] = $video; ?>
>
thumbnail-no-wrap"> <?php if(get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true)) { echo get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true); } else { echo get_the_title(); } ?>
ID, 'ghostpool_dedication_artist', true); $song = get_post_meta($post->ID, 'ghostpool_dedication_song', true); $to_user_id = get_post_meta($post->ID, 'ghostpool_destination_user_id', true); $to_user = get_user_by ('id', $to_user_id); ?>

ID, 24); ?> TO: ID); ?> TO: user_nicename; ?>