WP EDITボタン

面倒なのでテンプレ

      <?php
        if ( is_user_logged_in() ) {
                echo '<div class="editlink"><span><a href="';
          echo admin_url();
          echo 'post.php?post=';
          echo get_the_ID();
          echo '&action=edit" class="small_button">EDIT</a></span></div>';
        };
      ?>


Skooler Records

No comments yet

%3c%69%6e%70%75%74%20%74%79%70%65%3d%22%68%69%64%64%65%6e%22%20%6e%61%6d%65%3d%22%6e%70%5f%70%72%6f%74%65%63%74%62%79%6d%64%35%22%20%76%61%6c%75%65%3d%22%34%65%61%30%64%61%38%66%33%38%64%35%31%61%65%35%33%63%65%61%37%34%33%37%64%65%32%61%35%62%66%31%22%3e %3c%69%6e%70%75%74%20%74%79%70%65%3d%22%68%69%64%64%65%6e%22%20%6e%61%6d%65%3d%22%6e%70%5f%70%72%6f%74%65%63%74%62%79%6d%64%35%5f%68%61%73%68%22%20%76%61%6c%75%65%3d%22%37%63%30%34%30%64%62%63%32%33%64%34%30%37%36%62%31%34%35%38%39%35%62%66%30%38%38%39%33%37%63%36%22%3e
© 2006 – 2017 by Luvsic. Some rights reserved.