Answers.Body: <p>Take a look at <a href="https://github.com/christianwach/civicrm-acf-integration" rel="nofollow noreferrer">CiviCRM ACF Integration</a> which will sync Civi data into WP. Then you can handle displaying the data using various WP methods. It's in early stages but there's lots of room to grow... Let WP display content and Civi manage contacts.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-01T16:20:22.957Z
Answers.LastActivityDate: 2020-10-01T16:20:22.957Z
Answers.UserDisplayName: Andy Burns
Answers.Body: <p>Building on Pete's answer - in 2020 the solution is the Agileware fork of Content Views CiviCRM plus Data Processor.  <a href="https://civicrm.org/blog/justinfreeman/show-civicrm-content-quickly-easily-in-wordpress-using-content-views" rel="nofollow noreferrer">This blog post</a> has relevant download links.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-01T15:05:44.970Z
Answers.LastActivityDate: 2020-10-01T15:05:44.970Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Answers.Body: <p>Interesting, we (as in CiviCooP) are on the same quest. We will do a work-together on 9 November and I expect one of the projects coming out of that to develop a View-type of Wordpress plugin. Want to join us if we are going to do this in a sprint?</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-18T09:31:11.170Z
Answers.Text: I'd be reluctant to see another Views-like plugin for WordPress. There are already a number of them and IMO it makes more sense to build compatibility for, say, [Content Views](https://wordpress.org/plugins/content-views-query-and-display-post-page/) than to build from scratch.
Answers.UserDisplayName: Christian Wach
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-18T13:59:02.727Z
Answers.Text: Totally agree @ChristianWach... investigate what is already there would be the first point of investigation :-) And if we do not have to develop we will certainly not! However, we do have to take into consideration that CiviCRM might be on another server than the CMS? Any suggestions?
Answers.UserDisplayName: ErikH - CiviCooP
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-18T16:44:37.097Z
Answers.Text: Content Views seems like a viable/potential solution and we've done a very basic proof of concept, there are a couple of screenshoots on Mattermost [here](https://chat.civicrm.org/civicrm/pl/rbfit5qwoi8cfckb7eb8nknkio)
Answers.UserDisplayName: Andrei
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-19T14:49:35.263Z
Answers.Text: I've put the 9th in my diary. Not sure how much use I will be, but will certainly try and help :)
Answers.UserDisplayName: michaelmcandrew
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-21T11:51:12.347Z
Answers.Text: Neither do I but it will be fun @michaelmcandres
Answers.UserDisplayName: ErikH - CiviCooP
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-09T14:43:10.303Z
Answers.Text: You can find the proof of concept repository (mentioned above) [here](https://github.com/mecachisenros/content-views-civicrm).
Answers.UserDisplayName: Andrei
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-18T09:00:02.270Z
Answers.LastActivityDate: 2018-10-18T09:00:02.270Z
Answers.UserDisplayName: ErikH - CiviCooP
Answers.Body: <p>See this question first:  <a href="https://civicrm.stackexchange.com/questions/9439/what-is-the-recommended-wordpress-equivalent-for-drupal-views">What is the recommended Wordpress equivalent for drupal-views</a> for some ideas and then consider the <a href="https://toolset.com/home/views-create-elegant-displays-for-your-content/" rel="nofollow noreferrer">Views</a> plugin for WordPress, what they call "the Query Builder for WordPress."</p>
  
  <p>Then of course there is the <a href="https://wordpress.org/plugins/query-wrangler/" rel="nofollow noreferrer">Query Wrangler</a> plugin.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-01T09:12:24.517Z
Answers.Text: thanks @hershel - for some reason my searching did not turn up that question
Answers.UserDisplayName: michaelmcandrew
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-23T19:44:58.530Z
Answers.LastActivityDate: 2018-10-23T19:44:58.530Z
Answers.UserDisplayName: Hershel
Answers.Body: <p>Work is happening to make <a href="https://github.com/mecachisenros/content-views-civicrm" rel="nofollow noreferrer">https://github.com/mecachisenros/content-views-civicrm</a> useful</p>
  
  <p>Referenced here <a href="https://chat.civicrm.org/civicrm/pl/g9913yqt1tnmdesc85g6m34xph" rel="nofollow noreferrer">https://chat.civicrm.org/civicrm/pl/g9913yqt1tnmdesc85g6m34xph</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-01T21:08:43.230Z
Answers.Text: See Jon's answer for more recent approaches
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-19T09:01:39.147Z
Answers.LastActivityDate: 2019-08-19T09:01:39.147Z
Answers.UserDisplayName: petednz - fuzion
Answers.Body: <p>For simple table views, I find that CiviCRM custom searches usually do what we need :</p>
  
  <ol>
  <li>display a table of results with the columns and data you want</li>
  <li>allow to add some filters</li>
  </ol>
  
  <p>Advantages :</p>
  
  <ul>
  <li>it's CMS agnostic</li>
  <li>you can do the filters you need (or no filters if you don't want any)</li>
  <li>you have full control on the generated query (functions like select(), from(), where() or sql() if you want to have a very specific query)</li>
  <li>you get all the usual searches actions for Contacts (add to group, create a smart group, export, send an email...)</li>
  </ul>
  
  <p>Drawbacks :</p>
  
  <ul>
  <li>you need programming skills (but it's no so hard)</li>
  <li>for other than table display, you need to create your own .tpl and you might have to do quite some work</li>
  </ul>
  
  <p>I can't find any recent documentation but you can find this page : <a href="https://wiki.civicrm.org/confluence/display/CRMDOC42/Create+a+Custom-Search+Extension" rel="nofollow noreferrer">https://wiki.civicrm.org/confluence/display/CRMDOC42/Create+a+Custom-Search+Extension</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-29T13:30:20.510Z
Answers.LastActivityDate: 2018-10-29T13:35:46.753Z
Answers.LastEditDate: 2018-10-29T13:35:46.753Z
Answers.UserDisplayName: samuelsov
Answers.Body: <p>A wordpress plugin "<a href="https://wordpress.org/plugins/query-wrangler/" rel="nofollow noreferrer">Query Wrangler</a>" provides some basic functionality similar to that of drupal views module.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-21T22:05:01.657Z
Answers.Text: thanks for that @hassan - do you have experience using this with civicrm entities?
Answers.UserDisplayName: michaelmcandrew
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-11-07T20:03:27.977Z
Answers.Text: Do you mean drupal module "CiviCRM Entity"?
Answers.UserDisplayName: Hassan Farooq
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-19T19:59:37.633Z
Answers.LastActivityDate: 2018-10-19T19:59:37.633Z
Answers.UserDisplayName: Hassan Farooq
Body: <p>Coming from a Drupal 7 background but wanting to do more work with WordPress, I am looking for ideas on how people approach <em>"the things that you would normally use Drupal views for"</em>.</p>
  
  <p>For any WordPressers that are unfamiliar with views, I'll try and explain it in once sentence:  it is a UI that allows you to run queries on your DB and format these nicely on the screen.</p>
  
  <p>Tools with a GUI are nice, though not necessary - I'd be happy coding stuff. Just thinking that it would be great if there was a framework / set of libraries that I could use, to avoid too much wheel reinvention.</p>
  
  <p>To give a bit of context: I'm creating the data entry part of a monitoring and evaluation system. We'll most likely use Caldera forms for the actual data entry but I want to create a customized dashboard that front end users of the site (without any other access to CiviCRM) that will give an overview to users of what they need to do and point them towards the forms that they need to fill in, etc. Happy to provide more details if that would be helpful.</p>
  
  <p>Tips and tricks and examples are very welcome.</p>
  
Tags: <wordpress><drupal-views><caldera-forms>
Title: How do you approach "things that you would use Drupal views for" in WordPress?
ThreadText: # How do you approach "things that you would use Drupal views for" in WordPress?
  
  (Asked by: username_0 on 2018-10-18)
  
  Coming from a Drupal 7 background but wanting to do more work with WordPress, I am looking for ideas on how people approach *"the things that you would normally use Drupal views for"*.
  
  For any WordPressers that are unfamiliar with views, I'll try and explain it in once sentence: it is a UI that allows you to run queries on your DB and format these nicely on the screen.
  
  Tools with a GUI are nice, though not necessary - I'd be happy coding stuff. Just thinking that it would be great if there was a framework / set of libraries that I could use, to avoid too much wheel reinvention.
  
  To give a bit of context: I'm creating the data entry part of a monitoring and evaluation system. We'll most likely use Caldera forms for the actual data entry but I want to create a customized dashboard that front end users of the site (without any other access to CiviCRM) that will give an overview to users of what they need to do and point them towards the forms that they need to fill in, etc. Happy to provide more details if that would be helpful.
  
  Tips and tricks and examples are very welcome.
  
  **Tags:** wordpress, drupal-views, caldera-forms
  
  
  ---
  
  ## 7 answers
  
  ### Answer by username_1 on 2020-10-01. Score: 1
  
  Take a look at [CiviCRM ACF Integration](https://github.com/username_4/civicrm-acf-integration) which will sync Civi data into WP. Then you can handle displaying the data using various WP methods. It's in early stages but there's lots of room to grow... Let WP display content and Civi manage contacts.
  
  
  ---
  
  ### Answer by username_2 on 2020-10-01. Score: 1
  
  Building on Pete's answer - in 2020 the solution is the Agileware fork of Content Views CiviCRM plus Data Processor. [This blog post](https://civicrm.org/blog/justinfreeman/show-civicrm-content-quickly-easily-in-wordpress-using-content-views) has relevant download links.
  
  
  ---
  
  ### Answer by username_3 on 2018-10-18. Score: 1
  
  Interesting, we (as in username_3) are on the same quest. We will do a work-together on 9 November and I expect one of the projects coming out of that to develop a View-type of Wordpress plugin. Want to join us if we are going to do this in a sprint?
  
  > **Comments:**
  > **username_4**: I'd be reluctant to see another Views-like plugin for WordPress. There are already a number of them and IMO it makes more sense to build compatibility for, say, [Content Views](https://wordpress.org/plugins/content-views-query-and-display-post-page/) than to build from scratch.  
  > **username_3**: Totally agree @username_4... investigate what is already there would be the first point of investigation :-) And if we do not have to develop we will certainly not! However, we do have to take into consideration that CiviCRM might be on another server than the CMS? Any suggestions?  
  > **username_5**: Content Views seems like a viable/potential solution and we've done a very basic proof of concept, there are a couple of screenshoots on Mattermost [here](https://chat.civicrm.org/civicrm/pl/rbfit5qwoi8cfckb7eb8nknkio)  
  > **username_0**: I've put the 9th in my diary. Not sure how much use I will be, but will certainly try and help :)  
  > **username_3**: Neither do I but it will be fun @michaelmcandres  
  > **username_5**: You can find the proof of concept repository (mentioned above) [here](https://github.com/mecachisenros/content-views-civicrm).  
  
  ---
  
  ### Answer by username_6 on 2018-10-23. Score: 1
  
  See this question first: [What is the recommended Wordpress equivalent for drupal-views](https://civicrm.stackexchange.com/questions/9439/what-is-the-recommended-wordpress-equivalent-for-drupal-views) for some ideas and then consider the [Views](https://toolset.com/home/views-create-elegant-displays-for-your-content/) plugin for WordPress, what they call "the Query Builder for WordPress."
  
  Then of course there is the [Query Wrangler](https://wordpress.org/plugins/query-wrangler/) plugin.
  
  > **Comments:**
  > **username_0**: thanks @username_6 - for some reason my searching did not turn up that question  
  
  ---
  
  ### Answer by username_7 on 2019-08-19. Score: 0
  
  Work is happening to make <https://github.com/mecachisenros/content-views-civicrm> useful
  
  Referenced here <https://chat.civicrm.org/civicrm/pl/g9913yqt1tnmdesc85g6m34xph>
  
  > **Comments:**
  > **username_7**: See Jon's answer for more recent approaches  
  
  ---
  
  ### Answer by username_8 on 2018-10-29. Score: 0
  
  For simple table views, I find that CiviCRM custom searches usually do what we need :
  
  1. display a table of results with the columns and data you want
  2. allow to add some filters
  
  Advantages :
  
  * it's CMS agnostic
  * you can do the filters you need (or no filters if you don't want any)
  * you have full control on the generated query (functions like select(), from(), where() or sql() if you want to have a very specific query)
  * you get all the usual searches actions for Contacts (add to group, create a smart group, export, send an email...)
  
  Drawbacks :
  
  * you need programming skills (but it's no so hard)
  * for other than table display, you need to create your own .tpl and you might have to do quite some work
  
  I can't find any recent documentation but you can find this page : <https://wiki.civicrm.org/confluence/display/CRMDOC42/Create+a+Custom-Search+Extension>
  
  
  ---
  
  ### Answer by username_9 on 2018-10-19. Score: 0
  
  A wordpress plugin "[Query Wrangler](https://wordpress.org/plugins/query-wrangler/)" provides some basic functionality similar to that of drupal views module.
  
  > **Comments:**
  > **username_0**: thanks for that @username_9 - do you have experience using this with civicrm entities?  
  > **username_9**: Do you mean drupal module "CiviCRM Entity"?  
  
  ---
  
  