Skip to content

Embedding the Widget

The donation widget can be placed on any page, post, or template using three methods.

In the WordPress block editor, search for Pybara Donate and insert the block. No configuration needed — the block uses your saved plugin settings.

Paste the shortcode into any page, post, or text widget:

[pybara_donate]

This works in the Classic Editor, block editor (Shortcode block), Elementor, and most page builders.

To embed the widget directly in a theme template file:

<?php echo do_shortcode('[pybara_donate]'); ?>

Place this in your theme’s page.php, single.php, sidebar.php, or any custom template file.


  • Dedicated donation page — Create a page (e.g. /donate) and add the widget as the primary content
  • Sidebar widget — Add a Text widget with the shortcode to your sidebar
  • Footer — Embed in footer.php for site-wide visibility
  • Within content — Drop the shortcode mid-post to add a donation prompt inline