This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scene": { | |
"type": "portrait", | |
"angle": "top-down", | |
"location": "softly lit hotel room", | |
"lighting": { | |
"style": "warm and soft", | |
"effect": "gentle shadows enhancing contours of face, arms, and torso", | |
"mood": "elegant, intimate, quietly alluring" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"style": "studio_product_shot", | |
"image_description": { | |
"subject": { | |
"type": "coffee pouch", | |
"material": "matte kraft paper", | |
"label": { | |
"text": "Arabica Blend — Medium Roast\nOrigin: Toraja, Indonesia\nNotes: Chocolate, Citrus, Floral\nNet Weight: 250g", | |
"font_style": "serif, clean, high contrast", | |
"placement": "centered on pouch, aligned vertically", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Untuk membuat lingkaran yang bolong di tengahnya | |
.lingkaran-bolong { | |
width: 100px; | |
height: 100px; | |
border-radius: 50%; | |
background: radial-gradient(circle at center, transparent 40%, #f2f2f2 40%); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Deskripsi: untuk menambahkan datalabels di atas stacked bar, data yang ditampilkan adalah jumlah data dan jika legend diklik, datalabels akan * berubah sesuai datanya. | |
* Dependensi: plugin Chart Js Data Labels | |
*/ | |
const topLabelsPlugin = { | |
id: 'topLabelsPlugin', | |
afterDatasetsDraw(chart) { | |
const { ctx } = chart; | |
ctx.font = 'bold 12px Poppins'; | |
ctx.fillStyle = 'black'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Tambahkan filter ini di child theme functions.php | |
// Untuk mengubah site title menjadi H1 | |
add_filter( 'generate_site_title_output', function( $output ) { | |
return sprintf( | |
'<%1$s class="main-title" itemprop="headline"> | |
<a href="%2$s" rel="home"> | |
%3$s | |
</a> | |
</%1$s>', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Remove the history from | |
rm -rf .git | |
-- recreate the repos from the current content only | |
git init | |
git add . | |
git commit -m "Initial commit" | |
-- push to the github remote repos ensuring you overwrite history | |
git remote add origin git@github.com:<YOUR ACCOUNT>/<YOUR REPOS>.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* woocommerce_single_product_summary hook | |
* | |
* @hooked woocommerce_template_single_title - 5 | |
* @hooked woocommerce_template_single_rating - 10 | |
* @hooked woocommerce_template_single_price - 10 | |
* @hooked woocommerce_template_single_excerpt - 20 | |
* @hooked woocommerce_template_single_add_to_cart - 30 | |
* @hooked woocommerce_template_single_meta - 40 |