1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Wordpress Summary Post Plugin

Discussion in 'WordPress' started by ken123, Feb 25, 2008.

  1. #1
    Instead of the the whole content of the post, are there any good summary post plugin for Wordpress? Thanks.
    SEMrush
     
    ken123, Feb 25, 2008 IP
    SEMrush
  2. xxMirceaxx

    xxMirceaxx Well-Known Member

    Messages:
    917
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    135
    #2
    are you looking for the 'more' function that takes you to the full post once you click it by any chance? check editor -> code editor -> click 'more'
     
    xxMirceaxx, Feb 25, 2008 IP
  3. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes just do as said above there is a button the the visual editor toolbar which does this for you no need for plugins it is already there
     
    wd_2k6, Feb 25, 2008 IP
  4. ken123

    ken123 Peon

    Messages:
    527
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Sorry, I did not make myself clearly. I was looking for something that I can implement automatically without adding the more options every time I create a post. Thanks.
     
    ken123, Feb 25, 2008 IP
  5. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Sorry, i think if you go into index.php file and change the_content() to the_excerpt() it will automatically limit it to the first 55 words every time.
     
    wd_2k6, Feb 25, 2008 IP
  6. ken123

    ken123 Peon

    Messages:
    527
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Do I need to add contents to my excerpt when I am posting a new topic? Thanks.
     
    ken123, Feb 25, 2008 IP
  7. wd_2k6

    wd_2k6 Peon

    Messages:
    1,740
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #7
    i'm not sure what you mean, if you change the_content to the_excerpt on whatever file you want to do it on say index.php then it should automatically summarise a new topic to 55 words on your index.php.
     
    wd_2k6, Feb 25, 2008 IP
  8. mhmtozek

    mhmtozek Peon

    Messages:
    380
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Open your theme folder, and open your index.php file with a text editor software (for instance notepad)

    Fine the_content text there, and replace it with the_excerpt.
     
    mhmtozek, Feb 25, 2008 IP
  9. ken123

    ken123 Peon

    Messages:
    527
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Thanks I got it now. The only problem is that:
    Instead of just the text[...], can I have the link to the topic on the [...]?
    Thanks.
     
    ken123, Feb 25, 2008 IP
  10. ken123

    ken123 Peon

    Messages:
    527
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Actually, what I want to do is:

    Main Page:

    topic #1
    ........[] // from the_excerpt()

    topic #2
    ........[] // from the_excerpt()

    topic #n
    ........[] // from the_excerpt()

    when the user click the topic #1, it will bring up the topic #1 again (same as before), and the actual link.

    For example, the new page will have the following:

    topic #1
    ............[]

    Read Full article: link (this link will point to the actual link)

    How can I achieve the above scheme? Thanks.
     
    ken123, Feb 25, 2008 IP
  11. mhmtozek

    mhmtozek Peon

    Messages:
    380
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    #11
    There are two solutions.

    1- Use the_excerpt(), but right after that add permalink template tag.

     <?php the_excerpt(); ?> <a href="<?php the_permalink(); ?>">Read More</a> 
    Code (markup):
    But; there is a disadvantage of using the_excerpt. This function is removing any type of format that you applied to your text. Summary wouldn't contain any image, link, list.

    2- There is a great wordpress plugin, that allows you to format your summary, set word count to be displayed and add read more to the end of summary.

    Here is the download link: http://guff.szub.net/downloads/the-excerpt-reloaded.zip

    Once you downloaded the plugin, extract and upload it to your wp-content>plugins folder. Then login your admin area, choice plugins from the tab menu and activate the_excerpt reload plugin.

    Then you need to go back to your index.php file in your themes folder again. replace

    <?php the_excerpt() ?> with the folllowing
    <?php the_excerpt_reloaded(50, '<img><div>', 'none', TRUE, '[Read On...]', TRUE); ?>

    What the things between brackets means?
    <?php the_excerpt_reloaded(excerpt_length, 'allowedtags', 'filter_type', use_more_link, 'more_link_text', force_more_link, fakeit, fix_tags); ?>

    Here you will need to edit only three things:
    excerpt_length; that is set to 50 words, change it according to your wish how many words you want to display as summary.

    allowedtags; I set only images and links to be displayed on the summary, you can expand the list by adding <ul><li><blockquote><strong> tags next to <img><a>

    [Read On...]; Some people like to display continue reading, some display read more. I dont know what you want to display as more text- So edit it as you like.

    Hope this helps, let me know if you need more explanation (I might miss the subject, pm if no response for long time)
     
    mhmtozek, Feb 26, 2008 IP
    ken123, E4C1 and kentuckyslone like this.
  12. ken123

    ken123 Peon

    Messages:
    527
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Thanks for your reply, xxMirceaxx.

    It did what I wanted. Thanks. :D. But I know need you and the experts on this forum to help me further.

    Here is my scenerio.

    Main Page
    Topic #1
    ..........[]

    Topic #2
    ..........[]

    Topic #n
    ..........[]

    For Topic #1 & Topic #n, I will follow your advise.

    Let say Topic #2 is published by a feed (using feedwordpress), I want to be able to add the link to the feed's article. For example,
    Topic #2
    ...............[Read full article] // this Read full article will point to the feed's article instead of whole article on my site.

    Another alternative is when the user clicks the "Topic #2", it will bring back the same summary, and the page will have
    Topic #2
    ...............[Read full article] // this Read full article will point to the feed's article instead of whole article on my site.

    How can I get the feed's link? And how can I do the above?

    Thanks.
     
    ken123, Feb 26, 2008 IP
  13. pixeladd

    pixeladd Banned

    Messages:
    2,238
    Likes Received:
    93
    Best Answers:
    0
    Trophy Points:
    0
    #13
    pixeladd, Jun 29, 2008 IP
  14. japindian

    japindian Peon

    Messages:
    666
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Hey thanks for this link it really helped a lot!
     
    japindian, Jun 29, 2008 IP
  15. jjt

    jjt Member

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #15
    Thanks mhmtozek. Your link and directions work perfectly!
     
    jjt, Sep 9, 2008 IP
  16. Cipixxx

    Cipixxx Well-Known Member

    Messages:
    751
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    128
    #16
    very nice trick ... big thanks for this
     
    Cipixxx, Oct 30, 2008 IP
  17. owndotcomfree

    owndotcomfree Peon

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    I needed this too. I will try this. Thanks.
     
    owndotcomfree, Dec 30, 2008 IP
  18. coder3k

    coder3k Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #18
    By the way, you can configure the number of the excerpt-words by adding
    add_filter('excerpt_length', 'my_excerpt_length');
    function my_excerpt_length($length) { return 20; }

    to your template functions.php
     
    coder3k, Feb 19, 2010 IP
  19. vannarith

    vannarith Active Member

    Messages:
    1,814
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    50
    #19
    use post teaser plugin will help you great in wordpress.
     
    vannarith, Mar 25, 2010 IP
  20. ahmadlucky

    ahmadlucky Well-Known Member

    Messages:
    594
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    103
    #20
    dear, really very good job, only 1 easy step and done.
    Thanks
     
    ahmadlucky, May 5, 2010 IP