Writerside_libraries Help

MA-Voices Page

This will document all the elements of the MA Voices 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)

  1. Request the page information

    curl -X GET 'https://maforum.ippf.org/wp-json/wp/v2/pages/226' \ --header 'x-connect-allow: string' \ --header 'Authorization: Bearer token'
    { "id": 226, "date": "2024-06-21T06:34:40", "date_gmt": "2024-06-21T06:34:40", "guid": { "rendered": "http://ma-forum.staging/?page_id=226" }, "modified": "2024-06-21T06:35:29", "modified_gmt": "2024-06-21T06:35:29", "slug": "ma-voices", "status": "publish", "type": "page", "link": "https://maforum.ippf.org/ma-voices/", "title": { "rendered": "MA Voices" }, "content": { "rendered": "", "protected": false }, "excerpt": { "rendered": "", "protected": false }, "author": 1, "featured_media": 228, "parent": 0, "menu_order": 0, "comment_status": "closed", "ping_status": "closed", "template": "page-voices-tpl.php", "meta": { "_acf_changed": false, "inline_featured_image": false, "footnotes": "" }, "class_list": [ "post-226", "page", "type-page", "status-publish", "has-post-thumbnail", "hentry" ], "acf": [], "lang": "en", "translations": { "en": 226, "es": 10213, "fr": 10209, "ar": 10217 }, "pll_sync_post": [], "_links": { "self": [ { "href": "https://maforum.ippf.org/wp-json/wp/v2/pages/226", "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=226" } ], "version-history": [ { "count": 1, "href": "https://maforum.ippf.org/wp-json/wp/v2/pages/226/revisions" } ], "predecessor-version": [ { "id": 227, "href": "https://maforum.ippf.org/wp-json/wp/v2/pages/226/revisions/227" } ], "wp:featuredmedia": [ { "embeddable": true, "href": "https://maforum.ippf.org/wp-json/wp/v2/media/228" } ], "wp:attachment": [ { "href": "https://maforum.ippf.org/wp-json/wp/v2/media?parent=226" } ], "curies": [ { "name": "wp", "href": "https://api.w.org/{rel}", "templated": true } ] } }
    Title

    Ex. "MA ..." - title->rendered

    Header image

    Get the column featured_media and make the media request below.

  2. Request the media info based on information from the page request's response

    To get the featured image, you use the column featured_media which 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. Spotlight

curl -X GET 'https://maforum.ippf.org/wp-json/wp/v2/ma-voices?per_page=10&page=1&orderby=date&order=desc&lang=en&spotlight=1' \ --header 'x-connect-allow: string' \ --header 'Authorization: Bearer token'
[ { "id": 18641, "date": "2025-06-30T09:19:23", "date_gmt": "2025-06-30T08:19:23", "guid": { "rendered": "https://maforum.ippf.org/?post_type=ma-voices&#038;p=18641" }, "modified": "2025-06-30T09:19:24", "modified_gmt": "2025-06-30T08:19:24", "slug": "tokyo-marathon-2026-charity-healthy-women-healthy-world", "status": "publish", "type": "ma-voices", "link": "https://maforum.ippf.org/ma-voices/tokyo-marathon-2026-charity-healthy-women-healthy-world/", "title": { "rendered": "Tokyo Marathon 2026 Charity- Healthy women, Healthy world!" }, "content": { "rendered": "<p>Are you a passionate runner??<br />Would you like to link your love for a run with a good cause that would benefit the health of women around the world?</p>\n<p>JOICFP will participate in the Tokyo Marathon 2026 [Sunday, March 1, 2026] as an official charity organization.</p>\n<p>March is the White Ribbon Month to promote women’s health and rights. Please link your action of challenging the Tokyo Marathon 2026 Charity to our activities that promote women’s health worldwide and empower each of them during the White Ribbon Month.</p>\n<p>See the link below for more information 🙂<br /><a href=\"_wp_link_placeholder\" data-wplink-edit=\"true\">https://www.joicfp.or.jp/eng/civil-society-partnership/tokyo-marathon-2026-charity/</a></p>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"451\" src=\"https://maforum.ippf.org/wp-content/uploads/2025/06/image-1-1024x451.png\" alt=\"\" class=\"wp-image-18650\" srcset=\"https://maforum.ippf.org/wp-content/uploads/2025/06/image-1-1024x451.png 1024w, https://maforum.ippf.org/wp-content/uploads/2025/06/image-1-300x132.png 300w, https://maforum.ippf.org/wp-content/uploads/2025/06/image-1-768x339.png 768w, https://maforum.ippf.org/wp-content/uploads/2025/06/image-1-1536x677.png 1536w, https://maforum.ippf.org/wp-content/uploads/2025/06/image-1.png 1683w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" /></figure>\n", "protected": false }, "excerpt": { "rendered": "<p>Are you a passionate runner??Would you like to link your love for a run with a good cause that would benefit the health of women around the world? JOICFP will participate in the Tokyo Marathon 2026 [Sunday, March 1, 2026] as an official charity organization. March is the White Ribbon Month to promote women’s health [&hellip;]</p>\n", "protected": false }, "featured_media": 18650, "template": "", "regions": [], "class_list": [ "post-18641", "ma-voices", "type-ma-voices", "status-publish", "has-post-thumbnail", "hentry" ], "acf": { "display_on_home": false, "featured": false, "spotlight": false, "type": { "value": "blog-post", "label": "Blog Post" }, "embed_video": null }, "lang": "en", "translations": { "en": 18641, "es": 18656, "fr": 18653, "ar": 18659 }, "fimg_url": "https://maforum.ippf.org/wp-content/uploads/2025/06/image-1.png", "pll_sync_post": [], "_links": { "self": [ { "href": "https://maforum.ippf.org/wp-json/wp/v2/ma-voices/18641", "targetHints": { "allow": [ "GET", "POST", "PUT", "PATCH", "DELETE" ] } } ], "collection": [ { "href": "https://maforum.ippf.org/wp-json/wp/v2/ma-voices" } ], "about": [ { "href": "https://maforum.ippf.org/wp-json/wp/v2/types/ma-voices" } ], "wp:featuredmedia": [ { "embeddable": true, "href": "https://maforum.ippf.org/wp-json/wp/v2/media/18650" } ], "wp:attachment": [ { "href": "https://maforum.ippf.org/wp-json/wp/v2/media?parent=18641" } ], "wp:term": [ { "taxonomy": "regions", "embeddable": true, "href": "https://maforum.ippf.org/wp-json/wp/v2/regions?post=18641" } ], "curies": [ { "name": "wp", "href": "https://api.w.org/{rel}", "templated": true } ] } } ]
Title

title->rendered

Excerpt

excerpt->rendered

Type

acf->type->label

Image URL

fimg_url

3. Voices

curl -X GET 'https://maforum.ippf.org/wp-json/wp/v2/ma-voices?per_page=10&page=1&orderby=date&order=desc&lang=en' \ --header 'x-connect-allow: string' \ --header 'Authorization: Bearer token'
[ { "id": 18641, "date": "2025-06-30T09:19:23", "date_gmt": "2025-06-30T08:19:23", "guid": { "rendered": "https://maforum.ippf.org/?post_type=ma-voices&#038;p=18641" }, "modified": "2025-06-30T09:19:24", "modified_gmt": "2025-06-30T08:19:24", "slug": "tokyo-marathon-2026-charity-healthy-women-healthy-world", "status": "publish", "type": "ma-voices", "link": "https://maforum.ippf.org/ma-voices/tokyo-marathon-2026-charity-healthy-women-healthy-world/", "title": { "rendered": "Tokyo Marathon 2026 Charity- Healthy women, Healthy world!" }, "content": { "rendered": "<p>Are you a passionate runner??<br />Would you like to link your love for a run with a good cause that would benefit the health of women around the world?</p>\n<p>JOICFP will participate in the Tokyo Marathon 2026 [Sunday, March 1, 2026] as an official charity organization.</p>\n<p>March is the White Ribbon Month to promote women’s health and rights. Please link your action of challenging the Tokyo Marathon 2026 Charity to our activities that promote women’s health worldwide and empower each of them during the White Ribbon Month.</p>\n<p>See the link below for more information 🙂<br /><a href=\"_wp_link_placeholder\" data-wplink-edit=\"true\">https://www.joicfp.or.jp/eng/civil-society-partnership/tokyo-marathon-2026-charity/</a></p>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"451\" src=\"https://maforum.ippf.org/wp-content/uploads/2025/06/image-1-1024x451.png\" alt=\"\" class=\"wp-image-18650\" srcset=\"https://maforum.ippf.org/wp-content/uploads/2025/06/image-1-1024x451.png 1024w, https://maforum.ippf.org/wp-content/uploads/2025/06/image-1-300x132.png 300w, https://maforum.ippf.org/wp-content/uploads/2025/06/image-1-768x339.png 768w, https://maforum.ippf.org/wp-content/uploads/2025/06/image-1-1536x677.png 1536w, https://maforum.ippf.org/wp-content/uploads/2025/06/image-1.png 1683w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" /></figure>\n", "protected": false }, "excerpt": { "rendered": "<p>Are you a passionate runner??Would you like to link your love for a run with a good cause that would benefit the health of women around the world? JOICFP will participate in the Tokyo Marathon 2026 [Sunday, March 1, 2026] as an official charity organization. March is the White Ribbon Month to promote women’s health [&hellip;]</p>\n", "protected": false }, "featured_media": 18650, "template": "", "regions": [], "class_list": [ "post-18641", "ma-voices", "type-ma-voices", "status-publish", "has-post-thumbnail", "hentry" ], "acf": { "display_on_home": false, "featured": false, "spotlight": false, "type": { "value": "blog-post", "label": "Blog Post" }, "embed_video": null }, "lang": "en", "translations": { "en": 18641, "es": 18656, "fr": 18653, "ar": 18659 }, "fimg_url": "https://maforum.ippf.org/wp-content/uploads/2025/06/image-1.png", "pll_sync_post": [], "_links": { "self": [ { "href": "https://maforum.ippf.org/wp-json/wp/v2/ma-voices/18641", "targetHints": { "allow": [ "GET", "POST", "PUT", "PATCH", "DELETE" ] } } ], "collection": [ { "href": "https://maforum.ippf.org/wp-json/wp/v2/ma-voices" } ], "about": [ { "href": "https://maforum.ippf.org/wp-json/wp/v2/types/ma-voices" } ], "wp:featuredmedia": [ { "embeddable": true, "href": "https://maforum.ippf.org/wp-json/wp/v2/media/18650" } ], "wp:attachment": [ { "href": "https://maforum.ippf.org/wp-json/wp/v2/media?parent=18641" } ], "wp:term": [ { "taxonomy": "regions", "embeddable": true, "href": "https://maforum.ippf.org/wp-json/wp/v2/regions?post=18641" } ], "curies": [ { "name": "wp", "href": "https://api.w.org/{rel}", "templated": true } ] } } ]
Title

title->rendered

Excerpt

excerpt->rendered

Type

acf->type->label

Image URL

fimg_url

4. Notice Board

curl -X GET 'https://maforum.ippf.org/wp-json/wp/v2/posts?per_page=10&lang=en&type=post&orderby=date&order=desc&display_on_home=1' \ --header 'x-connect-allow: string' \ --header 'Authorization: Bearer token'
[ { "id": 19483, "date": "2025-07-18T10:52:57", "date_gmt": "2025-07-18T09:52:57", "guid": { "rendered": "https://maforum.ippf.org/?p=19483" }, "modified": "2025-07-18T10:52:59", "modified_gmt": "2025-07-18T09:52:59", "slug": "ippf-at-the-4th-international-conference-on-financing-for-development-ffd4", "status": "publish", "type": "post", "link": "https://maforum.ippf.org/2025/07/18/ippf-at-the-4th-international-conference-on-financing-for-development-ffd4/", "title": { "rendered": "IPPF at the 4th International Conference on Financing for Development (FfD4)" }, "content": { "rendered": "\n<p>Read IPPF Report below: </p>\n\n\n\n<div data-wp-interactive=\"core/file\" class=\"wp-block-file\"><object data-wp-bind--hidden=\"!state.hasPdfPreview\" hidden class=\"wp-block-file__embed\" data=\"https://maforum.ippf.org/wp-content/uploads/2025/07/REPORT-IPPF-AT-FFD4-EN.pdf\" type=\"application/pdf\" style=\"width:100%;height:600px\" aria-label=\"Embed of REPORT IPPF AT FFD4 (EN).\"></object><a id=\"wp-block-file--media-49e05132-bd0b-4db1-93d3-177065ac3896\" href=\"https://maforum.ippf.org/wp-content/uploads/2025/07/REPORT-IPPF-AT-FFD4-EN.pdf\">REPORT IPPF AT FFD4 (EN)</a><a href=\"https://maforum.ippf.org/wp-content/uploads/2025/07/REPORT-IPPF-AT-FFD4-EN.pdf\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-49e05132-bd0b-4db1-93d3-177065ac3896\">Download</a></div>\n", "protected": false }, "excerpt": { "rendered": "<p>Read IPPF Report below:</p>\n", "protected": false }, "author": 4, "featured_media": 19484, "comment_status": "closed", "ping_status": "closed", "sticky": false, "template": "", "format": "standard", "meta": { "_acf_changed": false, "inline_featured_image": false, "footnotes": "" }, "categories": [ 1 ], "tags": [], "regions": [], "class_list": [ "post-19483", "post", "type-post", "status-publish", "format-standard", "has-post-thumbnail", "hentry", "category-uncategorized" ], "acf": { "attachment": false, "display_on_home": true, "featured": true, "spotlight": true }, "lang": "en", "translations": { "en": 19483, "es": 19496, "fr": 19490, "ar": 19502 }, "fimg_url": "https://maforum.ippf.org/wp-content/uploads/2025/07/Screenshot-2025-07-18-115142.png", "pll_sync_post": [], "_links": { "self": [ { "href": "https://maforum.ippf.org/wp-json/wp/v2/posts/19483", "targetHints": { "allow": [ "GET", "POST", "PUT", "PATCH", "DELETE" ] } } ], "collection": [ { "href": "https://maforum.ippf.org/wp-json/wp/v2/posts" } ], "about": [ { "href": "https://maforum.ippf.org/wp-json/wp/v2/types/post" } ], "author": [ { "embeddable": true, "href": "https://maforum.ippf.org/wp-json/wp/v2/users/4" } ], "replies": [ { "embeddable": true, "href": "https://maforum.ippf.org/wp-json/wp/v2/comments?post=19483" } ], "version-history": [ { "count": 1, "href": "https://maforum.ippf.org/wp-json/wp/v2/posts/19483/revisions" } ], "predecessor-version": [ { "id": 19486, "href": "https://maforum.ippf.org/wp-json/wp/v2/posts/19483/revisions/19486" } ], "wp:featuredmedia": [ { "embeddable": true, "href": "https://maforum.ippf.org/wp-json/wp/v2/media/19484" } ], "wp:attachment": [ { "href": "https://maforum.ippf.org/wp-json/wp/v2/media?parent=19483" } ], "wp:term": [ { "taxonomy": "category", "embeddable": true, "href": "https://maforum.ippf.org/wp-json/wp/v2/categories?post=19483" }, { "taxonomy": "post_tag", "embeddable": true, "href": "https://maforum.ippf.org/wp-json/wp/v2/tags?post=19483" }, { "taxonomy": "regions", "embeddable": true, "href": "https://maforum.ippf.org/wp-json/wp/v2/regions?post=19483" } ], "curies": [ { "name": "wp", "href": "https://api.w.org/{rel}", "templated": true } ] } } ]
Title

Ex. "Hostilities ..." - title->rendered.

Date

Ex. "4/11/2023" - date_gmt

Image

fimg_url

Button text
  • EN: Read more

  • ES: Seguir leyendo

  • FR: Lire la suite

  • AR: قراءة المزيد

19 August 2025