• Resolved Louismoore20

    (@louismoore20)


    How can I add a preview to a blog post to a blog page? For example something like this on the blog page:

    Post name
    Date
    Picture
    Preview
    Read more

    Then on the blog post page:
    Post name
    Date
    Picture
    Blog content

    At the moment it’s displaying all of the blog on the blog page and I want it to just display a brief preview of the block, perhaps the description, and then to display all of the blog in the blog post page.

Viewing 1 replies (of 1 total)
  • I don’t know to do what you said at the beggining…
    But to display just an little block from your post content, you have to use the WordPress Excerpt feature.

    This is the more simple solution : (mandatory to do this action for each post)

    Paste :
    <!--more-->
    into you post where you want your post excerpt to stop.
    A “Read more” link will appears that will allow user to click to read all the post content.

    And this is the cleaner solution : (do it one time, then all posts done at once)

    Edit your index.php file and look for a line of code that contains :
    the_content();
    and replace by :
    the_excerpt();

Viewing 1 replies (of 1 total)
  • The topic ‘Preview to blog’ is closed to new replies.