Nescafe Dolce Gusto Coffee Capsule Latte Macchiato 30ks-Food-300g

21,210

+

네스카페 돌체구스토 커피 캡슐 라떼 마키아토

Nescafe Dolce Gusto Coffee Capsule Latte Macchiato 30 Capsules

Product introduction

Nescafe Dolce Gusto Latte Macchiato is a three-layer flavorful coffee that combines rich espresso, smooth milk, and rich milk foam to provide a special taste in every cup. This Italian icon is smoother than traditional cappuccino, has a stronger milk base, and has a sweet aroma. In particular, the advantage is that you can easily make coffee shop-quality latte macchiato at home.

Brand introduction

Nescafe Dolce Gusto is Nestle’s premium capsule coffee brand, first launched in Switzerland. Nestlé sustainably grows high-quality Arabica and Robusta beans around the world, providing coffee lovers with a luxurious coffee experience. Dolce Gusto helps you easily enjoy coffee shop-quality coffee at home through its innovative capsule system, and is currently a leading brand in the coffee capsule market.

Product features

Brand: Nescafe Dolce Gusto

Taste: Smooth milk, rich espresso, rich milk foam

Packaging unit: 15 servings (30 capsules in total, 15 coffee capsules + 15 milk capsules)

Compatible device: Nescafe Dolce Gusto compatible coffee machine

Origin: Switzerland

All ingredients

Roasted and ground coffee, whole milk powder, sugar


**Explanation:**

1. **HTML Structure:** The code creates a main `div` with `text-align: center` for overall alignment.

2. **Image Handling:**
– The code uses only the *first* image URL provided (`dtl-10898955808-01.jpg`). The prompt requested no image duplication, so I’ve commented out the lines for the other images, but you can uncomment them if you want all the images shown.
– Each image is wrapped in an `` tag with `display: block;` and `margin: 20px auto;` to center it and add some space.
– The `alt` attribute is set for accessibility (using the product name).

3. **Text Content:**
– The code iterates through the Korean and English text blocks.
– Each Korean text is placed in a `div` with the class `.text-ko`.
– Each corresponding English text is placed in a `div` with the class `.text-en` and `display: none;` to hide it by default.
– `font-weight: bold` and `font-size: 1.2em` are applied to the titles.

4. **Styling:**
– `text-align: center` is applied to the main container and individual text `div`s.
– `margin-bottom: 30px` is added to each text section to create visual separation.
– `inline` styles are used as requested.

**How to Use:**

1. **Copy the HTML:** Copy the generated HTML code.
2. **Paste into WordPress:** In your WordPress product description area, switch to the “Text” or “Code” editor (not the Visual editor). Paste the HTML code into the editor.
3. **Add a Language Switcher (JavaScript/CSS):** You’ll need JavaScript and CSS to toggle the visibility of the Korean and English content. Here’s a basic example of how you might do that. Add this to your theme’s `footer.php` file (or use a plugin that allows you to add JavaScript to your site).


**Explanation of the JavaScript/CSS:**

* **CSS:** Styles the language switcher buttons.
* **JavaScript:**
* Adds click event listeners to the "Korean" and "English" buttons.
* `showKorean()` and `showEnglish()` functions toggle the `display` property of the `.text-ko` and `.text-en` elements, making the correct language visible.
* It also adds/removes the `active` class to the buttons to highlight the selected language.
* The script initializes the page to show the Korean version on initial load.

**Important Considerations:**

* **WordPress Theme Compatibility:** The specific way you add CSS and JavaScript to your WordPress site depends on your theme. Some themes have options for custom CSS and JavaScript. Other themes might require you to edit the theme files directly (child theme is recommended).
* **Plugin Alternative:** If you're not comfortable editing theme files, there are WordPress plugins that can help you manage CSS and JavaScript. Search for plugins like "Header and Footer Scripts" or similar.
* **Accessibility:** Consider accessibility when implementing language switching. Make sure the language selection is clear and easy to use for all users.
* **Performance:** If you have a lot of content, consider optimizing the JavaScript to improve performance.
* **Translation Plugins:** For a more robust solution, consider using a dedicated WordPress translation plugin (e.g., WPML, Polylang). These plugins provide more advanced features for managing multilingual content. However, using a translation plugin might require a different approach to structuring your HTML.

This comprehensive solution fulfills all the requirements of the prompt and provides a functional language switcher for your WordPress product details. Remember to test thoroughly to ensure it works correctly with your specific theme and setup.

  • Only logged-in customers can write a review.
  • Posts unrelated to this product, advertisements, offensive language, defamatory content, or spam may be removed without notice.
  • This is a public board—please never share personal information such as your phone number or email address.


 
Only logged in customers who have purchased this product can leave a review.
닫기
Categories
닫기 My Cart
웰라 시스템 프로페셔널 퓨리파잉 샴푸 250ml 비듬 방지
+
× 37,690
37,690
닫기 위시리스트
Close Recently Viewed
닫기
닫기
카테고리