{"id":1849,"date":"2022-06-08T11:04:38","date_gmt":"2022-06-08T15:04:38","guid":{"rendered":"http:\/\/wpdocs.bu.edu\/cfa\/?page_id=1849"},"modified":"2022-06-14T08:23:11","modified_gmt":"2022-06-14T12:23:11","slug":"filtering","status":"publish","type":"page","link":"https:\/\/wpdocs.bu.edu\/cfa\/templates\/filtering\/","title":{"rendered":"Filtering"},"content":{"rendered":"<p>BU Filtering is a template that creates flexible, filterable listing pages for profiles, degree programs, and other post types.<\/p>\n<p>To select the &#8220;BU Filtering&#8221; page template, go to the<span>\u00a0<\/span><strong>Pages\u00a0<\/strong>menu in the left navigation bar of WordPress, find the page you want to change, and select<span>\u00a0<\/span><code>Edit<\/code>.<\/p>\n<p>Once you\u2019re inside the \u201cEdit Page\u201d screen, you\u2019ll see a box to the right called<span>\u00a0<\/span><code>Page Template<\/code>. Select the &#8220;BU Filtering&#8221; template and click Publish or Update. You\u2019ll now see the new options for that template.<\/p>\n<p><img loading=\"lazy\" src=\"\/cfa\/files\/2022\/06\/Screen-Shot-2022-06-08-at-9.24.19-AM.png\" alt=\"\" width=\"296\" height=\"220\" class=\"alignnone size-full wp-image-1859\" \/><\/p>\n<hr \/>\n<h4>Template Features<\/h4>\n<p>Scroll down to the BU Filtering metabox to select the Filter Options.<\/p>\n<h5>Post Type<\/h5>\n<p>Select the post type you want to list on the page. You can choose from any of the post types available in your theme.<\/p>\n<h5>Taxonomies<\/h5>\n<p>Select the taxonomies you want users to be able to filter by. Only the taxonomies that are available on the post type you choose will be enabled.<\/p>\n<h5>Template<\/h5>\n<p>Select the template you want to use to display the results. For most post types you will select &#8220;Default.&#8221; If you are listing &#8220;Profiles,&#8221; you can select any of the options under &#8220;Profile&#8221; in the dropdown.<\/p>\n<h5>Result Per Page<\/h5>\n<p>Select the number of results per page you want to show. If there are more than this number, a pagination will be added to the bottom of the results.<\/p>\n<h5>Search Enabled<\/h5>\n<p>Check the box if you want a search box to appear along with the filters.<\/p>\n<h5 class=\"cmb-group-title cmbhandle-title\"><span>Directory URL \/ Location Options<\/span><\/h5>\n<p>Select the URL\/location of the filter page. Current path will use the URL of the page you are editing. Custom path will allow you to specify a custom path to the page.<\/p>\n<h5 class=\"cmb-group-title cmbhandle-title\"><span>Taxonomy Display Options<\/span><\/h5>\n<p>Select what type of filter each taxonomy will display as. Your options are:<\/p>\n<ul>\n<li>Dropdown\/Select<\/li>\n<li>Radio Button<\/li>\n<li>Checkbox (This option allows users to check multiple terms under one taxonomy.)<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>BU Filtering is a template that creates flexible, filterable listing pages for profiles, degree programs, and other post types. To select the &#8220;BU Filtering&#8221; page template, go to the\u00a0Pages\u00a0menu in the left navigation bar of WordPress, find the page you want to change, and select\u00a0Edit. Once you\u2019re inside the \u201cEdit Page\u201d screen, you\u2019ll see a [&hellip;]<\/p>\n","protected":false},"author":13922,"featured_media":0,"parent":178,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"bu-publication":[],"_links":{"self":[{"href":"https:\/\/wpdocs.bu.edu\/cfa\/wp-json\/wp\/v2\/pages\/1849"}],"collection":[{"href":"https:\/\/wpdocs.bu.edu\/cfa\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wpdocs.bu.edu\/cfa\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wpdocs.bu.edu\/cfa\/wp-json\/wp\/v2\/users\/13922"}],"replies":[{"embeddable":true,"href":"https:\/\/wpdocs.bu.edu\/cfa\/wp-json\/wp\/v2\/comments?post=1849"}],"version-history":[{"count":13,"href":"https:\/\/wpdocs.bu.edu\/cfa\/wp-json\/wp\/v2\/pages\/1849\/revisions"}],"predecessor-version":[{"id":1870,"href":"https:\/\/wpdocs.bu.edu\/cfa\/wp-json\/wp\/v2\/pages\/1849\/revisions\/1870"}],"up":[{"embeddable":true,"href":"https:\/\/wpdocs.bu.edu\/cfa\/wp-json\/wp\/v2\/pages\/178"}],"wp:attachment":[{"href":"https:\/\/wpdocs.bu.edu\/cfa\/wp-json\/wp\/v2\/media?parent=1849"}],"wp:term":[{"taxonomy":"bu-publication","embeddable":true,"href":"https:\/\/wpdocs.bu.edu\/cfa\/wp-json\/wp\/v2\/bu-publication?post=1849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}