Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm creating a widget to embed from outside of wordpress that will contain the post content. I don't want to use the permalink because that will include the whole page. I'm thinking I can grab the post id, but not sure how to call the url of only the post content from outside of wordpress.

share|improve this question
add comment

1 Answer

This is not a built-in feature, but if you install the Show Content Only plugin into WordPress, this functionality will be available - simply add:

?content-only=1

... to the end of the post URL to get the content only.

share|improve this answer
    
Thanks, Gavin! I'll give it a shot, but I'm also interested if anyone has a solution that doesn't require a plugin. –  Wendy Oct 26 '11 at 18:21
    
This is not a core WordPress feature. –  GavinR Oct 26 '11 at 18:30
    
This won't work for my purposes, because my content (not using it in the strictest wordpress terminology) is a collection of fields passed through custom meta boxes. So I'm not looking for what shows up in the editor, just the title and my custom fields that display at the url via a custom page template. –  Wendy Nov 28 '11 at 23:50
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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