Viewing 1 replies (of 1 total)
  • Plugin Author David Aguilera

    (@davilera)

    You simply need to create a directory named neliofp in your theme and add a file there with the template for printing featured posts. For instance, posts-with-excerpt.php with the following contents (more or less):

    <?php
    global $post;
    ?>
    <article class="post-<?php echo $post->ID;
      ?> post type-post status-publish entry" itemscope="itemscope">
      <?php // Add image... ?>
      <h2 class="entry-title"><?php
         // Print the title here...
      ?></h2>
      <p><?php
         // Print the excerpt here...
      ?></p>
    </article>

    This is only a small example. If you look in our plugin’s source code, you’ll see a folder named template-examples. There you can take a look at the example named title-and-featured-image.php and add the excerpt at the end (adding the <p>...</p> tag right before closing the article tag).

    I hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Show post Excerpt text’ is closed to new replies.