수제 초코쿠키 베이킹 키트 엄마표놀이 홈베이킹 420g
18,240₩
품절
Please read before purchasing!
– Customs duties and VAT apply if the combined purchase total, including shipping, exceeds $150.
– Product packaging designs and languages may vary by season and country of release.
– To request a refund or exchange, contact us within 7 days. Photos of the received product, shipping label and box are required.
– For customs clearance, your personal customs clearance code, name and phone number must all match the information registered for your code.
If the name, phone number or address registered for your personal customs clearance code changes, update that information through the Korea Customs Service's personal customs clearance code website or mobile service.
(Please note: customs clearance may be restricted if the consignee's personal customs clearance code, name and phone number do not all match the registered information.)
**설명:**
* **전체 구조:** `div`로 감싸서 전체 영역을 가운데 정렬합니다. `style=”text-align: center;”`를 사용했습니다.
* **이미지:** 각 이미지는 `` 태그로 표시됩니다. `style=”display: block; margin: 20px auto;”`를 사용하여 이미지를 가운데 정렬하고 위아래 간격을 줍니다.
* **한글/영어 텍스트:** 각 문장 또는 의미 단위는 한글(`text-ko`)과 영어(`text-en`) `div`로 묶입니다.
* **클래스:** `.text-ko` 클래스는 한글 텍스트에, `.text-en` 클래스는 영어 텍스트에 적용됩니다. `.text-en` 클래스는 초기 상태에서 `display: none;`으로 설정되어 영어 텍스트가 숨겨집니다.
* **스타일:** `style=”text-align: center;”`로 텍스트를 가운데 정렬합니다. 볼드체 등 특정 스타일이 필요한 부분은 `font-weight: bold;` 와 같은 스타일을 추가했습니다.
* **간격:** 각 텍스트 블록과 이미지 사이에 `margin-bottom: 20px;`을 추가하여 간격을 줍니다.
* **이미지 중복 방지:** 이미지는 데이터에서 중복되어 나타나더라도 HTML 코드에서는 한 번만 표시되도록 처리했습니다.
**워드프레스 적용 팁:**
1. **스타일 시트 활용:** 인라인 스타일 대신 워드프레스 테마의 `style.css` 파일에 `.text-ko`와 `.text-en` 클래스에 대한 스타일을 정의하는 것이 좋습니다. 이렇게 하면 코드가 더 깔끔해지고 유지 관리가 쉬워집니다.
2. **JavaScript 토글:** 한글/영어 전환 기능을 JavaScript를 사용하여 구현할 수 있습니다. 예를 들어, 버튼 클릭 시 `.text-ko` 클래스를 숨기고 `.text-en` 클래스를 표시하는 방식으로 동작하도록 만들 수 있습니다.
3. **커스텀 필드 활용:** 워드프레스의 ACF (Advanced Custom Fields) 플러그인과 같은 커스텀 필드 플러그인을 사용하면 상품 상세 페이지에서 한글/영어 텍스트를 쉽게 입력하고 관리할 수 있습니다.
4. **테마 커스터마이저 활용:** 테마 커스터마이저를 통해 언어 설정을 관리하고, 해당 설정에 따라 JavaScript를 사용하여 언어 전환 기능을 구현할 수 있습니다.
이 HTML 코드를 워드프레스 상품 상세 페이지에 삽입하고, 필요에 따라 JavaScript 코드를 추가하여 한글/영어 전환 기능을 구현하면 됩니다.
| Origin | 체코산(Fatbro) |
|---|
- Sports and outdoors
- Home and health
- Fashion accessories
- Wine
- Beauty
- 디지털/가전
- Home and interiors
- Baby care
- Food
- Toys
Related Products
품절

