Title: Scott Reilly's Replies - page 28 | WordPress.org

---

# Scott Reilly

  [  ](https://wordpress.org/support/users/coffee2code/)

 *   [Profile](https://wordpress.org/support/users/coffee2code/)
 *   [Topics Started](https://wordpress.org/support/users/coffee2code/topics/)
 *   [Replies Created](https://wordpress.org/support/users/coffee2code/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/coffee2code/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/coffee2code/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/coffee2code/engagements/)
 *   [Favorites](https://wordpress.org/support/users/coffee2code/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 406 through 409 (of 409 total)

[←](https://wordpress.org/support/users/coffee2code/replies/page/27/?output_format=md)
[1](https://wordpress.org/support/users/coffee2code/replies/?output_format=md) [2](https://wordpress.org/support/users/coffee2code/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/coffee2code/replies/page/3/?output_format=md)…
[26](https://wordpress.org/support/users/coffee2code/replies/page/26/?output_format=md)
[27](https://wordpress.org/support/users/coffee2code/replies/page/27/?output_format=md)
28

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Post Article, but NOT on Front Page](https://wordpress.org/support/topic/post-article-but-not-on-front-page/)
 *  [Scott Reilly](https://wordpress.org/support/users/coffee2code/)
 * (@coffee2code)
 * WordPress & Plugin Developer
 * [21 years, 9 months ago](https://wordpress.org/support/topic/post-article-but-not-on-front-page/#post-78380)
 * I believe you can simplify persephone’s handy tip to this:
    Find the start of
   the loop on your index page. It looks like this `<?php if ($posts) : foreach (
   $posts as $post) : start_wp(); ?>` Directly below it, put the following code:`
   <?php if(1 == get_post_custom_values(exclude_from_index)) continue; ?>` And that
   should do it, though I haven’t verified this myself.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [editing import-mt.php for misused fields](https://wordpress.org/support/topic/editing-import-mtphp-for-misused-fields/)
 *  [Scott Reilly](https://wordpress.org/support/users/coffee2code/)
 * (@coffee2code)
 * WordPress & Plugin Developer
 * [21 years, 9 months ago](https://wordpress.org/support/topic/editing-import-mtphp-for-misused-fields/#post-77093)
 * Assuming you don’t mind trying something I haven’t tested myself for your particular
   scenario (I had done something similar though), after starting with a fresh, 
   unaltered import-mt.php file, follow these steps:
    **1.)** Look for this: `//
   We're going to put extended body into main body with a more tag preg_match("|-----\
   nEXTENDED BODY:(.*)|s", $post, $extended); $extended = trim($extended[1]); if(''!
   = $extended) $extended = "\n<!--more-->\n$extended"; $post = preg_replace("|(-----\
   nEXTENDED BODY:.*)|s", '', $post); Change the third and fourth lines to this:
   $post_content = addslashes(trim($extended[1])); //if ('' != $extended) $extended
   = "\n<!--more-->\n$extended"; **2.)** Look for this: // Now for the main body
   preg_match("|-----\nBODY:(.*)|s", $post, $body); $body = trim($body[1]); $post_content
   = addslashes($body . $extended); $post = preg_replace("|(-----\nBODY:.*)|s", '',
   $post); Change that fourth line to this: $excerpt = addslashes($body); That should
   be it. This assumes that you don’t have any meaningful data in your MT excerpt
   field because it’ll overwrite the values obtained from the MT excerpt field with
   the MT body field (since that is where you wanted your WP excerpt to come from).-
   Scott
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Email Notification Plugin](https://wordpress.org/support/topic/email-notification-plugin/)
 *  [Scott Reilly](https://wordpress.org/support/users/coffee2code/)
 * (@coffee2code)
 * WordPress & Plugin Developer
 * [21 years, 10 months ago](https://wordpress.org/support/topic/email-notification-plugin/#post-68357)
 * WordPress relies on a program called sendmail to handle outgoing mail and assumes
   it is available locally on your webserver and that it’s already configured.
    
   If you are worrying before-the-fact that you didn’t see configuration options
   for an SMTP server and haven’t had cause for WP to e-mail you yet, then try and
   comment on one of your posts to see if it works for you. If not, or if you already
   know you don’t have access to sendmail, or if you’d rather just have e-mail go
   through an SMTP server and not deal with sendmail at all, you might try the plugin
   I made, [wpPHPMailer](http://www.coffee2code.com/archives/2004/06/28/plugin-wpphpmailer/).
   Requires a few very small core modifications though (changing four instances 
   of “@mail” to “@phpmailer”).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Comment & Post Plugins](https://wordpress.org/support/topic/comment-post-plugins/)
 *  [Scott Reilly](https://wordpress.org/support/users/coffee2code/)
 * (@coffee2code)
 * WordPress & Plugin Developer
 * [21 years, 10 months ago](https://wordpress.org/support/topic/comment-post-plugins/page/3/#post-52855)
 * I just released a Recently Commented Posts plugin which I was able to modify 
   into another plugin, Recent Commenters, which I announced on the forums [here](http://wordpress.org/support/10/8699).
   It should do what you requested, Christine.

Viewing 4 replies - 406 through 409 (of 409 total)

[←](https://wordpress.org/support/users/coffee2code/replies/page/27/?output_format=md)
[1](https://wordpress.org/support/users/coffee2code/replies/?output_format=md) [2](https://wordpress.org/support/users/coffee2code/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/coffee2code/replies/page/3/?output_format=md)…
[26](https://wordpress.org/support/users/coffee2code/replies/page/26/?output_format=md)
[27](https://wordpress.org/support/users/coffee2code/replies/page/27/?output_format=md)
28