// Yahweh Mission Dashboard Integration — WPCode snippet version
// Paste this into a new PHP Snippet in WPCode, set to run "Auto Insert" /
// "Everywhere", and activate it. Functionally identical to the plugin
// version — just packaged as a snippet since this host strips .php files
// out of uploaded plugin zips.
if (!function_exists('ymi_get_api_url')) {
function ymi_get_api_url() {
return rtrim(get_option('ymi_dashboard_api_url', ''), '/');
}
}
// ---- Settings page: Settings -> Yahweh Mission ----
add_action('admin_menu', function () {
add_options_page('Yahweh Mission Dashboard', 'Yahweh Mission', 'manage_options', 'yahweh-mission', 'ymi_render_settings_page');
});
add_action('admin_init', function () {
register_setting('ymi_settings', 'ymi_dashboard_api_url', array(
'sanitize_callback' => 'esc_url_raw',
'default' => '',
));
});
function ymi_render_settings_page() {
if (!current_user_can('manage_options')) {
return;
}
$api_url = get_option('ymi_dashboard_api_url', '');
?>
Yahweh Mission Dashboard
Connects this site to the Yahweh Mission Dashboard so published children, gifts, and projects appear here automatically via the [ymi_children], [ymi_gift_catalog], and [ymi_child_profile] shortcodes.
Connection check
8));
if (is_wp_error($response)) {
echo '
Could not reach the dashboard: ' . esc_html($response->get_error_message()) . '
Your sponsorship can become the reason a child stays in school, receives care, feels valued, and believes that their life can change.
Child sponsorship is a meaningful way to personally support a child who is growing up in poverty, hardship, or limited opportunity. Through your sponsorship, you help provide the care, resources, and encouragement a child needs to grow, study, stay healthy, and move toward a better future.
At Yahweh Mission International, sponsorship is not only about giving financial support. It is about standing with a child, believing in their future, and becoming part of their journey. Your gift can help provide education, school supplies, food, medical care, clothing, family support, and spiritual encouragement.
Every child has a story. Every child has potential. Through sponsorship, you help open a door that may have been closed because of poverty, illness, family struggles, or lack of access to basic needs.
When you sponsor a child through Yahweh Mission International, we want you to feel connected to the life you are helping to impact. Your giving is not just a donation — it is a relationship of kindness, hope, and encouragement.
01, A Thank You Letter
You will receive a personal thank you note or letter from the child you are supporting. This letter allows the child to express gratitude and helps you see the heart behind your sponsorship.
02. Photos & Updates
You will receive photos and meaningful updates from the mission field, showing how your support is helping the child and their community. These updates help you see the real difference your gift is making.
03. A Thank You Video
Where possible, you will also receive a short thank you video from the child or from the mission team on behalf of the child. This gives you a personal glimpse into the joy and appreciation your sponsorship brings.
For the safety, dignity, and privacy of every child, all photos, videos, and communication will be shared respectfully and responsibly through Yahweh Mission International.
WAYS TO GIVE
TYPES OF SPONSORSHIP
Every child and family has different needs. Some children need help to continue their education. Some need medical care. Some families need support to rebuild their lives and become stable. Through Yahweh Mission International, you can choose a sponsorship area that is close to your heart.
01. Education Sponsorship
Help a child stay in school by supporting school fees, books, uniforms, stationery, tuition, learning materials, and other education-related needs. Education gives a child confidence, opportunity, and a path toward a better future.
04. Family Support Sponsorship
Support a child’s family with practical help that allows them to become stronger and more stable. This may include basic living needs, emergency support, or assistance that helps the family move forward.
02. Food & Nutrition Sponsorship
Help provide meals, dry rations, nutrition support, and essential food items for children and families who are struggling with hunger and poverty.
03. Medical Sponsorship
Support children and families who need help with medical expenses, medicine, doctor visits, emergency care, or ongoing health support. Your gift can bring relief during a difficult and painful season.
05. Lifetime Impact Sponsorship
For donors who want to make a deeper long-term difference, this sponsorship supports a child or family beyond one immediate need. It helps create lasting change through education, care, family stability, and continued guidance.
Whether your gift is small or large, one-time or ongoing, it can become a life-changing blessing for a child in need.
Every act of giving carries a story. Our donors are people who chose to step forward with compassion and help a child experience hope, care, and opportunity.
Michael Thompson
Donor
“The thank you note and photos made the experience so personal. I could see that my support was reaching a real child with real needs, and that made me want to continue helping.”
Monthly Child Sponsor
Emma Richardson
Mission Supporter
“I wanted to give in a way that truly mattered. Sponsoring through Yahweh Mission International gave me the opportunity to support not just a child, but a future.”
“Knowing that my donation helped a child continue their education touched my heart deeply. It reminded me that even one act of kindness can change the direction of someone’s life.
Donor
A Grateful Sponsor
Are You Ready to Make a Change in a Child’s Life?
Your first donation can be the beginning of something beautiful. It can bring hope to a child, relief to a family, and purpose to your own heart. When you choose to sponsor, you are not only helping a child move forward — you are becoming part of a story of transformation.
One gift. One child. One step toward a better future.