...read more?

Discussion in 'Blogging' started by Captain Tycoon, Dec 31, 2007.

  1. #1
    I've used the "More Tag" and it works nicely, but I'm looking for something which is more automatic so I wouldn't have to edit all the posts to have the "read more...". Plus, to limit the post to show a maximum amount of characters before the "read more..." is shown. I want it to show only PART of the post on the Index and to show read more. At the moment, It shows the full post on index page.

    I have tried using the option to show "Summary" of the post and it doesn't do anything.

    Is there anything which will show a maximum amount of characters of the post on the index?
     
    Captain Tycoon, Dec 31, 2007 IP
  2. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #2
    mizaks, Dec 31, 2007 IP
  3. Woody10

    Woody10 Well-Known Member

    Messages:
    170
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    115
    #3
    How do you use it? I activated it but don't see any options etc or documentation from that link.
     
    Woody10, Dec 31, 2007 IP
  4. Captain Tycoon

    Captain Tycoon Active Member

    Messages:
    257
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    60
    #4
    I have the same question too :(
     
    Captain Tycoon, Dec 31, 2007 IP
  5. Captain Tycoon

    Captain Tycoon Active Member

    Messages:
    257
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    60
    #5
    Are there any other mods/plugins?
     
    Captain Tycoon, Jan 1, 2008 IP
  6. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #6
    In your index.php or home.php replace:

    <?php the_content(); ?>
    Code (markup):
    with

    <?php the_excerpt_reloaded(); ?>
    Code (markup):
    More information about some additional parameters for it are HERE.
     
    mizaks, Jan 1, 2008 IP
    Captain Tycoon likes this.
  7. Captain Tycoon

    Captain Tycoon Active Member

    Messages:
    257
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    60
    #7
    Thanks, I'm going to try this as soon as possible and let you know how it goes!
     
    Captain Tycoon, Jan 1, 2008 IP
  8. Captain Tycoon

    Captain Tycoon Active Member

    Messages:
    257
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    60
    #8
    It works like a charm! Cheers! + Rep Given!
     
    Captain Tycoon, Jan 1, 2008 IP
  9. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #9
    Glad to hear you got it working!
     
    mizaks, Jan 1, 2008 IP
  10. Captain Tycoon

    Captain Tycoon Active Member

    Messages:
    257
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    60
    #10
    Do you by any chance know how i can make it allow the <br /> tags? At the moment, all the text is one paragraph and does not use the <br /> tags.
     
    Captain Tycoon, Jan 2, 2008 IP
  11. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #11
    It has an 'allowed tags' parameter. Try:

    <?php the_excerpt_reloaded('<br />'); ?>
    Code (markup):
     
    mizaks, Jan 2, 2008 IP