Stream Funding Page
This will document all the elements of the Stream funding screen.
1. Screen header
The information required for the screen text and the header image can be retrieved so:
Get page information
Getting the page title and the page's featured image requires two steps (2 requests)
Request the page information
curl -X GET 'https://maforum.ippf.org/wp-json/wp/v2/pages/146' \ --header 'x-connect-allow: string' \ --header 'Authorization: Bearer token'{ "id": 146, "date": "2024-06-13T05:49:23", "date_gmt": "2024-06-13T05:49:23", "guid": { "rendered": "http://ma-forum.staging/?page_id=146" }, "modified": "2025-01-09T10:42:56", "modified_gmt": "2025-01-09T10:42:56", "slug": "ippf-stream-funding", "status": "publish", "type": "page", "link": "https://maforum.ippf.org/ippf-stream-funding/", "title": { "rendered": "IPPF Stream Funding" }, "content": { "rendered": "", "protected": false }, "excerpt": { "rendered": "", "protected": false }, "author": 1, "featured_media": 148, "parent": 0, "menu_order": 0, "comment_status": "closed", "ping_status": "closed", "template": "page-stream-tpl.php", "meta": { "_acf_changed": false, "inline_featured_image": false, "footnotes": "" }, "class_list": [ "post-146", "page", "type-page", "status-publish", "has-post-thumbnail", "hentry" ], "acf": { "title_m": "Allocation Model", "description_m": "<p>Unrestricted funding is important for IPPF. It allows the federation to remain strategic and adaptive in ever-changing times. More than 100 IPPF members receive annual core grants. These funds are used to implement the <a href=\"https://www.ippf.org/resource/2023-2028-strategy\">shared global strategy</a>.</p>\n<p>The current allocation model is the result of the 2019 reform. The reform had two major outcomes: a new governance system and a streams-based resource allocation model. The reform was unanimously adopted at an extraordinary assembly of all members, which was held in New Delhi, India at the end of November 2019. The streams-based resource allocation model ensures a transparent and strategic use of unrestricted funds. And it improves the accountability to donors as well as the mutual accountability in the federation. The model has three separate streams that are explained here.</p>\n", "link_m": { "title": "SEE THE RESOURCE ALLOCATION MODEL", "url": "#", "target": "" }, "streams_m": [ { "title": "Stream 1", "description": "<p>Stream 1 is the largest of the three streams.</p>\n<p>It provides core funds to the Secretariat and Member Association.</p>\n<p>At least 80% of the total funds goes into Stream 1.</p>\n<p>The stream is open to the Secretariat and all OECD-DAC eligible IPPF Members.</p>\n<p>Collaborative Partners on a two-year trajectory to membership are also eligible.</p>\n" }, { "title": "Stream 2", "description": "<p>Stream 2 is for strategic projects and activites.</p>\n<p>It typically operates on 1 or 2-year time horizons.</p>\n<p>Stream 2 also caters for High Income Countries, through a ‘Leaving No-One Behind’ Channel, which will remain in place through 2022 and the 2023-25 cycle only.</p>\n<p>No more than 15% of the total unrestricted resources will be allocated to this stream.</p>\n" }, { "title": "Stream 3", "description": "<p>Stream 3 is for SRHR in crisis situations. It is also known as the Emergency Response Stream.</p>\n<p>IPPF Members and Partners who experience emergencies or crisis that affect SRHR delivery are able to apply for grants under this stream.</p>\n<p>No more than 5% of all unrestricted resources can be allocated to the stream.</p>\n" } ], "panel": [ { "panel_label": "Stream 1", "title": "Stream 1: Core Funding", "description": "<p><strong>Stream 1 is dedicated to core support. The funds originate from a variety of donors who have invested in the IPPF strategy. The funding supports all activities and actions that help the federation to meet its strategic goals and commitments. Stream 1 accounts for at least 80% of all unrestricted funding. The stream first became operational in 2021. In 2022, it had its first three-year cycle of funding, covering the period 2023-2025.<br />\n</strong></p>\n<p>The funds are earmarked for OECD-DAC eligible member associations. The Secretariat also draws funds from Stream 1. Lastly, Collaborative Partners on a 2-year pathway to membership are eligible for Stream 1.</p>\n<p>To ensure a fair and strategic distribution of the funds, the IPPF Board approves three-year allocations determined by a transparent mathematical formula using upwards of 46 different variables, including unmet contraceptive need and gross national income.</p>\n<p>To apply for the funds, MAs and the Secretariat must submit business plans outlining the totality of their operation in the funding cycle. The business plans are subject to independent technical review and high-level approvals.</p>\n<p>Members provide annual planning updates, as well as half-year and full year reports. The Secretariat presents annual business plans and annual reports as well as a 360-performance evaluation done by the members, known as the SAM.</p>\n", "right_column": "None", "block_type_1": { "image": false, "description": "", "link": null }, "block_style_2": { "primary_item": [ { "title": " 1. Board Committee proposes Stream 1 MA funding pool ", "secondary_item": false }, { "title": "2. Formula determines indicative allocations", "secondary_item": false }, { "title": "3. MAs work with Secretariat staff to draft three-year plans ", "secondary_item": false }, { "title": "4. Technical Review Team (TRT) reviews plans ", "secondary_item": [ { "title": "a. Full funding - TRT approves plan and recommends full funding (~80% of cases)" }, { "title": "b. Full funding after changes - TRT asks for changes to plan and/or TA commitments, then recommends full funding (~15% of cases)" }, { "title": "c. Partial funding - TRT asks for changes, but MA does not fulfill them so TRT recommends partial funding (~5% of cases)" } ] }, { "title": "5. Directors' Leadership Team reviews TRT recommendations ", "secondary_item": false }, { "title": "6. Secretariat staff hold mid-cycle reviews", "secondary_item": false } ] } }, { "panel_label": "Stream 2", "title": "Stream 2: Strategic Fund", "description": "<p>Stream 2 is devoted to MA-led catalytic and strategic action. For this reason, it is also known as the Strategic Fund. The fund is dynamic as it support a range of actions, and its thematic focus varies from year to year.</p>\n<p>The stream is separated into five separate channels.</p>\n<p><strong> 1. Consortium Channel</strong><br />\nThe largest is the consortium channel, which provides an annual grant to a member-led consortium working in a predefined strategic priority.</p>\n<p>The channel was opened in 2021, and to-date has supported four consortia.</p>\n<p>2021: Abortion self-care</p>\n<p>2022: Gender-transformative youth programming</p>\n<p>2023: Biomedical HIV Prevention</p>\n<p>2024: Implementing the IPPF Sex Worker Policy</p>\n<p>The grants vary between USD 2-3 million for a 2-year programme.</p>\n<p><strong>2. Co-investment Channel</strong><br />\nThe channel supports win-win scenarios where larger amounts of funding are unlocked by an IPPF co-investment. The projects must comply with the Stream 2 criteria and directly benefit several IPPF member associations.</p>\n<p>The channel is not open at the moment.</p>\n<p><strong>3. Regional Opportunity Grants Channel</strong><br />\nThis channel provides smaller local grants to MAs or Partners responding to a strategic barrier or opportunity. The total annual budget is around half a million US Dollars, which is split between the six regions. The maximum single grant size will be USD 30,000.</p>\n<p>The Regional Opportunity Grants are available through the regional directors.</p>\n<p><strong>4. Centers & Funds Channel</strong><br />\nThis channel supports MA-led technical centers that build and share expertise in strategic areas. These are known as the IPPF Centers.</p>\n<p>The channel can only be accessed by existing IPPF Center, who have been invited to submit an application, or through tendering of new IPPF Centers.</p>\n", "right_column": "None", "block_type_1": { "image": false, "description": "", "link": null }, "block_style_2": { "primary_item": false } }, { "panel_label": "Stream 3", "title": "Stream 3: Humanitarian Fund", "description": "<p><strong>Humanitarian SRHR Fund</strong></p>\n<p><strong>The third stream is devoted to SRHR delivery in emergency situations. The channels offers rapid response funding to safeguard key services and commodities.</strong></p>\n<p>The channel encourage all Member Associations or Collaboraitve Partners who are currently experiencing a protracted crisis, or experience an acute crisis in the future, to apply for the new Stream 3 humanitarian funding, which is intended for timely, life-saving sexual and reproductive health services in humanitarian settings.<br />\nTo apply, MAs and CPs should fill out this <strong>short alert form</strong> and send to <strong>humanitarianteam@ippf.org</strong></p>\n<p>In addition to a grant of between USD50,000 and USD200,000 (dependant on the length of the crisis and other variables), the MA will also get technical support on preparedness, program design, proposal writing, service delivery, security management and supply chain management from both the Humanitarian Team and the Regional Office.</p>\n<p>The timing of proposal submission is flexible and can be rolled out throughout the year to meet the needs of dynamic and unexpected humanitarian disasters.</p>\n<p>Timeliness of proposal development and response is imperative for sudden-onset crises, because of this Stream 3 will ensure a fast application process, followed by the quick release of funds.</p>\n", "right_column": "Block with text and image", "block_type_1": { "image": { "ID": 170, "id": 170, "title": "stream-1", "filename": "stream-1.jpg", "filesize": 251885, "url": "https://maforum.ippf.org/wp-content/uploads/2024/06/stream-1.jpg", "link": "https://maforum.ippf.org/ippf-stream-funding/stream-1/", "alt": "", "author": "1", "description": "", "caption": "", "name": "stream-1", "status": "inherit", "uploaded_to": 146, "date": "2024-06-14 07:32:34", "modified": "2024-06-14 07:32:34", "menu_order": 0, "mime_type": "image/jpeg", "type": "image", "subtype": "jpeg", "icon": "https://maforum.ippf.org/wp-includes/images/media/default.png", "width": 619, "height": 382, "sizes": { "thumbnail": "https://maforum.ippf.org/wp-content/uploads/2024/06/stream-1-150x150.jpg", "thumbnail-width": 150, "thumbnail-height": 150, "medium": "https://maforum.ippf.org/wp-content/uploads/2024/06/stream-1-300x185.jpg", "medium-width": 300, "medium-height": 185, "medium_large": "https://maforum.ippf.org/wp-content/uploads/2024/06/stream-1.jpg", "medium_large-width": 619, "medium_large-height": 382, "large": "https://maforum.ippf.org/wp-content/uploads/2024/06/stream-1.jpg", "large-width": 619, "large-height": 382, "1536x1536": "https://maforum.ippf.org/wp-content/uploads/2024/06/stream-1.jpg", "1536x1536-width": 619, "1536x1536-height": 382, "2048x2048": "https://maforum.ippf.org/wp-content/uploads/2024/06/stream-1.jpg", "2048x2048-width": 619, "2048x2048-height": 382, "medium-thumb-size": "https://maforum.ippf.org/wp-content/uploads/2024/06/stream-1-500x382.jpg", "medium-thumb-size-width": 500, "medium-thumb-size-height": 382 } }, "description": "<h3>When can we apply?</h3>\n<p>The stream has been operational since 1 January 2021 and has already enabled several MAs to respond to humanitarian crises and emergencies.</p>\n<h3>Who can apply?</h3>\n<p>All IPPF members and collaborative partners can apply, regardless of their country income status. Please get in touch with the Humanitarian Team to apply or find out further information.</p>\n", "link": { "title": "Step by Step application process and templates", "url": "#", "target": "_blank" } }, "block_style_2": { "primary_item": false } } ] }, "lang": "en", "translations": { "en": 146, "es": 10131, "fr": 10128, "ar": 10134 }, "pll_sync_post": [], "_links": { "self": [ { "href": "https://maforum.ippf.org/wp-json/wp/v2/pages/146", "targetHints": { "allow": [ "GET", "POST", "PUT", "PATCH", "DELETE" ] } } ], "collection": [ { "href": "https://maforum.ippf.org/wp-json/wp/v2/pages" } ], "about": [ { "href": "https://maforum.ippf.org/wp-json/wp/v2/types/page" } ], "author": [ { "embeddable": true, "href": "https://maforum.ippf.org/wp-json/wp/v2/users/1" } ], "replies": [ { "embeddable": true, "href": "https://maforum.ippf.org/wp-json/wp/v2/comments?post=146" } ], "version-history": [ { "count": 18, "href": "https://maforum.ippf.org/wp-json/wp/v2/pages/146/revisions" } ], "predecessor-version": [ { "id": 15477, "href": "https://maforum.ippf.org/wp-json/wp/v2/pages/146/revisions/15477" } ], "wp:featuredmedia": [ { "embeddable": true, "href": "https://maforum.ippf.org/wp-json/wp/v2/media/148" } ], "wp:attachment": [ { "href": "https://maforum.ippf.org/wp-json/wp/v2/media?parent=146" } ], "curies": [ { "name": "wp", "href": "https://api.w.org/{rel}", "templated": true } ] } }- Title
Ex. "IPPF ..." -
title->rendered- Header image
Get the column
featured_mediaand make the media request below.
Request the media info based on information from the page request's response
To get the featured image, you use the column
featured_mediawhich contains the ID of the media item.curl -X GET 'https://maforum.ippf.org/wp-json/wp/v2/media/55' \ --header 'x-connect-allow: string' \ --header 'Authorization: Bearer token'{ "id": 36, "date": "2024-06-03T06:27:27", "date_gmt": "2024-06-03T06:27:27", "guid": { "rendered": "http://ma-forum.staging/wp-content/uploads/2024/06/home-image-opt.jpg" }, "modified": "2024-06-03T06:27:27", "modified_gmt": "2024-06-03T06:27:27", "slug": "home-image-opt", "status": "inherit", "type": "attachment", "link": "https://maforum.ippf.org/ma-forum/home-image-opt/", "title": { "rendered": "home-image-opt" }, "author": 1, "featured_media": 0, "comment_status": "", "ping_status": "closed", "template": "", "meta": { "_acf_changed": false, "inline_featured_image": false }, "class_list": [ "post-36", "attachment", "type-attachment", "status-inherit", "hentry" ], "acf": [], "lang": "en", "translations": { "en": 36, "fr": 9298, "es": 9306, "ar": 9314 }, "pll_sync_post": [], "description": { "rendered": "<p class=\"attachment\"><a href='https://maforum.ippf.org/wp-content/uploads/2024/06/home-image-opt.jpg'><img decoding=\"async\" width=\"300\" height=\"176\" src=\"https://maforum.ippf.org/wp-content/uploads/2024/06/home-image-opt-300x176.jpg\" class=\"attachment-medium size-medium\" alt=\"\" srcset=\"https://maforum.ippf.org/wp-content/uploads/2024/06/home-image-opt-300x176.jpg 300w, https://maforum.ippf.org/wp-content/uploads/2024/06/home-image-opt-1024x602.jpg 1024w, https://maforum.ippf.org/wp-content/uploads/2024/06/home-image-opt-768x451.jpg 768w, https://maforum.ippf.org/wp-content/uploads/2024/06/home-image-opt-1536x902.jpg 1536w, https://maforum.ippf.org/wp-content/uploads/2024/06/home-image-opt.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" /></a></p>\n" }, "caption": { "rendered": "" }, "alt_text": "", "media_type": "image", "mime_type": "image/jpeg", "media_details": { "width": 1920, "height": 1128, "file": "2024/06/home-image-opt.jpg", "filesize": 195319, "sizes": { "medium": { "file": "home-image-opt-300x176.jpg", "width": 300, "height": 176, "filesize": 18839, "mime_type": "image/jpeg", "source_url": "https://maforum.ippf.org/wp-content/uploads/2024/06/home-image-opt-300x176.jpg" }, "large": { "file": "home-image-opt-1024x602.jpg", "width": 1024, "height": 602, "filesize": 134639, "mime_type": "image/jpeg", "source_url": "https://maforum.ippf.org/wp-content/uploads/2024/06/home-image-opt-1024x602.jpg" }, "thumbnail": { "file": "home-image-opt-150x150.jpg", "width": 150, "height": 150, "filesize": 9371, "mime_type": "image/jpeg", "source_url": "https://maforum.ippf.org/wp-content/uploads/2024/06/home-image-opt-150x150.jpg" }, "medium_large": { "file": "home-image-opt-768x451.jpg", "width": 768, "height": 451, "filesize": 85834, "mime_type": "image/jpeg", "source_url": "https://maforum.ippf.org/wp-content/uploads/2024/06/home-image-opt-768x451.jpg" }, "1536x1536": { "file": "home-image-opt-1536x902.jpg", "width": 1536, "height": 902, "filesize": 243107, "mime_type": "image/jpeg", "source_url": "https://maforum.ippf.org/wp-content/uploads/2024/06/home-image-opt-1536x902.jpg" }, "medium-thumb-size": { "file": "home-image-opt-500x500.jpg", "width": 500, "height": 500, "filesize": 63891, "mime_type": "image/jpeg", "source_url": "https://maforum.ippf.org/wp-content/uploads/2024/06/home-image-opt-500x500.jpg" }, "full": { "file": "home-image-opt.jpg", "width": 1920, "height": 1128, "mime_type": "image/jpeg", "source_url": "https://maforum.ippf.org/wp-content/uploads/2024/06/home-image-opt.jpg" } }, "image_meta": { "aperture": "0", "credit": "", "camera": "", "caption": "", "created_timestamp": "0", "copyright": "", "focal_length": "0", "iso": "0", "shutter_speed": "0", "title": "", "orientation": "0", "keywords": [] } }, "post": 25, "source_url": "https://maforum.ippf.org/wp-content/uploads/2024/06/home-image-opt.jpg", "_links": { "self": [ { "href": "https://maforum.ippf.org/wp-json/wp/v2/media/36", "targetHints": { "allow": [ "GET", "POST", "PUT", "PATCH", "DELETE" ] } } ], "collection": [ { "href": "https://maforum.ippf.org/wp-json/wp/v2/media" } ], "about": [ { "href": "https://maforum.ippf.org/wp-json/wp/v2/types/attachment" } ], "author": [ { "embeddable": true, "href": "https://maforum.ippf.org/wp-json/wp/v2/users/1" } ], "replies": [ { "embeddable": true, "href": "https://maforum.ippf.org/wp-json/wp/v2/comments?post=36" } ] } }- Image URL
Choose what size you want. I think you should go with large, but you check how it all displays.
media_details->sizes->large->source_url
2. Stream tabs
Content can be retrieved from the main page query.
- Tab title
acf->panel->panel_label- Content title
acf->panel->title- Description
acf->panel->description
2.a. Stream 1 process
- Title
Loop through
acf->panel->block_style_2->primary_item->title
2.b. Stream 3 sidebar
- Image
acf->panel->block_type_1->image->url- Description
acf->panel->block_type_1->description- Link
acf->panel->block_type_1->link->titleandacf->panel->block_type_1->link->url
3. Allocation model
Content can be retrieved from the main page query.
- Title
acf->title_m- Description
acf->description_m- Streams
Title:
acf->streams_m->title
Description:acf->streams_m->description