Post Archive

Creates a custom feed that displays posts created on the website. Please note that the Post archive does not use News or Events posts.

  • Use: An area to help users easily search, filter, and browse posts within the website, such as academic job postings and faculty members’ publications.
  • Location: Can be used on all pages

Default Shortcode

[archive-posts title="Archive Post" taxonomy="category" taxterm="" search=1 limit="-1" order="DESC" orderby="date" noposts="" markup="" showexcerpt=1 display="list" only_list=false]

Parameters

display="" -- sets type of archive; "list" for list view and "grid" for grid view 
markup="" -- styling for post archive; "ap-list" for lists and "ap-grid" for grids 
noposts="" -- Displays custom message when archive is empty; default message is "Sorry, there are no posts available at this time." 
only_list="" -- toggle "Displaying results x of x" text; "true" will NOT display feature and "false" will display this feature.
order="" -- Set post archive order; ASC for ascending or DESC for descending 
orderby="" -- sets method of ordering post archive; "title", "date" and "rand"
search="" -- displays the search bar; 0 to hide search bar and 1 to display search bar 
showexcerpt="" -- display excerpt on post archive; 0 to hide excerpt or 1 to display excerpt
show_content="" -- display snippet of content on post archive; false to hide content snippet or true to display content snippet 
title="" -- the title of the post archive 
taxonomy="" -- Filtering method for post archive; method is set to "category" by default  
taxterm="" -- Specific taxonomy term name (eg. "job-opportunites" for categories)

*Parameters italicized are optional

Additional Note

  • You can add a dropdown menu to the post archive by creating parent-child taxonomy under Posts > Categories; you will need to create a taxonomy with 3 levels of parent-child taxonomies; the last 2 levels will correspond to dropdown filters on the post archive
  • For example:
    • Parent Category: Publications
      • Child Category 1: Topic
        • Child Category 2: Italian Studies
    • “Italian Studies” will be a dropdown option available on the post archive, in the dropdown filter labelled as “Topic”
  • In post archive shortcode, assign the Parent Category in the taxterm parameter (eg.[archive-posts taxonomy=category taxterm=publications display=grid search=true markup=ap-grid show_content=true order="DESC" orderby="date" title=Publications item_label=publications max_content_word=20])
  • To assign a Post to this archive, in the post archive, select the “Publications” category as well as the specific filtering options (e.g. “Topics” and “Italian Studies”)
On this page
    Back to toparrow_upward