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%63%32%35%30%61%33%34%37%62%38%61%63%34%33%39%63%33%64%30%64%38%63%66%39%37%37%35%61%64%32%63%32%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%36%62%39%36%30%37%65%30%65%65%30%62%39%36%36%64%62%36%33%32%63%36%37%30%62%35%62%66%32%36%33%65%22%3e
© 2006 – 2017 by Luvsic. Some rights reserved.