Title: Function for getting post content source code?
Last modified: August 20, 2016

---

# Function for getting post content source code?

 *  [Bassscape](https://wordpress.org/support/users/bassscape/)
 * (@bassscape)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/function-for-getting-post-content-source-code/)
 * Hi,
 * Is it possible to get the source code for the current page or post being viewed?
   Is there a function for displaying a post’s source code?
 * I want to allow people who read my website the ability to republish my articles
   by copying and pasting the current post’s source code. Something similar to the‘
   Republish’ feature in the left sidebar of [The Converstaion](http://theconversation.edu.au/all-research-funded-by-nhmrc-to-be-accessible-free-of-charge-5486)
   website.
 * Peter

The topic ‘Function for getting post content source code?’ is closed to new replies.

## Tags

 * [source-code](https://wordpress.org/support/topic-tag/source-code/)
 * [the_content](https://wordpress.org/support/topic-tag/the_content/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Bassscape](https://wordpress.org/support/users/bassscape/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/function-for-getting-post-content-source-code/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
