Text previews on home page

Viewing 6 posts - 1 through 6 (of 6 total)
  • #13863
    BuoyancyProject
    Participant

    Hi,

    On the home page of my site, I would like for each post to preview the text, rather than show the full text. This seems to be happening in the Pinboard demo, so I’m thinking that it should be a relatively easy thing to do.

    Here’s my site: http://buoyancyproject.com/
    Here’s the demo: http://demo.onedesigns.com/pinboard/

    Notice how on my site the test post displays the full text, rather than a preview. I know that I could add a More tag to the post, but once it’s pushed down into the grid, problems would arise as the grid should have shorter text previews. Is there any way to turn text previews on for the home page, like you did on the demo?

    Additionally, I would like to have all of the previews formatted just like the posts themselves (notice how the spaces between paragraphs are deleted in the home page previews). Is there any way to do that?

    Thanks in advance for the help. Let me know if you need any more details and I’ll be more than happy to provide them.

    #13872
    studentshared.com
    Participant

    I don’t really know, but there seems to be an option in Appearance -> Theme Options and under the general tab you have the option to change the number for “Full posts to display”, maybe this will solve the problem if you set 0.

    EDIT: No, that’s not it πŸ™ sorry

    #13873
    BuoyancyProject
    Participant

    That’s definitely a good idea, but I tried it yesterday and it didn’t work. All it did was turn the entire homepage into a grid, which is not what I’m looking for.

    #13874
    studentshared.com
    Participant

    maybe if you select “summary” rather than “full text” in Settings -> Reading, for me it doesn’t do anything, but you can try

    #13953
    BuoyancyProject
    Participant

    Yeah that doesn’t seem to work. I do appreciate the help though. I’m just confused as to how they got it to work in the preview…

    #13954
    BuoyancyProject
    Participant

    Just fixed it. Here’s what you need to do if you have this problem. Go into Appearance -> Editor and select each “content” post type that you want to display a preview. For it to display the preview, you should find the first option in the code:

    http://wordpress.org/support/topic/wordpress-excerpt-override#post-4062070

    For it to display the full content, you’ll find the second option:

    http://wordpress.org/support/topic/wordpress-excerpt-override#post-4062070

    You can substitute these as you like, but I set all of my post types to display a preview. However, if you would want to display the full content, simply replace all excerpt codes with the content code.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.