• 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)
  • 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

    (@andygarcia)

    ???

    Thread Starter andygarcia

    (@andygarcia)

    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??

    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

    (@andygarcia)

    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.