Sindbad~EG File Manager

Current Path : /var/www/vhosts/espacio-publico.com/.vscode-server/data/User/History/11ba4dbf/
Upload File :
Current File : /var/www/vhosts/espacio-publico.com/.vscode-server/data/User/History/11ba4dbf/4UD5.php

<?php
/**
 * Template part for displaying posts
 *
 * @link https://codex.wordpress.org/Template_Hierarchy
 *
 * @package WordPress
 * @subpackage Twenty_Seventeen
 * @since 1.0
 * @version 1.2
 */


?>

<pre><?php echo __FILE__ ?></pre>\n<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

    
    <?php if ( '' !== get_the_post_thumbnail() && ! is_single() ) : ?>
        <div class="post-thumbnail">
            <a href="<?php the_permalink(); ?>">
                <?php the_post_thumbnail( 'twentyseventeen-featured-image' ); ?>
            </a>
        </div><!-- .post-thumbnail -->
    <?php endif; ?>

    <div class="entry-content">
        <div class="container">
            <?php
            the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
            $idPonente = get_post_meta(get_the_ID(), 'ponente', true);
            $user = get_user_by('id', $idPonente);
            if ($user) { 
                echo "<h3>".$user->first_name. " ".$user->last_name."</h3>";
            }

            $excerpt = has_excerpt(get_the_ID()) ? get_the_excerpt() : generar_excerpt_debate(get_the_content(), $nPalabras=30);
            echo "<p class='resumen'>$excerpt</p>";

            echo "<p class='url-debate'><a href='".get_permalink()."'>Leer ponencia completa</a></p>";

            $videoUrl = get_post_meta(get_the_ID(), 'video_video_url', true);
            $videoTxt = get_post_meta(get_the_ID(), 'video_video_name_home', true);
            if ($videoUrl && $videoTxt) {
                echo "<p class='url-video'><a href='$videoUrl' target='_blank'>$videoTxt</a></p>";
            }
            ?>

        </div>
    </div><!-- .entry-content -->

    <?php
    if ( is_single() ) {
        //twentyseventeen_entry_footer();
    }
    ?>

</article><!-- #post-## -->

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists