Featured
- Get link
- X
- Other Apps
How to Add a "Donate Solana" Button in Your Blog Posts
Want to accept Solana (SOL) donations on your blog? Adding a "Donate" button is simple and can help you receive crypto contributions easily. In this guide, I’ll show you step-by-step how to add a clickable Solana donation button to your Blogger posts.
🛠 Method 1: Manually Add the Button in Each Post
If you want to add a donate button only in specific blog posts, follow these steps:
Step 1: Open Blogger Post Editor
- Go to Blogger Dashboard → Posts → Create New Post.
- Switch to "HTML View" (Instead of "Compose").
Step 2: Paste This Code
Copy and paste the following HTML button code where you want the donation button to appear:
<a href="solana:8xoacbambb4vA2qV7yXTd8rRxYW5QgyHuGi9XgZcA1ny" target="_blank">
<button style="background: linear-gradient(90deg, #00FFA3, #DC1FFF, #9945FF); color: white; padding: 12px 24px; border: none; border-radius: 5px; font-size: 18px; cursor: pointer; animation: pulse 1.5s infinite;">
🚀 Donate SOL
</button>
</a>
Step 3: Publish Your Post
- Click Publish and view your post to see the "Donate SOL" button.
- Clicking the button will open the Solana wallet with your address pre-filled.
🛠 Method 2: Automatically Add the Button to Every Blog Post
If you want the donate button to appear in every blog post automatically, you can modify your Blogger theme.
Step 1: Edit Your Theme Code
- Go to Blogger Dashboard → Theme → Customize → Edit HTML.
- Find (Ctrl + F)
<data:post.body/>or<div class='post-footer'>. - Paste this code below it:
<div style="text-align:center; margin-top:20px;">
<a href="solana:8xoacbambb4vA2qV7yXTd8rRxYW5QgyHuGi9XgZcA1ny" target="_blank">
<button style="background: linear-gradient(90deg, #00FFA3, #DC1FFF, #9945FF); color: white; padding: 12px 24px; border: none; border-radius: 5px; font-size: 18px; cursor: pointer; animation: pulse 1.5s infinite;">
🚀 Donate SOL
</button>
</a>
</div>
Step 2: Add Animation for the Button
To make the Donate button animated, add this CSS code inside <style> in your theme:
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.1); }
100% { transform: scale(1); }
}
Step 3: Save and Apply Changes
- Click Save Theme and check any blog post.
- The Donate SOL button should now appear at the bottom of every post!
✅ Conclusion
Adding a Donate Solana button is simple and effective. Whether you choose the manual method (for selected posts) or the automatic method (for all posts), your blog is now ready to receive crypto donations!
💡 Need help? Let me know in the comments!
- Get link
- X
- Other Apps
Popular Posts
How to Recover Lost or Stolen Crypto Funds
- Get link
- X
- Other Apps
Crypto Security & Fraud Awareness: Protect Your Digital Assets
- Get link
- X
- Other Apps
Comments
Post a Comment