Title: Create a post that writes a string
Last modified: August 18, 2016

---

# Create a post that writes a string

 *  [JSiefer](https://wordpress.org/support/users/jsiefer/)
 * (@jsiefer)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/create-a-post-that-writes-a-string/)
 * I would like to create a blog entry that writes a string, so that everytime someone
   goes to the page it will write the string, so that farther down on the page it
   will use the data that was written as of the comment form. This is what I have
   tried using so far as code in the blog entry:
 * —begin code—-
 * <?php
    $my_string = “This is the string I want to save”; ?>
 * –end code—
 * … but it keeps posting it just as plain text instead of entering it as code. 
   What’s the deal? Any help is greatly appreciated.

Viewing 1 replies (of 1 total)

 *  Thread Starter [JSiefer](https://wordpress.org/support/users/jsiefer/)
 * (@jsiefer)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/create-a-post-that-writes-a-string/#post-317523)
 * So I was looking around on a totally unrelated subject when I found a posting
   for a plugin that will allow PHP in your post.
    -  [http://priyadi.net/archives/2005/03/02/wordpress-php-exec-plugin/](http://priyadi.net/archives/2005/03/02/wordpress-php-exec-plugin/)
    - I hope this helps anyone that is having the same problem I was.

Viewing 1 replies (of 1 total)

The topic ‘Create a post that writes a string’ is closed to new replies.

## Tags

 * [strings](https://wordpress.org/support/topic-tag/strings/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [JSiefer](https://wordpress.org/support/users/jsiefer/)
 * Last activity: [20 years, 5 months ago](https://wordpress.org/support/topic/create-a-post-that-writes-a-string/#post-317523)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
