Live Edit if Admin

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

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.