Live Edit if Admin

1
2
<?php if ( current_user_can( 'administrator' ) ): ?>
<div class="edit-button" <?php if(function_exists("live_edit")){ live_edit('post_title, post_content'); }?></div>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.