Skip to content

Instantly share code, notes, and snippets.

@CameronGilroy
Created September 27, 2019 01:10
Show Gist options
  • Save CameronGilroy/c6ca31262dfd9d9b642e9eba38a88c5e to your computer and use it in GitHub Desktop.
Save CameronGilroy/c6ca31262dfd9d9b642e9eba38a88c5e to your computer and use it in GitHub Desktop.
GiveWP & Oxygen
https://nnsw.adventist.org.au/donations/bibles-for-the-philippines/
[oxygen data='excerpt' ] was used in a text box to display the give wp text
<?php
echo do_shortcode( '[give_form id="'.get_the_ID().'" show_title="false" show_goal="true" show_content="above"]' );
?>
[ct_new_columns ct_options='{"ct_id":4,"ct_parent":0,"selector":"new_columns-4-12387"}'][ct_div_block ct_options='{"ct_id":5,"ct_parent":4,"selector":"div_block-5-12387","original":{"width":40,"width-unit":"%"},"activeselector":false}'][ct_code_block ct_options='{"ct_id":3,"ct_parent":5,"selector":"code_block-3-12387","original":{"code-php":"PD9waHAKCWVjaG8gZG9fc2hvcnRjb2RlKCAnW2dpdmVfZm9ybSBpZD0iJy5nZXRfdGhlX0lEKCkuJyIgc2hvd190aXRsZT0iZmFsc2UiIHNob3dfZ29hbD0idHJ1ZSIgc2hvd19jb250ZW50PSJhYm92ZSJdJyApOwo/Pg=="},"activeselector":false}'][/ct_code_block][/ct_div_block][ct_div_block ct_options='{"ct_id":6,"ct_parent":4,"selector":"div_block-6-12387","original":{"width":60,"width-unit":"%"},"activeselector":false}'][ct_text_block ct_options='{"ct_id":11,"ct_parent":6,"selector":"text_block-11-12387","original":{"margin-top":"58"},"activeselector":false}'][ct_span ct_options='{"ct_id":12,"ct_parent":11,"selector":"span-12-12387"}'][oxygen data='excerpt' ][/ct_span][/ct_text_block][ct_headline ct_options='{"ct_id":15,"ct_parent":6,"selector":"headline-15-12387","original":{"tag":"h4","margin-top":"36"},"activeselector":false}']Thanks to our generous donors![/ct_headline][ct_code_block ct_options='{"ct_id":14,"ct_parent":6,"selector":"code_block-14-12387","original":{"code-php":"PD9waHAKCS8vZWNobyBkb19zaG9ydGNvZGUoICdbZ2l2ZV9mb3JtIGlkPSInLmdldF90aGVfSUQoKS4nIiBzaG93X3RpdGxlPSJmYWxzZSIgc2hvd19nb2FsPSJ0cnVlIiBzaG93X2NvbnRlbnQ9ImFib3ZlIl0nICk7CgllY2hvIGRvX3Nob3J0Y29kZSggJ1tnaXZlX2Rvbm9yX3dhbGwgZm9ybV9pZD0iJy5nZXRfdGhlX0lEKCkuJyIgc2hvd19hdmF0YXI9ImZhbHNlIiBzaG93X25hbWU9ImZhbHNlIiBzaG93X3RpbWU9ImZhbHNlIiBzaG93X2NvbW1lbnRzPSJmYWxzZSJdJyApOwo/Pg=="},"activeselector":false}'][/ct_code_block][/ct_div_block][/ct_new_columns]
<?php
echo do_shortcode( '[give_donor_wall form_id="'.get_the_ID().'" show_avatar="false" show_name="false" show_time="false" show_comments="false"]' );
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment