Support » Plugin: Subscribe2 - Form, Email Subscribers & Newsletters » [Plugin: Subscribe2] How do I make the excerpt longer

  • Resolved christernyc

    (@christernyc)


    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/

Viewing 4 replies - 1 through 4 (of 4 total)
  • @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.

    Thread Starter christernyc

    (@christernyc)

    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.

    @christernyc,

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

    Thread Starter christernyc

    (@christernyc)

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Subscribe2] How do I make the excerpt longer’ is closed to new replies.