WordPress.org

Ready to get started?Download WordPress

Forums

Subscribe2
[resolved] [closed] How do I make the excerpt longer (5 posts)

  1. christernyc
    Member
    Posted 2 years ago #

    First of all, great plugin! I haven't had the chance to test it fully but I see awesome potential.

    I would like to use it to syndicate my posts to other 2.0 accounts I have, I notice in the test excerpt to myself it could be about 100 characters longer. Where do I hack to add characters?

    Also, on a side note, this may be a problem in the future but I mention it now...

    In the test email to myself the post is dated January 1, 1970...checking my WP settings the time and date is correct.

    When I have my blog set to auto post it's hit and miss, I checked the link you had mentioned about the cron php that may need to be changed so I will look into that as well.

    Thank you for the great work!

    http://wordpress.org/extend/plugins/subscribe2/

  2. mattyrob
    Member
    Plugin Contributor

    Posted 2 years ago #

    @christernyc,

    To change the excerpt length you need to edit the code. In the plugins/subscribe2/classes/ folder you'll fine a file called class-s2-core.php. Towards the very end of this file you'll find this line:

    var $excerpt_length = 55;

    Change the 55 to a larger number to lengthen the excerpt.

    As for the date issue. Since you are on WordPress 3.3.2 this is in built now and has been for quite some time. If auto post is hit and miss and your emails are dated then (and that's the first possible computer timestamp date) I suspect a time issue on the server. Maybe get your hosting provider to take a look.

  3. christernyc
    Member
    Posted 2 years ago #

    Sweet thanks!!

    And thanks for the tip on my time issue, I'm with Godaddy so I'm surprised because they've been pretty good. I'll see what happens.

  4. mattyrob
    Member
    Plugin Contributor

    Posted 2 years ago #

    @christernyc,

    GoDaddy? Oh dear. They've been anything but good in recent months. Have a read here.

  5. christernyc
    Member
    Posted 2 years ago #

    Thanks again for the fast response :)

    I did some testing and it's working beautifully so far, when I read the thread from the link you posted about godaddy I started to get real nervous! Then I read the part about having the senders email set up as the domain name and I felt better because I have it set up like that.

    Thanks again, and I will post back if Godaddy decides to be a pain.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags