{"id":8754,"date":"2020-04-14T12:12:28","date_gmt":"2020-04-14T16:12:28","guid":{"rendered":"https:\/\/www.med.unc.edu\/webguide\/?page_id=8754"},"modified":"2025-02-04T15:31:28","modified_gmt":"2025-02-04T20:31:28","slug":"news-sample-2","status":"publish","type":"page","link":"https:\/\/www.med.unc.edu\/webguide\/news-sample-2\/","title":{"rendered":"News Syndication Sample 2"},"content":{"rendered":"<p><code>[hwc-syndicate-news source='medicine' topic='100,483' limit='50' layout='horizontal']<\/code><\/p>\n<p>This is an example of the syndication shortcode with the <strong>horizontal<\/strong> layout. This example is pulling news from the\u00a0<a href=\"https:\/\/www.med.unc.edu\/medicine\/\">Medicine web site<\/a>. It displays news posts from the infectious disease category (which has an ID of 100) from the year 2020 (which has an ID of 483). Note that the <strong>display<\/strong> parameter doesn&#8217;t wok with the horizontal layout, it is only relevant in the Vertical layout. See the <a style=\"background-color: #ffffff;\" href=\"https:\/\/www.med.unc.edu\/webguide\/syndication\/\">main syndication page<\/a> for an explanation of the optional parameters.<\/p>\n<h2>Example of What This Shortcode Will Display:<\/h2>\n<p>&nbsp;<\/p>\n\n<div>\n    <div id=\"news-0\" class='iso-news iso-media row'>\n    <\/div>\n<\/div> \n\n\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is an example of the syndication shortcode with the horizontal layout. This example is pulling news from the\u00a0Medicine web site. It displays news posts from the infectious disease category (which has an ID of 100) from the year 2020 (which has an ID of 483). Note that the display parameter doesn&#8217;t wok with the &hellip; <a href=\"https:\/\/www.med.unc.edu\/webguide\/news-sample-2\/\" aria-label=\"Read more about News Syndication Sample 2\">Read more<\/a><\/p>\n","protected":false},"author":3206,"featured_media":0,"parent":0,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"layout":"","cellInformation":"","apiCallInformation":"","footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-8754","page","type-page","status-publish","hentry","odd"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>News Syndication Sample 2 - Web Guide<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"News Syndication Sample 2 - Web Guide\" \/>\n<meta property=\"og:description\" content=\"This is an example of the syndication shortcode with the horizontal layout. This example is pulling news from the\u00a0Medicine web site. It displays news posts from the infectious disease category (which has an ID of 100) from the year 2020 (which has an ID of 483). Note that the display parameter doesn&#8217;t wok with the &hellip; Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Guide\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-04T20:31:28+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-2\/\",\"url\":\"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-2\/\",\"name\":\"News Syndication Sample 2 - Web Guide\",\"isPartOf\":{\"@id\":\"https:\/\/www.med.unc.edu\/webguide\/#website\"},\"datePublished\":\"2020-04-14T16:12:28+00:00\",\"dateModified\":\"2025-02-04T20:31:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.med.unc.edu\/webguide\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"User Guide\",\"item\":\"https:\/\/www.med.unc.edu\/webguide\/userguide\/ughome\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Pages, News Posts &#038; Events\",\"item\":\"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"News &#038; Event Syndication\",\"item\":\"https:\/\/www.med.unc.edu\/webguide\/?page_id=8735\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"News Syndication Sample 2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.med.unc.edu\/webguide\/#website\",\"url\":\"https:\/\/www.med.unc.edu\/webguide\/\",\"name\":\"Web Guide\",\"description\":\"School of Medicine IT\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.med.unc.edu\/webguide\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"News Syndication Sample 2 - Web Guide","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-2\/","og_locale":"en_US","og_type":"article","og_title":"News Syndication Sample 2 - Web Guide","og_description":"This is an example of the syndication shortcode with the horizontal layout. This example is pulling news from the\u00a0Medicine web site. It displays news posts from the infectious disease category (which has an ID of 100) from the year 2020 (which has an ID of 483). Note that the display parameter doesn&#8217;t wok with the &hellip; Read more","og_url":"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-2\/","og_site_name":"Web Guide","article_modified_time":"2025-02-04T20:31:28+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-2\/","url":"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-2\/","name":"News Syndication Sample 2 - Web Guide","isPartOf":{"@id":"https:\/\/www.med.unc.edu\/webguide\/#website"},"datePublished":"2020-04-14T16:12:28+00:00","dateModified":"2025-02-04T20:31:28+00:00","breadcrumb":{"@id":"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.med.unc.edu\/webguide\/"},{"@type":"ListItem","position":2,"name":"User Guide","item":"https:\/\/www.med.unc.edu\/webguide\/userguide\/ughome\/"},{"@type":"ListItem","position":3,"name":"Pages, News Posts &#038; Events","item":"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/"},{"@type":"ListItem","position":4,"name":"News &#038; Event Syndication","item":"https:\/\/www.med.unc.edu\/webguide\/?page_id=8735"},{"@type":"ListItem","position":5,"name":"News Syndication Sample 2"}]},{"@type":"WebSite","@id":"https:\/\/www.med.unc.edu\/webguide\/#website","url":"https:\/\/www.med.unc.edu\/webguide\/","name":"Web Guide","description":"School of Medicine IT","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.med.unc.edu\/webguide\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links_to":[],"_links_to_target":[],"_links":{"self":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/8754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/users\/3206"}],"replies":[{"embeddable":true,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/comments?post=8754"}],"version-history":[{"count":0,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/8754\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/media?parent=8754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}