1

When importing a feed into a custom post type does it make any difference if I store the feed description in the post_excerpt field versus the post_content field? Is there some processing that gets applied via WordPress when I save content to any of those two fields?

3
  • 1
    There is no difference when saving to DB. The only processing difference is that post_excerpt will be wrapped in <p> element when displayed on frontend.
    – Max Yudin
    Commented Feb 20, 2013 at 8:04
  • Also (in 3.4.x) post_excerpt is used for describing the attachment post type, but I am guessing you want for normal page/posts right?
    – Panagiotis
    Commented Feb 20, 2013 at 10:15
  • I want to use it in a custom post type.
    – urok93
    Commented Feb 21, 2013 at 2:45

1 Answer 1

1

There is no difference in storing data into the post_excerpt field versus the post_content field.

If you look at the source code (line 2700) you will notice both post_excerpt and post_content won't be filtered.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.