WordPress.org

Ready to get started?Download WordPress

Forums

BlogoLife
[resolved] Show only summary on home page (35 posts)

  1. ctec67
    Member
    Posted 2 years ago #

    Hello,

    Is there a way to show a summary of posts on the home page only instead of the full posts?

    Thank You!

    Sincerely
    Carola

    http://wordpress.org/extend/themes/blogolife/

  2. ctec67
    Member
    Posted 2 years ago #

    Actually is there a setting so all posts show only a summary?

  3. sacredpath
    Member
    Posted 2 years ago #

    I've used method 2 shown here but I don't know if there have been any changes with 3.3, so you would have to proceed with caution. There are also instructions in the codex here, but they have not been updated in a while.

  4. ctec67
    Member
    Posted 2 years ago #

    Hello "sacredpath"

    I edited the content.php with
    <?php the_excerpt(); ?>
    " title="Read the rest of <?php the_title(); ?>
    " class="more-link">Read the rest of this entry »

    but now I can't read the rest of the entry.. any chance you can help?
    http://www.earndollarsnotpennies.com

    Thank You!

    Sincerely
    Carola

  5. sacredpath
    Member
    Posted 2 years ago #

    Put the code in and then higlight it and click the "code" button so that it isn't interpreted by the forum software.

  6. ctec67
    Member
    Posted 2 years ago #

    <?php the_excerpt(); ?>
    <a href="<?php the_permalink(); ?>" title="Read the rest of <?php the_title(); ?>
    " class="more-link">Read the rest of this article »</a>

    Sorry about that!

  7. sacredpath
    Member
    Posted 2 years ago #

    What file did you put that in?

  8. ctec67
    Member
    Posted 2 years ago #

    content.php

    as the index.php nor the category.php have <?php the_content('Read the rest of this entry »'); ?>

  9. sacredpath
    Member
    Posted 2 years ago #

    OK, content.php would affect everything which is why it is changing the content everywhere.

    Can you use http://pastebin.com/ and paste the content of the category.php file?

  10. ctec67
    Member
    Posted 2 years ago #

  11. sacredpath
    Member
    Posted 2 years ago #

    I might have hit a wall. Can you post the archive.php to pastebin.com?

  12. ctec67
    Member
    Posted 2 years ago #

    I would if I could find one lol

  13. ctec67
    Member
    Posted 2 years ago #

    nope... this theme does not have an archive.php .. search results 0

  14. sacredpath
    Member
    Posted 2 years ago #

    You might look around in functions.php and see what you find in there.

  15. ctec67
    Member
    Posted 2 years ago #

    http://pastebin.com/w23M93rr

    Honestly not even sure what to look for.. editing
    the content.php sure looked promising.. but :(

    sacredpath many thanks for your help!

    I will be logging off for tonight.

    Sincerely
    Carola

  16. sacredpath
    Member
    Posted 2 years ago #

    Carola, sorry I hit a wall, but I am to PHP as a hammer is to a precision timepiece. I can typically muddle my way through, but it is sometimes painful to watch.

    Have you thought of contacting the theme designer to ask where to put the code?

    You are welcome for the little bit I was able to provide.

  17. sacredpath
    Member
    Posted 2 years ago #

    You know, did you look at index.php? I got carried away sadly and see that you wanted it only on the home page, which typically is built off of index.php.

  18. ctec67
    Member
    Posted 2 years ago #

    Hello,

    I was hoping the theme designer watches these threads, but will try to find him somehow else.

    Yes, first I posted just on the home page, but mentioned later that actually all posts should be just showing a summary.

    And yes, I tried the index.php.. couldn't find anything there either.

    But I won't give up and once I do have a solution I will post it here.

    I really appreciate you trying to help me. Thank You! :)

    Sincerely
    Carola

  19. sacredpath
    Member
    Posted 2 years ago #

    You are welcome and thanks in advance for posting the solution.

  20. bullock269
    Member
    Posted 2 years ago #

    I too have noticed that you can't just display a summary of your posts on the front page.

    I've used the option under SETTINGS --> READING --> "For each article in a feed, show..." and selected "Summary"...

    But it goes right on displaying the full post.

    If anyone has any suggestions or even the same issue I would appreciate hearing about it.

    Maybe it's by design, but I've not noticed this anywhere.

    Many thanks and sorry to jump on this post, but it seems to be the same issue as mine if I'm reading correctly.

  21. ctec67
    Member
    Posted 2 years ago #

    Yes seems to be the same issue.. still have not found a way to just show summary at all.. hopefully the programmer will read this thread eventually and give us an idea :)

    Happy 2012!

  22. bullock269
    Member
    Posted 2 years ago #

    Yeah Fingers crossed! I keep going through my config (I'm no scripting guru) and hoping I'm not just being blind and missing some obvious option, but when I saw your post I felt somewhat relieved.

  23. ctec67
    Member
    Posted 2 years ago #

    Hello,

    Could we get an answer to this if at all possible? Please :)

    Sincerely
    Carola

  24. joakimstockman
    Member
    Posted 2 years ago #

    I have a solution that I think works perfectly. You can see the result if you go to http://www.joakimstockman.com. When you see the steps you have to take it might sound more complicated than it is, but that's only because I wanted to be super thorough in my explanation. It really doesn't take more than 10 minutes all in all, and I think anyone will be able to follow these simple instructions.

    Step 1.

    Create a new page called "Home" (or what ever you want to name your homepage). Leave it completely blank except for the title.

    Step 2.

    Install the plug in "Pages Posts" by Rich Gubby. This plug in lets you automatically add posts to a specific page based on Category.

    Step 3.

    Go to the "Pages Posts" settings (found in "Settings") and set up your new "Home" page to display posts from "All Categories". Select to display "Excerpt only" in the setting "Excerpt or Full post". Select the number of posts you want on your homepage and set to display as homepage.

    Step 4.

    Under Appearance -> Menus: Create a custom menu where your new "Home" page is the first page (if you want a traditional and user friendly top navigation) and select all the other pages you want as part of your top navigation and save it.

    Step 5.
    Under Appearance -> Menus: In the top left corner "Theme Locations" you select your newly created menu instead of the "WPLOOK Main Menu" and save. This replaces the default menu with your new custom menu.

    Step 6.

    Create a permananet (301) redirect from your domainname.ex to domainname.ex/home.

    In my case I set the permanent redirect on http://www.joakimstockman.com so that all users immediately land on http://www.joakimstockman.com/home instead.

  25. ctec67
    Member
    Posted 2 years ago #

    Hello joakimstockman,

    I did mine a little different, but it certainly worked great :)

    Thank you so much for posting the work-around!

    Sincerely
    Carola

  26. Darth269
    Member
    Posted 2 years ago #

    Joakimstockman... Awesome man thanks! It took me a while at 0550am to get my head around it but I think I've cracked it!

    It's a shame that the site doesn't just allow it, but i'm contented with the workaround for now.

    Many thanks again buddy!

    My site looks a little better now!

  27. Pete_PT
    Member
    Posted 2 years ago #

    This worked on my theme LIND

    Look for a post.php file.

    Change:

    <?php the_content('');

    to

    <?php the_excerpt('');

  28. webtouch
    Member
    Posted 2 years ago #

    awesome fix, but i have this " /> showing up at the top left of my site http://www.webtouchselling.com how can i remove this?

  29. webtouch
    Member
    Posted 2 years ago #


  30. designecho
    Member
    Posted 2 years ago #

    @webtouch, I like what you did to your homepage post teaser/excerpt. That is exactly what I want to do to my site but the plugin is not working properly. I got some strange error < *Error contact member...>.

    Can you tell us how you did it?

    I'll really appreciate the help.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags