Skip to content

Instantly share code, notes, and snippets.

@matheuswd
Last active April 8, 2021 15:47
Show Gist options
  • Save matheuswd/5183bc9593ea7a163c068a5c80c864e6 to your computer and use it in GitHub Desktop.
Save matheuswd/5183bc9593ea7a163c068a5c80c864e6 to your computer and use it in GitHub Desktop.
This code allows you to add some custom HTML below the GiveWP Form using the legacy template.
<?php
function custom_text_below_title() {
echo '<h2>my custom subtitle</h2>';
}
add_action( 'give_before_template_part', 'custom_text_below_title' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment