EOND
HOSTING
WEBDeveloper
FreelancerCafe
Threads

theme\made\layout\menu\menu-basic\menu.php

theme\made\layout\header\header-basic\header.php


나리야 테마 기본 테마는 메뉴파일과 헤더영역이 분리가 되어있습니다.


theme\made\head.php

그걸 이 head.php 파일에서 각각 인클루드하는 구조로 되어있습니다.



/theme/made/head.php

/theme/made/layout/lnb/lnb-basic/lnb.php

/theme/made/layout/header/header-basic/header.php

/theme/made/layout/menu/menu-basic/menu.php

/theme/made/layout/title/title-basic/title.php

/theme/made/layout/wing/wing-basic/wing.php


head.php라는 테마에 종속된 헤드 파일 안에

lnb, header, menu, title, wing이 인클루드되어있습니다.


head.php - 테마의 헤더파일

└ lnb.php - 상단의 즐겨찾기 로그인 버튼 부분입니다.

└ header.php - 기본 테마에서 로고와 검색 영역이 있는 부분입니다.

└ menu.php - 메뉴가 있는 부분입니다.

└ title.php - 서브 화면에서 타이틀과 breadcrumb(사이트이동경로)가 표시되는 영역입니다.

└ wing.php - 좌우배너인데, 포지션이 absolute로 잡혀있습니다. (어떻게 사용하는 건지는 파악 못했습니다.)


이렇게가 테마 헤드 한 세트입니다.^^;


일단 분리된 헤더와 메뉴를 합하려면,

head.php 파일에서 구조를 잡은 뒤에,

header.php와 menu.php를 적절한 위치에 인클루드해주면 될 거 같습니다.

 


Type something
0
댓글은 로그인 사용자만 작성 가능합니다. 로그인하기