WordPress.org

Support

Support » Themes and Templates » Hiero » Full Post, Read More & Show Preview image

Full Post, Read More & Show Preview image

  • kotoconk

    @kotoconk

  • How to show full post
  • Edit content.php
    Look for this

    <?php if ( $at_options['posts_mode'] == 'posts_excerpt' ) : ?>

    And change the word EXCERPT by CONTENT
    This will be the result

    <?php if ( $at_options['posts_mode'] == 'posts_content' ) : ?>

  • How to add Read more without showing full post
  • Edit content.php
    Do NOT change EXCERPT by CONTENT
    Add this

    <a href="<?php echo get_permalink(); ?>"> Read More...</a>

    Over here

    <!-- .entry-content --></div>
    <a href="<?php echo get_permalink(); ?>"> Read More...</a>
    <?php endif; ?>
    <footer class="entry-meta entry-footer">

    or add inside of the <div>, where you want it to appear.

  • Show an image in the excerpt
  • Set a Featured Image
    “Featured Image” metabox will be visible on the on the Edit Post and Edit Page screens. If it isn’t, make sure “Featured Image” is enabled in the screen options on the top right.
    http://codex.wordpress.org/Post_Thumbnails#Setting_a_Post_Thumbnail

  • The topic ‘Full Post, Read More & Show Preview image’ is closed to new replies.
Skip to toolbar