Answers.Body: <p>I think it's all in SK, just checked on dmaster and the below search would allow you to create the relevant displays</p>
  <p><a href="https://i.sstatic.net/iVfggtzj.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/iVfggtzj.png" alt="pcp-search" /></a></p>
  <p>I can't set the display to bypass permissions on dmaster but with that enabled you should be able to display it publicly</p>
  <p><a href="https://i.sstatic.net/9nceSPUK.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/9nceSPUK.png" alt="enter image description here" /></a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-10-22T14:12:01.710Z
Answers.Text: Many thanks for your helpful response. I managed to create the Search Kit query and the FormBuilder (a Search Form) with "Accessible on front-end of website" enabled, but when introducing the shortcode: [civicrm component="afform" name="x"] on a WordPress page the form is not displayed. Any idea what I am missing? Thank you!
Answers.UserDisplayName: Cristina P.
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-10-22T14:28:16.427Z
Answers.Text: Great! Do try on the search display to toggle the bit at the top from 'Enforce permissions' to 'Bypass permissions'
Answers.UserDisplayName: RebeccaTregenna
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-10-21T13:51:07.183Z
Answers.LastActivityDate: 2024-10-21T13:51:07.183Z
Answers.UserDisplayName: RebeccaTregenna
Body: <p>Does anyone know how to display on a <strong>WordPress</strong> site the CiviCRM <strong>Personal Campaign Pages</strong>, with the amount raised, number of donations and the supporter who run the PcP?</p>
  <p>I have managed to display the amount raised and the number of donations with the <strong>Shortcode</strong> <em>[ux_campaign_info_thermometer]</em>, but would need to link this info with the <strong>PcP supporter</strong>.</p>
  <p>Thank you!</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-10-16T11:11:43.470Z
Comments.Text: Not sure if there is an existing built in shortcode for all PCPs but you could create a SearchKit with a display and use the shortcode for that one ?
Comments.UserDisplayName: RebeccaTregenna
Tags: <wordpress><personal-campaign-pages><pcp>
Title: How to display PcP info on a WordPress site
ThreadText: # How to display PcP info on a WordPress site
  
  (Asked by: username_0 on 2024-10-15)
  
  Does anyone know how to display on a **WordPress** site the CiviCRM **Personal Campaign Pages**, with the amount raised, number of donations and the supporter who run the PcP?
  
  I have managed to display the amount raised and the number of donations with the **Shortcode** *[ux\_campaign\_info\_thermometer]*, but would need to link this info with the **PcP supporter**.
  
  Thank you!
  
  **Tags:** wordpress, personal-campaign-pages, pcp
  
  > **Comments:**
  > **username_1**: Not sure if there is an existing built in shortcode for all PCPs but you could create a SearchKit with a display and use the shortcode for that one ?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-10-21. Score: 3
  
  I think it's all in SK, just checked on dmaster and the below search would allow you to create the relevant displays
  
  [![pcp-search](https://i.sstatic.net/iVfggtzj.png)](https://i.sstatic.net/iVfggtzj.png)
  
  I can't set the display to bypass permissions on dmaster but with that enabled you should be able to display it publicly
  
  [![enter image description here](https://i.sstatic.net/9nceSPUK.png)](https://i.sstatic.net/9nceSPUK.png)
  
  > **Comments:**
  > **username_0**: Many thanks for your helpful response. I managed to create the Search Kit query and the FormBuilder (a Search Form) with "Accessible on front-end of website" enabled, but when introducing the shortcode: [civicrm component="afform" name="x"] on a WordPress page the form is not displayed. Any idea what I am missing? Thank you!  
  > **username_1**: Great! Do try on the search display to toggle the bit at the top from 'Enforce permissions' to 'Bypass permissions'  
  
  ---
  
  