본문으로 이동

검색어를 입력하고 Enter를 누르세요.

블로그 3페이지

김 태영

php include

$wwwDir = explode('www', dirname(__FILE__))[0].'www/'; include($wwwDir.'file.php'); 소스 설명 include html 을 포함한 파일을 불러오기 위한 include include_once 함수파일을 한번만 가져오기 ...

김 태영

Using The WordPress Enqueue Hook

theme 의 function.php 에 추가하면 테마에 js, css 파일을 불러올 수 있다. wp_enqueue_scripts – action used to load scripts on the front-end admin_enqueue_scripts – actionused to load scripts in the W...