-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblueprint.json
More file actions
22 lines (22 loc) · 5.37 KB
/
blueprint.json
File metadata and controls
22 lines (22 loc) · 5.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"meta": {
"title": "My Scroll Block",
"description": "A WordPress plugin that adds scroll-driven animation capabilities to core blocks using CSS scroll timelines.",
"author": "Fellyph Cintra"
},
"landingPage": "/wp-admin/post-new.php",
"preferredVersions": {
"php": "8.3",
"wp": "latest"
},
"steps": [
{
"step": "login"
},
{
"step": "runPHP",
"code": "<?php require_once '/wordpress/wp-load.php'; wp_insert_post(array('post_title' => 'Simple post from PHP', 'post_content' => '<!-- wp:paragraph --><p>A trip to Portugal is an immersion into a land where history, culture, and nature blend seamlessly. From the sun-drenched beaches of the Algarve to the rugged volcanic landscapes of the Azores, Portugal offers a stunning diversity of scenery.</p><!-- /wp:paragraph --><!-- wp:paragraph --><p>Wander through Lisbon's historic, tiled streets, where traditional fado music echoes from old neighborhoods. Or explore Porto, the capital of the Douro Valley, the world's oldest wine region.</p><!-- /wp:paragraph --><!-- wp:image {\"sizeSlug\":\"large\",\"linkDestination\":\"none\",\"animationType\":\"scale-up\"} --><figure class=\"wp-block-image size-large scroll-anim-block scroll-anim-scale-up\" data-scroll-anim=\"1\"><img src=\"https://pub-4517acecab6543f0bc62af2fea95f2b6.r2.dev/cover-image.webp\" alt=\"\"/></figure><!-- /wp:image --><!-- wp:paragraph {\"animationType\":\"fade-in\"} --><p class=\"scroll-anim-block scroll-anim-fade-in\" data-scroll-anim=\"1\">Portugal's rich past is visible everywhere, from medieval castles to the monuments of the Age of Discoveries, while its modern spirit thrives in vibrant cities and a welcoming, laid-back culture.</p><!-- /wp:paragraph --><!-- wp:heading {\"className\":\"scroll-anim-scale-up\",\"animationType\":\"fade-in\"} --><h2 class=\"wp-block-heading scroll-anim-scale-up scroll-anim-block scroll-anim-fade-in\" data-scroll-anim=\"1\">Cities of Portugal</h2><!-- /wp:heading --><!-- wp:paragraph {\"animationType\":\"fade-in\"} --><p class=\"scroll-anim-block scroll-anim-fade-in\" data-scroll-anim=\"1\">Wander through Lisbon's historic, tiled streets, where traditional fado music echoes from old neighborhoods. Or explore Porto, the capital of the Douro Valley, the world's oldest wine region.</p><!-- /wp:paragraph --><!-- wp:columns {\"align\":\"wide\"} --><div class=\"wp-block-columns alignwide\"><!-- wp:column --><div class=\"wp-block-column\"><!-- wp:image {\"sizeSlug\":\"large\",\"linkDestination\":\"none\",\"animationType\":\"slide-in-right\"} --><figure class=\"wp-block-image size-large scroll-anim-block scroll-anim-slide-in-right\" data-scroll-anim=\"1\"><img src=\"https://pub-4517acecab6543f0bc62af2fea95f2b6.r2.dev/Gemini_Generated_Image_we7iutwe7iutwe7i.webp\" alt=\"\"/></figure><!-- /wp:image --></div><!-- /wp:column --><!-- wp:column --><div class=\"wp-block-column\"><!-- wp:image {\"aspectRatio\":\"1\",\"scale\":\"cover\",\"sizeSlug\":\"large\",\"linkDestination\":\"none\",\"animationType\":\"slide-in-up\"} --><figure class=\"wp-block-image size-large scroll-anim-block scroll-anim-slide-in-up\" data-scroll-anim=\"1\"><img src=\"https://pub-4517acecab6543f0bc62af2fea95f2b6.r2.dev/Gemini_Generated_Image_83jl2g83jl2g83jl.webp\" alt=\"\" style=\"aspect-ratio:1;object-fit:cover\"/></figure><!-- /wp:image --></div><!-- /wp:column --><!-- wp:column --><div class=\"wp-block-column\"><!-- wp:image {\"sizeSlug\":\"large\",\"linkDestination\":\"none\",\"animationType\":\"slide-in-left\"} --><figure class=\"wp-block-image size-large scroll-anim-block scroll-anim-slide-in-left\" data-scroll-anim=\"1\"><img src=\"https://pub-4517acecab6543f0bc62af2fea95f2b6.r2.dev/Gemini_Generated_Image_pi34y8pi34y8pi34.webp\" alt=\"\"/></figure><!-- /wp:image --></div><!-- /wp:column --></div><!-- /wp:columns --><!-- wp:columns {\"align\":\"wide\"} --><div class=\"wp-block-columns alignwide\"><!-- wp:column --><div class=\"wp-block-column\"><!-- wp:image {\"sizeSlug\":\"large\",\"linkDestination\":\"none\",\"animationType\":\"slide-in-right\"} --><figure class=\"wp-block-image size-large scroll-anim-block scroll-anim-slide-in-right\" data-scroll-anim=\"1\"><img src=\"https://pub-4517acecab6543f0bc62af2fea95f2b6.r2.dev/Gemini_Generated_Image_trof06trof06trof.webp\" alt=\"\"/></figure><!-- /wp:image --></div><!-- /wp:column --><!-- wp:column --><div class=\"wp-block-column\"><!-- wp:image {\"aspectRatio\":\"1\",\"scale\":\"cover\",\"sizeSlug\":\"large\",\"linkDestination\":\"none\",\"className\":\"scroll-anim-slide-in-up\",\"animationType\":\"slide-in-left\"} --><figure class=\"wp-block-image size-large scroll-anim-slide-in-up scroll-anim-block scroll-anim-slide-in-left\" data-scroll-anim=\"1\"><img src=\"https://pub-4517acecab6543f0bc62af2fea95f2b6.r2.dev/Gemini_Generated_Image_we7iutwe7iutwe7i.webp\" alt=\"\" style=\"aspect-ratio:1;object-fit:cover\"/></figure><!-- /wp:image --></div><!-- /wp:column --></div><!-- /wp:columns --><!-- wp:paragraph {\"animationType\":\"fade-in\"} --><p class=\"scroll-anim-block scroll-anim-fade-in\" data-scroll-anim=\"1\">Wander through Lisbon's historic, tiled streets, where traditional fado music echoes from old neighborhoods. Or explore Porto, the capital of the Douro Valley, the world's oldest wine region.</p><!-- /wp:paragraph -->', 'post_author' => 1, 'post_status' => 'publish')); ?>"
}
]
}