• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Home
  • Overview
  • Faculty Theme
  • Request a Site
  • Working with WordPress
    • Design Options
      • Front Page Layouts and Widgets Areas
      • Widget Areas (Sidebars)
      • Content Types: People, Publications, Research, Facilities, and Courses
      • Footer Contents
    • Theme Settings
    • Editing
      • News section
      • Forms
      • The Whitepaper template
    • Page Redirects
    • Google Analytics & Verification
    • Feedburner (and other RSS analytics services)
  • Resources

COE WordPress Sites

Texas A&M University College of Engineering

Creating custom displays with the Display Posts Shortcode

If the built-in lists of post types and taxonomy terms are not sufficient for you, you can create custom listings using the [display-posts] shortcode. Make sure to activate the Display Posts Shortcode plugin first.

See the plugin’s documentation for a complete set of instructions on how to use the various options.

For example, to create a page listing both faculty and staff (but not students), with images and excerpts, without list bullets, you would insert the following into a new page:

[display-posts post_type="people" taxonomy="people_type" tax_term="faculty, staff" image_size="thumbnail" include_excerpt="true" wrapper="div"]

To insert a simple list of the latest 5 news items with dates into a page, use:

[display-posts posts_per_page="5" include_date="true"]

Your possible post types are:

  • people
  • publication
  • facility
  • research
  • course

Your possible taxonomies are:

  • people_type
  • organization
  • subject_area
  • student_type
  • facility_type
  • committee
  • research_area
  • groups

Need Help?

Contact the COE WordPress Help Desk with questions.

  • Email: wp-engr-helpdesk@tamu.edu

Ready for a Site?

Request a Site

© 2016–2023 COE WordPress Sites Log in

Texas A&M Engineering Experiment Station Logo
  • College of Engineering
  • Facebook
  • Twitter
  • State of Texas
  • Open Records
  • Risk, Fraud & Misconduct Hotline
  • Statewide Search
  • Site Links & Policies
  • Accommodations
  • Environmental Health, Safety & Security
  • Employment