{"id":4659,"date":"2026-05-04T06:43:28","date_gmt":"2026-05-04T06:43:28","guid":{"rendered":"https:\/\/daazlabs.com\/?page_id=4659"},"modified":"2026-09-03T19:34:55","modified_gmt":"2026-09-03T19:34:55","slug":"news-shortcodes","status":"publish","type":"page","link":"https:\/\/daazlabs.com\/pt\/newssync\/docs\/news-shortcodes\/","title":{"rendered":"News Shortcodes"},"content":{"rendered":"<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<style>\n  .daaz-page * { box-sizing: border-box; margin: 0; padding: 0; }\n  .daaz-page { font-family: 'Segoe UI', Arial, sans-serif; color: #0D1B2A; }\n  .daaz-page .docs-hero { background: #0D1B2A; padding: 48px 48px 40px; }\n  .daaz-page .eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2.5px; color: #5BA3E8; text-transform: uppercase; margin-bottom: 12px; }\n  .daaz-page .docs-hero-h1 { font-size: 30px; font-weight: 500; color: #fff; line-height: 1.25; max-width: 680px; margin-bottom: 10px; }\n  .daaz-page .docs-hero-sub { font-size: 14.5px; color: #A8C8F0; line-height: 1.7; max-width: 620px; }\n  .daaz-page .docs-breadcrumb { font-size: 12px; margin-bottom: 14px; }\n  .daaz-page .docs-breadcrumb a { color: #5BA3E8; text-decoration: none; }\n  .daaz-page .docs-breadcrumb a:hover { text-decoration: underline; }\n  .daaz-page .docs-breadcrumb span { color: #6E8CB0; }\n  .daaz-page .docs-shell { max-width: 1280px; margin: 0 auto; padding: 48px; display: grid; grid-template-columns: 250px 1fr; gap: 56px; align-items: start; background: #fff; }\n  .daaz-page .docs-sidebar { position: sticky; top: 24px; }\n  .daaz-page .docs-nav-group { margin-bottom: 26px; }\n  .daaz-page .docs-nav-label { font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: #5F7A96; margin-bottom: 10px; }\n  .daaz-page .docs-nav-link { display: block; font-size: 14px; color: #0D1B2A; text-decoration: none; padding: 8px 10px; border-radius: 7px; margin-bottom: 2px; line-height: 1.4; }\n  .daaz-page .docs-nav-link:hover { background: #F4F8FC; }\n  .daaz-page .docs-nav-link.active { background: #E6F1FB; color: #185FA5; font-weight: 600; }\n  .daaz-page .docs-nav-link.external::after { content: \" \u2197\"; font-size: 11px; color: #5F7A96; }\n  .daaz-page .docs-content { min-width: 0; max-width: 780px; }\n  .daaz-page .docs-content h2 { font-size: 22px; font-weight: 600; color: #0D1B2A; margin: 40px 0 14px; }\n  .daaz-page .docs-content h2:first-child { margin-top: 0; }\n  .daaz-page .docs-content h3 { font-size: 16px; font-weight: 600; color: #0D1B2A; margin: 26px 0 10px; }\n  .daaz-page .docs-content p { font-size: 14.5px; color: #3D4F63; line-height: 1.75; margin-bottom: 14px; }\n  .daaz-page .docs-content ul, .daaz-page .docs-content ol { margin: 0 0 16px 20px; }\n  .daaz-page .docs-content li { font-size: 14.5px; color: #3D4F63; line-height: 1.8; margin-bottom: 6px; }\n  .daaz-page .docs-content code { background: #F4F8FC; border: 1px solid #D0DFF0; border-radius: 4px; padding: 1px 6px; font-family: 'Consolas','Courier New',monospace; font-size: 13px; color: #185FA5; }\n  .daaz-page .docs-content pre { background: #0D1B2A; color: #CFE3FA; padding: 18px 20px; border-radius: 10px; font-family: 'Consolas','Courier New',monospace; font-size: 13px; line-height: 1.7; overflow-x: auto; margin: 16px 0 20px; white-space: pre-wrap; }\n  .daaz-page .callout { border-radius: 10px; padding: 16px 18px; margin: 20px 0; font-size: 13.5px; line-height: 1.7; }\n  .daaz-page .callout-info { background: #EBF4FF; border-left: 3px solid #2A7FD4; color: #22405F; }\n  .daaz-page .callout-warn { background: #FFF5EC; border-left: 3px solid #E08A3C; color: #5A3B14; }\n  .daaz-page .doc-table { width: 100%; border-collapse: collapse; margin: 12px 0 24px; font-size: 13.5px; }\n  .daaz-page .doc-table th { text-align: left; background: #F4F8FC; color: #0D1B2A; font-weight: 600; padding: 10px 12px; border-bottom: 2px solid #D0DFF0; }\n  .daaz-page .doc-table td { padding: 10px 12px; border-bottom: 1px solid #EBF0F7; color: #3D4F63; vertical-align: top; }\n  .daaz-page .example-card { background: #F9FAFB; border: 1px solid #EBF0F7; border-radius: 10px; padding: 18px 20px; margin: 16px 0; }\n  .daaz-page .example-card h3 { margin-top: 0; color: #185FA5; font-size: 14.5px; }\n  .daaz-page .example-card pre { background: #fff; border-left: 4px solid #2A7FD4; color: #0D1B2A; margin: 10px 0 0; }\n  .daaz-page .example-card p.tip { margin: 10px 0 0; font-size: 13px; font-style: italic; color: #5F7A96; }\n  .daaz-page .pro-badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.6px; color: #7C5CE0; background: #F4F0FF; border-radius: 5px; padding: 2px 7px; margin-left: 6px; vertical-align: middle; text-transform: uppercase; }\n  .daaz-page .docs-pager { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid #EBF0F7; }\n  .daaz-page .docs-pager a { font-size: 13.5px; color: #185FA5; text-decoration: none; font-weight: 600; }\n  .daaz-page .docs-pager a:hover { text-decoration: underline; }\n  .daaz-page .docs-pager .pager-label { display: block; font-size: 11px; color: #5F7A96; font-weight: 400; margin-bottom: 2px; }\n  .daaz-page .docs-pager .next { text-align: right; margin-left: auto; }\n  @media (max-width: 860px) {\n    .daaz-page .docs-shell { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }\n    .daaz-page .docs-sidebar { position: static; }\n    .daaz-page .docs-hero { padding: 36px 24px; }\n    .daaz-page .docs-hero-h1 { font-size: 24px; }\n  }\n<\/style>\n<\/head>\n<body>\n<div class=\"daaz-page\">\n\n<section class=\"docs-hero\">\n  <div class=\"docs-breadcrumb\"><a href=\"\/pt\/docs\/\">Docs<\/a> <span>\/ Reference<\/span><\/div>\n  <div class=\"eyebrow\">Reference<\/div>\n  <div class=\"docs-hero-h1\">RSS NewsSync \u2014 Complete Shortcode Documentation<\/div>\n  <div class=\"docs-hero-sub\">Every shortcode attribute, every layout, and ready-to-copy examples for building any news section on your site.<\/div>\n<\/section>\n\n<section class=\"docs-shell\">\n\n  <div class=\"docs-sidebar\">\n    <div class=\"docs-nav-group\">\n      <div class=\"docs-nav-label\">Getting Started<\/div>\n      <a href=\"\/pt\/docs\/\" class=\"docs-nav-link\">Overview<\/a>\n      <a href=\"\/pt\/docs\/newssync-installation\/\" class=\"docs-nav-link\">Installation &amp; Setup<\/a>\n    <\/div>\n    <div class=\"docs-nav-group\">\n      <div class=\"docs-nav-label\">AI Features<\/div>\n      <a href=\"\/pt\/docs\/ai-summaries\/\" class=\"docs-nav-link\">AI Summaries<\/a>\n      <a href=\"\/pt\/docs\/custom-providers\/\" class=\"docs-nav-link\">Custom AI Providers<\/a>\n    <\/div>\n    <div class=\"docs-nav-group\">\n      <div class=\"docs-nav-label\">Advanced Features<\/div>\n      <a href=\"\/pt\/docs\/full-text-extraction\/\" class=\"docs-nav-link\">Full-Text Extraction<\/a>\n      <a href=\"\/pt\/docs\/advanced-filtering\/\" class=\"docs-nav-link\">Advanced Filtering<\/a>\n      <a href=\"\/pt\/docs\/managed-feeds\/\" class=\"docs-nav-link\">Managed Feeds<\/a>\n      <a href=\"https:\/\/daazlabs.com\/pt\/news-shortcodes\/\" class=\"docs-nav-link active\">Shortcode Reference<\/a>\n    <\/div>\n    <div class=\"docs-nav-group\">\n      <div class=\"docs-nav-label\">PRO Features<\/div>\n      <a href=\"\/pt\/docs\/unlimited-mode\/\" class=\"docs-nav-link\">Unlimited Mode<\/a>\n      <a href=\"https:\/\/daazlabs.com\/pt\/daazsync-pro\/\" class=\"docs-nav-link\">Pricing &amp; Plans<\/a>\n    <\/div>\n  <\/div>\n\n  <div class=\"docs-content\">\n\n    <h2>1. Basic shortcode<\/h2>\n    <pre>&#91;newssync&#93;<\/pre>\n    <p>Uses your default settings from the admin panel \u2014 no attributes required.<\/p>\n\n    <h2>2. Main parameters (work in all layouts)<\/h2>\n    <table class=\"doc-table\">\n      <thead><tr><th>Parameter<\/th><th>Example<\/th><th>Description<\/th><\/tr><\/thead>\n      <tbody>\n        <tr><td><code>layout<\/code><\/td><td><code>grid<\/code>, <code>list<\/code>, <code>carousel<\/code>, <code>hero<\/code>, <code>minimal<\/code><\/td><td>Choose the visual style<\/td><\/tr>\n        <tr><td><code>limit<\/code><\/td><td><code>limit=\"6\"<\/code><\/td><td>Maximum number of items (Hero\/Carousel limited to 6)<\/td><\/tr>\n        <tr><td><code>category<\/code><\/td><td><code>category=\"CNBC\"<\/code><\/td><td>Show only one source (must match the category name you set on the feed)<\/td><\/tr>\n        <tr><td><code>source<\/code><\/td><td><code>source=\"posts\"<\/code><\/td><td>Use imported posts instead of live RSS<\/td><\/tr>\n        <tr><td><code>autoplay<\/code><\/td><td><code>autoplay=\"on\"<\/code><\/td><td>Enable\/disable carousel autoplay (on\/off)<\/td><\/tr>\n        <tr><td><code>cache_ttl<\/code><\/td><td><code>cache_ttl=\"3600\"<\/code><\/td><td>Cache duration in seconds (overrides the global setting)<\/td><\/tr>\n        <tr><td><code>orderby<\/code><\/td><td><code>orderby=\"date\"<\/code><\/td><td>Order by date or title<\/td><\/tr>\n        <tr><td><code>order<\/code><\/td><td><code>order=\"DESC\"<\/code><\/td><td>Sort order: DESC (newest first) or ASC (oldest first)<\/td><\/tr>\n        <tr><td><code>offset<\/code><\/td><td><code>offset=\"3\"<\/code><\/td><td>Skip the first N items <span class=\"pro-badge\">PRO<\/span> \u2014 limited by per-feed restrictions in the free version, see <a href=\"\/pt\/docs\/unlimited-mode\/\">Unlimited Mode<\/a><\/td><\/tr>\n        <tr><td><code>show_image<\/code><\/td><td><code>show_image=\"no\"<\/code><\/td><td>Show\/hide images. Works in all layouts: grid, list, carousel, hero.<\/td><\/tr>\n        <tr><td><code>hide_image<\/code><\/td><td><code>hide_image=\"yes\"<\/code><\/td><td>Alternative way to hide images \u2014 same as <code>show_image=\"no\"<\/code><\/td><\/tr>\n        <tr><td><code>custom_css_class<\/code><\/td><td><code>custom_css_class=\"my-dark\"<\/code><\/td><td>Adds a custom CSS class to the container \u2014 target the feed with your own CSS (e.g. for dark themes)<\/td><\/tr>\n      <\/tbody>\n    <\/table>\n\n    <h2>3. List Mode (only when layout=&#8221;list&#8221;)<\/h2>\n    <ul>\n      <li><code>list_mode=\"standard\"<\/code> \u2192 Classic list with image<\/li>\n      <li><code>list_mode=\"minimal\"<\/code> \u2192 Ultra-compact (title + time + source)<\/li>\n      <li><code>list_mode=\"custom\"<\/code> \u2192 Full control \u2014 see section 4<\/li>\n    <\/ul>\n\n    <h2>4. Custom Mode \u2014 full control<\/h2>\n    <p>Use <code>list_mode=\"custom\"<\/code> and combine any of these parameters. Note: <code>show_image<\/code> and <code>hide_image<\/code> also work in grid, carousel and hero layouts.<\/p>\n    <pre>&#91;newssync layout=\"list\" list_mode=\"custom\"\n limit=\"8\"\n category=\"CNN\"\n show_image=\"no\"\n show_excerpt=\"yes\"\n excerpt_length=\"20\"\n show_date=\"yes\"\n show_source=\"yes\"\n date_format=\"H:i - d\/m\"\n show_readmore=\"yes\"\n compact=\"yes\"&#93;<\/pre>\n\n    <h3>All available parameters<\/h3>\n    <table class=\"doc-table\">\n      <thead><tr><th style=\"width:35%;\">Parameter<\/th><th>Description<\/th><\/tr><\/thead>\n      <tbody>\n        <tr><td><code>show_title=\"yes\/no\"<\/code><\/td><td>Show\/hide title<\/td><\/tr>\n        <tr><td><code>show_image=\"yes\/no\"<\/code><\/td><td>Show\/hide image. Works in all layouts.<\/td><\/tr>\n        <tr><td><code>hide_image=\"yes\/no\"<\/code><\/td><td>Alternative way to hide images \u2014 same as <code>show_image=\"no\"<\/code>. Works in all layouts.<\/td><\/tr>\n        <tr><td><code>show_excerpt=\"yes\/no\"<\/code><\/td><td>Show\/hide description<\/td><\/tr>\n        <tr><td><code>show_date=\"yes\/no\"<\/code><\/td><td>Show\/hide date\/time<\/td><\/tr>\n        <tr><td><code>show_source=\"yes\/no\"<\/code><\/td><td>Show\/hide source name (CNBC, etc.)<\/td><\/tr>\n        <tr><td><code>show_readmore=\"yes\/no\"<\/code><\/td><td>Show &#8220;Read more&#8221; link<\/td><\/tr>\n        <tr><td><code>compact=\"yes\"<\/code><\/td><td>Ultra-compact layout (perfect for narrow 30% columns)<\/td><\/tr>\n        <tr><td><code>date_format=\"H:i - d\/m\"<\/code><\/td><td>Any PHP date format \u2014 see <a href=\"https:\/\/www.php.net\/manual\/en\/datetime.format.php\" target=\"_blank\" rel=\"noopener\">available formats<\/a><\/td><\/tr>\n        <tr><td><code>excerpt_length=\"20\"<\/code><\/td><td>Maximum number of words in the excerpt (max 25)<\/td><\/tr>\n      <\/tbody>\n    <\/table>\n\n    <h2>5. Complete examples<\/h2>\n\n    <div class=\"example-card\">\n      <h3>Example 1: Grid with 6 items<\/h3>\n      <pre>&#91;newssync layout=\"grid\" limit=\"6\"&#93;<\/pre>\n    <\/div>\n\n    <div class=\"example-card\">\n      <h3>Example 2: Carousel with autoplay<\/h3>\n      <pre>&#91;newssync layout=\"carousel\" autoplay=\"on\" limit=\"6\"&#93;<\/pre>\n    <\/div>\n\n    <div class=\"example-card\">\n      <h3>Example 3: List with a specific source<\/h3>\n      <pre>&#91;newssync layout=\"list\" category=\"BBC News\" limit=\"10\"&#93;<\/pre>\n    <\/div>\n\n    <div class=\"example-card\">\n      <h3>Example 4: Ultra-compact sidebar<\/h3>\n      <pre>&#91;newssync layout=\"minimal\" limit=\"5\"&#93;<\/pre>\n    <\/div>\n\n    <div class=\"example-card\">\n      <h3>Example 5: Custom list without images<\/h3>\n      <pre>&#91;newssync layout=\"list\" list_mode=\"custom\" show_image=\"no\" show_date=\"yes\" show_source=\"yes\" compact=\"yes\"&#93;<\/pre>\n      <p class=\"tip\">Tip: show_image=&#8221;no&#8221; also works with layout=&#8221;grid&#8221; and layout=&#8221;carousel&#8221;.<\/p>\n    <\/div>\n\n    <div class=\"example-card\">\n      <h3>Example 6: Hero banner<\/h3>\n      <pre>&#91;newssync layout=\"hero\" limit=\"3\"&#93;<\/pre>\n    <\/div>\n\n    <div class=\"example-card\">\n      <h3>Example 7: Using imported posts<\/h3>\n      <pre>&#91;newssync source=\"posts\" limit=\"8\" layout=\"grid\"&#93;<\/pre>\n      <p class=\"tip\">Requires &#8220;Save RSS Items as Posts&#8221; enabled in Settings.<\/p>\n    <\/div>\n\n    <h2>6. Layout comparison<\/h2>\n    <table class=\"doc-table\">\n      <thead><tr><th style=\"width:20%;\">Layout<\/th><th style=\"width:40%;\">Best for<\/th><th>Characteristics<\/th><\/tr><\/thead>\n      <tbody>\n        <tr><td><strong>Grid<\/strong><\/td><td>Main content areas, magazine style<\/td><td>Responsive columns, images, excerpts<\/td><\/tr>\n        <tr><td><strong>List<\/strong><\/td><td>Archives, news feeds, blog lists<\/td><td>Vertical list, customizable fields<\/td><\/tr>\n        <tr><td><strong>Carousel<\/strong><\/td><td>Featured content, homepage highlights<\/td><td>Sliding items, autoplay, navigation<\/td><\/tr>\n        <tr><td><strong>Hero<\/strong><\/td><td>Top banner, breaking news<\/td><td>Large images, prominent headlines<\/td><\/tr>\n        <tr><td><strong>Minimal<\/strong><\/td><td>Sidebars, widgets, compact spaces<\/td><td>Title + date + source only, no images<\/td><\/tr>\n      <\/tbody>\n    <\/table>\n\n    <div class=\"callout callout-info\">\n      <strong>\ud83d\udca1 Pro tip \u2014 combining parameters:<\/strong> you can combine multiple parameters to create exactly the layout you need. Start with a basic layout, then add customizations one by one until you get the perfect result.\n    <\/div>\n\n    <div class=\"docs-pager\">\n      <a href=\"\/pt\/docs\/managed-feeds\/\"><span class=\"pager-label\">\u2190 Back<\/span>Managed Feeds<\/a>\n      <a class=\"next\" href=\"\/pt\/docs\/unlimited-mode\/\"><span class=\"pager-label\">Next<\/span>Unlimited Mode \u2192<\/a>\n    <\/div>\n\n  <\/div>\n<\/section>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>","protected":false},"excerpt":{"rendered":"<p>Docs \/ Reference Reference RSS NewsSync \u2014 Complete Shortcode Documentation Every shortcode attribute, every layout, and ready-to-copy examples for building any news section on your site. Getting Started Overview Installation &amp; Setup AI Features AI Summaries Custom AI Providers Advanced Features Full-Text Extraction Advanced Filtering Managed Feeds Shortcode Reference PRO Features Unlimited Mode Pricing &amp; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2853,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4659","page","type-page","status-publish","hentry"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/daazlabs.com\/pt\/wp-json\/wp\/v2\/pages\/4659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daazlabs.com\/pt\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/daazlabs.com\/pt\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/daazlabs.com\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/daazlabs.com\/pt\/wp-json\/wp\/v2\/comments?post=4659"}],"version-history":[{"count":15,"href":"https:\/\/daazlabs.com\/pt\/wp-json\/wp\/v2\/pages\/4659\/revisions"}],"predecessor-version":[{"id":10380,"href":"https:\/\/daazlabs.com\/pt\/wp-json\/wp\/v2\/pages\/4659\/revisions\/10380"}],"up":[{"embeddable":true,"href":"https:\/\/daazlabs.com\/pt\/wp-json\/wp\/v2\/pages\/2853"}],"wp:attachment":[{"href":"https:\/\/daazlabs.com\/pt\/wp-json\/wp\/v2\/media?parent=4659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}