Minientradas

Añadir contenido a la página asignada como Blog, index.php


        <?php
          /* If a page has been assigned to display posts. query for that pages data and create a custom loop. */
          $posts_page_id = get_option( 'page_for_posts' );
          
          if ( ! empty( $posts_page_id ) ) {
          
            $posts_page = get_post( $posts_page_id );
          
            if ( isset( $posts_page->ID ) ) {
          
              $_post = $post;
          
              $post = $posts_page;
          
              setup_postdata( $post );
          
              echo get_the_post_thumbnail($post->ID, 'horizontal');
              
              $post = $_post;
          
            }
          
          }
        ?>

fuente wp-questions