Title: avoid title edit in published post
Last modified: August 18, 2016

---

# avoid title edit in published post

 *  [andygarcia](https://wordpress.org/support/users/andygarcia/)
 * (@andygarcia)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/avoid-title-edit-in-published-post/)
 * Hi, anybody has a good solution to prevent edit in published post’s title.
 * As I have my permalinks routed only on title (and that’s what I want…) I need
   to prevent other users to modify published title post.
 * regards

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [koeln](https://wordpress.org/support/users/koeln/)
 * (@koeln)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/avoid-title-edit-in-published-post/#post-478860)
 * Where do you want to add this text? In your header? Just insert it in this div
 * [div id=”header” title=”spicyandhra.org” onclick=”location.href=’http:/ /spicyandhra.
   org’;” style=”cursor: pointer;”] text here [/div]
 * I saw that you added a google add-div, so I think it should be easy for you.
 *  Thread Starter [andygarcia](https://wordpress.org/support/users/andygarcia/)
 * (@andygarcia)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/avoid-title-edit-in-published-post/#post-478861)
 * ???
 *  Thread Starter [andygarcia](https://wordpress.org/support/users/andygarcia/)
 * (@andygarcia)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/avoid-title-edit-in-published-post/#post-479121)
 * basicalli I want ro disable editing post tile after the post has been created
   I tried to do this in edit-for-advanced.php file:
 * >  <?php if $_GET[‘action’]==’edit’; ?>
   >  <div><input type=”text” name=”post_title”
   > size=”30″ tabindex=”1″ value=”<?php echo $post->post_title; ?>” id=”title” 
   > disabled=”disabled”/></div> <?php else; ?> <div><input type=”text” name=”post_title”
   > size=”30″ tabindex=”1″ value=”<?php echo $post->post_title; ?>” id=”title” /
   > ></div> <?php endif; ?>
 *  but as I’m not good in php must be an error as I get
 * arse error: syntax error, unexpected T_VARIABLE, expecting
 * does anybody knows??
 *  [koeln](https://wordpress.org/support/users/koeln/)
 * (@koeln)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/avoid-title-edit-in-published-post/#post-479122)
 * Oups,
 * replied in wrong topic.
 * The esiast way is to disable the database-update.
 * I don’t know the fragment you are using. But there is an error:
 * <?php if ($_GET[‘action’]==’edit’) ?>
 *  Thread Starter [andygarcia](https://wordpress.org/support/users/andygarcia/)
 * (@andygarcia)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/avoid-title-edit-in-published-post/#post-479123)
 * ok thank you, but I just want to disable the update of title section, do you 
   know how?
 * regards

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘avoid title edit in published post’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [andygarcia](https://wordpress.org/support/users/andygarcia/)
 * Last activity: [19 years, 7 months ago](https://wordpress.org/support/topic/avoid-title-edit-in-published-post/#post-479123)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
