Featured News and Events

Display 1-3 News or Events posts.

  • Use: Highlight a major news story or upcoming event
  • Location: Strategically place these on any page
  • Character limit: Excerpt (250 characters)
  • Recommendation: Include a featured image for news and event posts and an excerpt for news posts

Default Shortcode

Featured News

[featured_post type="news" heading="Featured News" filter_by="news-category" filter_slug="uncategorized"  number="1" link_text="" link_url=""]

Featured Events

[featured_post type="event" heading="Featured Events" filter_by="" filter_slug=""  number="1" link_text="" link_url=""]

Parameters

featured_post -- begins a display of featured posts
type="" -- choose "news" to feature News posts or "event" to feature Events posts
heading="" -- set display heading text
filter_by="" -- set type of taxonomy to display: "news-category", "news-type" or "news-topic" for News; "event-category", "event-type" or "event-topic" for Events
filter_slug="" -- set specific slug that belongs to the chosen taxonomy (e.g. Go to News > Categories in the Dashboard to see list of News categories and their slugs)
number="" -- choose "1", "2" or "3" - sets number of featured posts to display
link_text="" -- change the default "View All News" link text to a different message (e.g. link_text="View All Related News")
link_url="" -- change the default "/news/" link to a different page URL (e.g. link_url="/news/?topic=research")

*Parameters italicized are optional

On this page
    Back to toparrow_upward