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