DonatePR.com
  • Welcome
  • About
    • Introduction
    • Documentation
    • Terminology
    • Company
    • Pricing
    • Team
    • The DonatePR Way
      • Mission and Values
      • Community Guidelines
    • Hiring
    • Investors
    • Contributing
    • Refund Policy
    • Contact Us
  • Product
    • Features
    • Comparison
    • User Profile
    • Dashboard
      • Preview Features
    • Currencies
    • Log-in System
    • Privacy Policy
    • Moderation
    • Security
    • Ledger
      • Individual Transactions
      • Transaction Pairs, Groups & Perspectives
      • Viewing Transactions
      • Exporting Transactions
      • Fiscal Host Ledger Perspective
      • Contributions in the Ledger
      • Added Funds in the Ledger
      • Expenses in the Ledger
      • Ledger Changelog
    • Notifications
    • Two-factor Authentication
    • Activity Log
  • Communities
    • Communities FAQ
    • Creating a Community
    • Quick Start Guide
    • Community Settings
      • Customize Community
      • Team
      • Community Goals & Tiers
      • Expense Policy
      • Data Export
      • Security
      • Integrations
      • Zero Community Balance
      • Closing a Community
    • Add Fiscal Host
    • Change Fiscal Host
    • Transparent Budget
    • Expenses
    • Updates & Comms
    • Custom Email
    • Moderation
    • Conversations
    • Events
    • Projects
    • Funding Options
    • Connected Communities
    • Contribution flow
  • Financial Contributors
    • Financial Contributors FAQ
    • Guest contributions
    • Payments
    • Platform Tips
    • Receipts
    • Donation Letter
    • Community to Community
    • Organizations
      • Organization FAQ
      • Funds
      • Bulk Transfers
  • Expenses & Getting Paid
    • Expenses FAQ
    • Submitting Expenses
      • Inviting a third-party to submit an Expense
    • Expense Comments
    • Edit or Download an Expense
    • Receiving payment through Payoneer or Wise
    • Tax Information
  • Fiscal Hosts
    • Fiscal Hosts FAQ
    • Becoming a Fiscal Host
    • Creating a Fiscal Host
    • Organisation Settings
      • Info
      • Customize Profile Page
      • Connect external accounts
      • Accounting Categories
      • Security
      • Manage updates
      • Policies
    • Fiscal Host Dashboard
      • Expenses
      • Financial contributions
      • Pending applications
      • Hosted Communities
      • Vendors
      • Transaction Report
        • Reports
    • Receiving Money
      • Bank Transfers
      • Credit Card
      • Add Funds Manually
      • Expected Funds
    • Payouts
      • Payouts with PayPal
      • Two-factor authentication for payouts
      • Refunds
    • Host Fees
    • Local Tax Support
    • Agreement Templates
  • Independent Communities
    • About Independent Communities
    • Create an Independent Community
      • Migrate from Self-Hosted to Independent Community
      • Migrate from a Fiscal Host to Independent Community
    • Independent Community Setup
    • Independent Community Management
      • Money coming in: Contributions
      • Money going out: Expenses
    • Close an Independent Community
Powered by GitBook
On this page
  • Donate Button
  • Show Supporters & Sponsors
  • About the Copywrite
  • Related:
  1. Communities

Buttons & Banners

Last updated 6 months ago

Donate Button

<script src="https://donatepr.com/:communitySlug/:verb/button.js" color="[white|blue]"></script>

Just replace :communitySlug with the slug of your Community (e.g. webpack for ). The verb can either be "donate" or "contribute".

If you want to add a donate button to a blog post, you can load an image version of the logo and then link to the donate page of your community.

<a href="https://donatepr.com/webpack/donate" target="_blank">
  <img src="https://donatepr.com/webpack/donate/button@2x.png?color=blue" width=300 />
</a>

Result:

Show Supporters & Sponsors

Use this script:

<script src="https://donatepr.com/:communitySlug/banner.js"></script>

You can also add a style object (react style), e.g.

<script src='https://donatepr.com/:communitySlug/banner.js?style={"a":{"color":"red"},"h2":{"fontFamily":"Verdana","fontWeight":"normal","fontSize":"20px"}}'></script>

Note: make sure that your style object is parsable with JSON.stringify

Example:

How to customize?

By default, it uses the default styling of your h1 and h2 on your page. You can target them with CSS to customize:

#opencollective-banner h1 {
  color: black;
}

About the Copywrite

The designs of the buttons are licensed by Donate PR under a Creative Commons Attribution–Share-Alike 4.0 Unported license (“CC-BY-SA”). . . . Donate PR, the Donate PR Logo, are trademarks of Donate PR, Inc. and therefore they can’t be modified or used individually, for more info or request reach out to legal@donatepr.com

Related:

Here is an .

where :communitySlug is the slug of your community, e.g. apex for .

Website showing the Communities you back

showing your supporters, sponsors, or contributors

example
https://donatepr.com/priloveyou
https://www.donatepr.com/
badge
Export SVGs
https://donatepr.com/webpack