Forums

trackback excerpt junk (2 posts)

  1. stephennewton
    Member
    Posted 1 year ago #

    Automatic trackback pings are great, except that the excerpts often include a lot of junk. Is there anyway of controlling the excerpts? Ideally making it the first par of the post.

  2. dab
    Member
    Posted 1 year ago #

    Hi.

    You may hook sending-trackback with "the_content" filter, or "the_excerpt" filter. You may need to make a flag-variable fot that you make different filters for trackback and usual post.

    To hook recieved-trackback, I think you may use "trackback_post" filter which the argument is comment-id of the database.
    Reffer "wp-trackback.php", please.

    Sorry for my dirty English.

Topic Closed

This topic has been closed to new replies.

About this Topic