Retina display 를 위한 js 플러그인
공식홈페이지 :: https://imulus.github.io/retinajs/ 스크립트를 include 하고 img 태그 뒤에 특정 명령어를 입력하면, Retina Display 일 때 해당 크기의 이미지를 불러온다. 자세한 설명은 공식 홈페이지를 참...
공식홈페이지 :: https://imulus.github.io/retinajs/ 스크립트를 include 하고 img 태그 뒤에 특정 명령어를 입력하면, Retina Display 일 때 해당 크기의 이미지를 불러온다. 자세한 설명은 공식 홈페이지를 참...
wp-config.php 파일 제일 하단에 define('FS_METHOD','direct'); 이 코드만 추가하면 된다. http://www.hongkiat.com/blog/update-wordpress-without-ftp/
jQuery('a[href="#top"]').click(function(e){ e.preventDefault(); jQuery('html, body').animate({ scrollTop: 0 },500) }); <a href="#top">Scroll to Top</a> #top 이라...
현재 로그인 한 유저의 정보를 불러오는 방법이다. 원문 글 - Wordpress Codex Function Reference/wp get current user 예제 $current_user = wp_get_current_user(); /** * @example Safe usage: $current_use...
<?php bloginfo('name'); $site_description = get_bloginfo( 'description', 'display' ); if ( $site_description && ( is_home() || is_front_page() ) ) { echo ' | '.$site_description; } wp...
글이나 댓글에 달린 주소에 자동으로 링크(a)를 걸어주는 JS 플러그인. ex) http://wallel.com -> http://wallel.com 공식 홈페이지를 접속해보면 어떻게 작동하는지 이해하기 더 쉬우니 참고해볼것. 홈페이지...