Answers.Body: <p>You're looking at writing a custom WordPress plugin along the lines of the <a href="https://wordpress.org/plugins/civievent-widget/" rel="nofollow">CiviEvent Widget</a> plugin. Basically, you'll query the CiviCRM API to get activities (filtered appropriately to your needs) and then render them as a shortcode and/or widget.</p>
  
  <p>So, yes, you can write custom code to do this, even as there is no built-in display for CiviCRM activities.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-12T02:58:35.797Z
Answers.LastActivityDate: 2016-08-12T02:58:35.797Z
Answers.UserDisplayName: Andie Hunt
Body: <p>We use 4.6.14 on WordPress. We're a radio station and we book guests for appearing on-air. Each guest is managed as a <strong>Contact</strong> and their appearances are recorded as a defined <strong>Activity</strong> (e.g., On-Air Appearance). We track each guest's appearance history by looking at <strong>Activities</strong> associated with his contact information. We also run reports for <strong>all on-air appearances</strong> (regardless of <strong>Contact</strong>) so we know ourselves what is on the schedule and what holes we have to fill.</p>
  
  <p>We can do all of the above via CiviCRM internally (hooray)! </p>
  
  <p><strong><em>How can we dynamically display the "All appearances" view on our public site so that listeners get a list of upcoming guests?</em></strong> CiviEvents has RSS, HTML and iCal feeds that yields something close to what we want, but our appearances seem to be more like Activities than Events -- unfortunately Activities have no built in feeds. Also, my research shows that there may be such views in Drupal-based CiviCRM, but we're heavily in WordPress as a standard.</p>
  
  <p><strong><em>Can we write code to poll the Activity data to return what we want? Is there another approach?</em></strong> Or is this even possible?</p>
  
  <p>Thanks.</p>
  
Tags: <wordpress><activity><calendar><html>
Title: How can I create public display of all Activities for Current Day + X weeks in Future (WordPress)?
ThreadText: # How can I create public display of all Activities for Current Day + X weeks in Future (WordPress)?
  
  (Asked by: username_0 on 2016-08-06)
  
  We use 4.6.14 on WordPress. We're a radio station and we book guests for appearing on-air. Each guest is managed as a **Contact** and their appearances are recorded as a defined **Activity** (e.g., On-Air Appearance). We track each guest's appearance history by looking at **Activities** associated with his contact information. We also run reports for **all on-air appearances** (regardless of **Contact**) so we know ourselves what is on the schedule and what holes we have to fill.
  
  We can do all of the above via CiviCRM internally (hooray)!
  
  ***How can we dynamically display the "All appearances" view on our public site so that listeners get a list of upcoming guests?*** CiviEvents has RSS, HTML and iCal feeds that yields something close to what we want, but our appearances seem to be more like Activities than Events -- unfortunately Activities have no built in feeds. Also, my research shows that there may be such views in Drupal-based CiviCRM, but we're heavily in WordPress as a standard.
  
  ***Can we write code to poll the Activity data to return what we want? Is there another approach?*** Or is this even possible?
  
  Thanks.
  
  **Tags:** wordpress, activity, calendar, html
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-08-12. Score: 1
  
  You're looking at writing a custom WordPress plugin along the lines of the [CiviEvent Widget](https://wordpress.org/plugins/civievent-widget/) plugin. Basically, you'll query the CiviCRM API to get activities (filtered appropriately to your needs) and then render them as a shortcode and/or widget.
  
  So, yes, you can write custom code to do this, even as there is no built-in display for CiviCRM activities.
  
  
  ---
  
  