Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

dd

ddddd

// Add Shortcode
function custom_shortcode() {

	{
	  "sections": [
	    {
	      "type": "hero",
	      "heading": "Explore the Mysteries of the Solar System",
	      "subheading": "Discover planets, the sun, and the wonders beyond.",
	      "button_text": "Explore Now",
	      "background": "space_background.jpg"
	    },
	    {
	      "type": "about",
	      "heading": "What is the Solar System?",
	      "text": "The Solar System consists of the Sun and everything bound to it by gravity — planets, moons, asteroids, comets, and meteoroids.",
	      "image": "solar_system_image.jpg"
	    },
	    {
	      "type": "planets_grid",
	      "heading": "Our Planets",
	      "planets": [
	        {"name": "Mercury", "short_info": "Closest planet to the Sun", "link": "/mercury"},
	        {"name": "Venus", "short_info": "Hottest planet", "link": "/venus"},
	        {"name": "Earth", "short_info": "Our home planet", "link": "/earth"},
	        {"name": "Mars", "short_info": "The Red Planet", "link": "/mars"},
	        {"name": "Jupiter", "short_info": "Largest planet", "link": "/jupiter"},
	        {"name": "Saturn", "short_info": "Famous for rings", "link": "/saturn"},
	        {"name": "Uranus", "short_info": "Rotates on its side", "link": "/uranus"},
	        {"name": "Neptune", "short_info": "Farthest from the Sun", "link": "/neptune"}
	      ]
	    },
	    {
	      "type": "fun_facts",
	      "heading": "Did You Know?",
	      "facts": [
	        "Jupiter is so big that all planets could fit inside it.",
	        "Venus has a longer day than a year.",
	        "Neptune has supersonic winds."
	      ]
	    },
	    {
	      "type": "gallery",
	      "heading": "Solar System Gallery",
	      "images": [
	        "sun.jpg", "earth.jpg", "mars.jpg", "jupiter.jpg"
	      ]
	    },
	    {
	      "type": "contact",
	      "heading": "Contact Us",
	      "fields": ["Name", "Email", "Message"]
	    }
	  ]
	}
	

}
add_shortcode( '', 'custom_shortcode' );