{"id":726,"date":"2017-05-30T20:22:51","date_gmt":"2017-05-30T20:22:51","guid":{"rendered":"http:\/\/wordpress.library.illinois.edu\/wp-training\/?page_id=726"},"modified":"2023-05-01T15:07:11","modified_gmt":"2023-05-01T15:07:11","slug":"new-titles","status":"publish","type":"page","link":"https:\/\/wordpress.library.illinois.edu\/wp-training\/shortcodes\/new-titles\/","title":{"rendered":"New Titles Feed"},"content":{"rendered":"<h2>When to use<\/h2>\n<p>The new titles feed can be activated on the homepage and\/or used as a shortcode to display it on any page. You may choose a to use the new titles feed with or without images.<\/p>\n<h2>Basic usage<\/h2>\n<p>In order to use the new titles feed you must first navigate to the New Titles Feed tab, under the Settings option of the left navigation bar in your WordPress dahsboard.<\/p>\n<h3>Steps<\/h3>\n<ol>\n<li>There are two options for the News Title:<br \/>\n<img decoding=\"async\" src=\"http:\/\/wordpress.library.illinois.edu\/wp-training\/wp-content\/uploads\/sites\/23\/2017\/05\/new_title_feed_settings.png\" \/><\/li>\n<li>Check the <strong>Enable<\/strong> checkbox to enable the New Titles Feed shortcode.Alternatively, you may choose to <strong>Enable homepage module<\/strong>, which works independently of the shortcode usage, and will display the new titles feed on the homepage. This option alone does not enable the use of shortcodes.<\/li>\n<li>Enter a title to display in <strong>Display Title<\/strong><br \/>\n<img decoding=\"async\" src=\"http:\/\/wordpress.library.illinois.edu\/wp-training\/wp-content\/uploads\/sites\/23\/2017\/05\/new_title_feed_title.png\" \/><\/li>\n<li>Select libraries by clicking on a library name. To select multiple names you can hold down the CTRL key while clicking to select. You may also check the <strong>Include All Libraries<\/strong> checkbox to select all<br \/>\n<img decoding=\"async\" src=\"http:\/\/wordpress.library.illinois.edu\/wp-training\/wp-content\/uploads\/sites\/23\/2017\/05\/new_titles_feed_select_library.png\" \/><\/li>\n<li>Choose a date range for the new titles feed.<br \/>\n<img decoding=\"async\" src=\"http:\/\/wordpress.library.illinois.edu\/wp-training\/wp-content\/uploads\/sites\/23\/2021\/07\/daterange.png\" \/><\/li>\n<li>Select if you want to show books without cover images.<br \/>\n<img decoding=\"async\" src=\"http:\/\/wordpress.library.illinois.edu\/wp-training\/wp-content\/uploads\/sites\/23\/2021\/07\/bookcover.png\" \/><\/li>\n<li>(Optional) Enter a query here to filter results. Ex: (nature* OR biodivers* OR ecolog* OR fish*)<br \/>\n<img decoding=\"async\" src=\"http:\/\/wordpress.library.illinois.edu\/wp-training\/wp-content\/uploads\/sites\/23\/2023\/03\/chrome_wuSVyn9Dtc.png\" \/><\/li>\n<li>Click the <strong>Save Changes<\/strong> button on the bottom-left corner to save your selection.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h3>Result &#8212; Text-only option<\/h3>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-blue-100 !sh-text-black \"><div><div class=\"\"><br \/>\n<div class=\"shortcode sh-grid sh-grid-cols-1 md:sh-grid-cols-12 sh-gap-3\">\n<div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Code<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n[displayNewTitlesText]<br \/>\n<\/div><\/div><\/div><br \/>\n<\/div>\n<div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Rendering<\/h4>\n<p><img decoding=\"async\" src=\"http:\/\/wordpress.library.illinois.edu\/wp-training\/wp-content\/uploads\/sites\/23\/2021\/07\/newtitlestext.png\" \/><br \/>\n<\/div>\n<\/div>\n<\/div><\/div><\/div><\/p>\n<h3>Result &#8212; with images<\/h3>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-blue-100 !sh-text-black \"><div><div class=\"\"><br \/>\n<div class=\"shortcode sh-grid sh-grid-cols-1 md:sh-grid-cols-12 sh-gap-3\">\n<div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Code<\/h4>\n<div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\">\n<p>Default<br \/>\n[displayNewTitles]<\/p>\n<p>&nbsp;<\/p>\n<p>ShortCode with variables<\/p>\n<p>[displayNewTitles libraries=\"all\" daysback=\"90\" title=\"Prairie New Titles\" search_type=\"any\" search_string=\"nature*\"]<\/p>\n<p>Variables:<\/p>\n<p><strong>libraries<\/strong> (use below codes, comma separated for multiple)<br \/>\nall,map,main,oakst,rarebook,ugl,highschool,archives,<br \/>\nhathi,ricker,children,hpnl,lincoln,litlang,music,funk,<br \/>\nchemistry,grainger,math,vetmed,comm,sshel,law,ias<\/p>\n<p><strong>daysback<\/strong> (use 30 or 90)<\/p>\n<p><strong>title<\/strong> (displayed Title)<\/p>\n<p><strong>searchtype<\/strong> (any OR title OR creator OR holding_call_number OR sub )<\/p>\n<p><strong>searchstring<\/strong> (primo formatted search string)<br \/>\n<\/div><\/div><\/div><br \/>\n<\/div>\n<div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Rendering<\/h4>\n<p><img decoding=\"async\" src=\"http:\/\/wordpress.library.illinois.edu\/wp-training\/wp-content\/uploads\/sites\/23\/2017\/05\/example_homepage_new_titles_feed.png\" \/><br \/>\n<\/div>\n<\/div>\n<\/div><\/div><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When to use The new titles feed can be activated on the homepage and\/or used as a shortcode to display it on any page. You may choose a to use the new titles feed with or without images. Basic usage In order to use the new titles feed you must first navigate to the New [&hellip;]<\/p>\n","protected":false},"author":71,"featured_media":0,"parent":24,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-726","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/726","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/users\/71"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/comments?post=726"}],"version-history":[{"count":18,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/726\/revisions"}],"predecessor-version":[{"id":3207,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/726\/revisions\/3207"}],"up":[{"embeddable":true,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/24"}],"wp:attachment":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/media?parent=726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}