{"id":8796,"date":"2020-04-16T09:23:12","date_gmt":"2020-04-16T13:23:12","guid":{"rendered":"https:\/\/www.med.unc.edu\/webguide\/?page_id=8796"},"modified":"2025-02-04T15:31:31","modified_gmt":"2025-02-04T20:31:31","slug":"news-sample-3","status":"publish","type":"page","link":"https:\/\/www.med.unc.edu\/webguide\/news-sample-3\/","title":{"rendered":"News Syndication Sample 3"},"content":{"rendered":"<p><code>[hwc-syndicate-news source='medicine' topic='100,483' limit='50' display='8']<\/code><\/p>\n<p>This is the same example as <a href=\"https:\/\/www.med.unc.edu\/webguide\/syndication\/news-sample-2\/\">sample 2<\/a> except that it uses the <strong>vertical<\/strong> layout and displays 8 items. This example is pulling news from the <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). See the <a style=\"background-color: #ffffff;\" href=\"https:\/\/www.med.unc.edu\/webguide\/syndication\/\">main syndication page<\/a> for an explanation of all the optional parameters.<\/p>\n<h2>Example of What This Shortcode Will Display:<\/h2>\n<p>&nbsp;<\/p>\n    \n<div>\n    <ul id=\"news-0\" class='rc-news media'>\n    <\/ul>\n<\/div> \n\n\n<p><code>[[hwc-syndicate-news source='medicine' categories='100,483' limit='50' display='8']<\/code><br \/>\n    \n<div>\n    <ul id=\"news-1\" class='rc-news media'>\n    <\/ul>\n<\/div> \n\n\n","protected":false},"excerpt":{"rendered":"<p>This is the same example as sample 2 except that it uses the vertical layout and displays 8 items. This example is pulling news from the Medicine 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). See &hellip; <a href=\"https:\/\/www.med.unc.edu\/webguide\/news-sample-3\/\" aria-label=\"Read more about News Syndication Sample 3\">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-8796","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 3 - 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-3\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"News Syndication Sample 3 - Web Guide\" \/>\n<meta property=\"og:description\" content=\"This is the same example as sample 2 except that it uses the vertical layout and displays 8 items. This example is pulling news from the Medicine 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). See &hellip; Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-3\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Guide\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-04T20:31:31+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-3\/\",\"url\":\"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-3\/\",\"name\":\"News Syndication Sample 3 - Web Guide\",\"isPartOf\":{\"@id\":\"https:\/\/www.med.unc.edu\/webguide\/#website\"},\"datePublished\":\"2020-04-16T13:23:12+00:00\",\"dateModified\":\"2025-02-04T20:31:31+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-3\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-3\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-3\/#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 3\"}]},{\"@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 3 - 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-3\/","og_locale":"en_US","og_type":"article","og_title":"News Syndication Sample 3 - Web Guide","og_description":"This is the same example as sample 2 except that it uses the vertical layout and displays 8 items. This example is pulling news from the Medicine 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). See &hellip; Read more","og_url":"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-3\/","og_site_name":"Web Guide","article_modified_time":"2025-02-04T20:31:31+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-3\/","url":"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-3\/","name":"News Syndication Sample 3 - Web Guide","isPartOf":{"@id":"https:\/\/www.med.unc.edu\/webguide\/#website"},"datePublished":"2020-04-16T13:23:12+00:00","dateModified":"2025-02-04T20:31:31+00:00","breadcrumb":{"@id":"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-3\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-3\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.med.unc.edu\/webguide\/userguide\/news-events\/syndication\/news-sample-3\/#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 3"}]},{"@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\/8796","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=8796"}],"version-history":[{"count":0,"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/pages\/8796\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.med.unc.edu\/webguide\/wp-json\/wp\/v2\/media?parent=8796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}