WordPress
-
워드프레스 기초 (hook)WordPress 2023. 9. 22. 13:55
워드프레스는 블로그 포스팅 처럼 홈페이지를 만들 수 있는 장치이다. 워드프레스의 특징은 DB와 연동해서 홈페이지의 구성 요소들을 DB로 부터 불러올 수 있기 때문에, 비슷한 모양의 홈페이지를 대량으로 찍어낼 때 유용하게 사용된다. 페이지의 프레임 뿐만 아니라 각 요소들의 CSS 나 세팅 까지도 DB에 연동시킬 수 있다. 1. 워드프레스 시작 워드프레스 페이지를 불러오면, 워드프레스의 버전이나 서버 세팅부터 로그인 여부 까지 기본적으로 필요한 세팅을 마치고 DB와 연동한다. DB와 연동한 이후에는 홈페이지를 나타내기 위한 요소들을 불러오는데, Java Script나 boot strap , 플러그인 , hooks 등이 있다. 2. 플러그인 플러그인은 워드프레스에 유저가 커스터마이징 한 기능을 넣어서 사용할 ..