Home Forums Square Preview of Blogs on Blog Page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #406
    LuLaRoeMarcie
    Participant

    Hello,

    I would like my Blog page to just provide samples of each blog, so people have to click on the title to read the entire blog post. I went into Settings>Reading and chose summary for the blog posts, but it’s still showing the full blog post on the blog page. Can you please help me? My website is http://www.buylularoeonline.com.

    Thanks!
    Marcie

    #407
    Hash
    Keymaster

    Hi,

    Please check this tutorial http://www.wikihow.com/Add-Read-More-to-Wordpress
    It should help you to show expert instead of full post in the blog page.

    #432
    LuLaRoeMarcie
    Participant

    This didn’t work – can you please let me know what else I should do? Thanks!

    #434
    Hash
    Keymaster

    It should work. It is the only available way and is the default feature of the WordPress.

    #440
    LuLaRoeMarcie
    Participant

    It’s not working, and I think it must be something with the comment.php file since that is what this link is saying for the Twenty Fifteen theme.

    https://wordpress.org/support/topic/wont-show-summary-only-full-post-on-home-page-posts

    This is what I have for content.php right now:

    <?php
    /**
    * Template part for displaying posts.
    *
    * @package Square
    */

    ?>

    <article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>

    <figure class=”entry-figure”>
    <?php
    if(has_post_thumbnail()):
    $square_image = wp_get_attachment_image_src( get_post_thumbnail_id() , ‘square-blog-thumb’ );
    ?>
    “>” alt=”<?php echo esc_attr( get_the_title() ) ?>”>
    <?php endif; ?>
    </figure>

    <div class=”sq-post-wrapper”>
    <header class=”entry-header”>
    <?php the_title( sprintf( ‘<h2 class=”entry-title”>‘, esc_url( get_permalink() ) ), ‘</h2>’ ); ?>

    <?php if ( ‘post’ === get_post_type() ) : ?>
    <div class=”entry-meta”>
    <?php square_posted_on(); ?>
    </div><!– .entry-meta –>
    <?php endif; ?>
    </header><!– .entry-header –>

    <div class=”entry-content”>
    <?php
    the_content( __( ‘Continue reading →’, ‘square’ ));
    ?>

    <?php
    wp_link_pages( array(
    ‘before’ => ‘<div class=”page-links”>’ . esc_html__( ‘Pages:’, ‘square’ ),
    ‘after’ => ‘</div>’,
    ) );
    ?>
    </div><!– .entry-content –>

    <footer class=”entry-footer”>
    <?php square_entry_footer(); ?>
    </footer><!– .entry-footer –>
    </div>
    </article><!– #post-## –>

    #441
    LuLaRoeMarcie
    Participant

    Nevermind. I just installed Easy Custom Auto Excerpts plugin and that worked. Case closed.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.