Answers.Body: <p>@Brad that's a pretty broad question - I'm not sure anyone would be able to give you a complete guide here. However, a good first step would be to see if the <a href="https://github.com/christianwach/civicrm-directory" rel="nofollow noreferrer">CiviCRM Directory plugin</a> fits your needs. It's not very well documented, but you should visit its Settings page (where you need to fill out API keys if you want mapping) and explore the "Directories" content type which the plugin creates.</p>
  
  <p>Each "Directory" will allow you to use a CiviCRM Group as the source for the listings. Layouts can be templated in the usual WordPress manner of placing files in your child theme's directory to override the default markup. In combination with some CSS in your child theme, you should be able to get a long way towards your goal.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-14T07:43:15.230Z
Answers.Text: Thanks Christian. Yeah, looking at it now, it is a broad question. I guess I'm trying to get my head around where to start and more importantly HOW to start customising the display of data in CiviCRM. There's so much going on! :) Thanks for this. I'll check it out. Much appreciated
Answers.UserDisplayName: Brad
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-14T10:20:22.050Z
Answers.Text: It can be complicated for sure. With the Directory plugin, customise the templates by copying the ones you want to change into a folder called "civicrm-directory" in your child theme's folder. You *do* have a child theme, right? ;-)
Answers.UserDisplayName: Christian Wach
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-20T01:18:01.893Z
Answers.Text: Nope! But I have been researching them, as I was considering making adjustments to the wordpress theme. Like I said - very new to wordpress, I code every day - just with .net, java, javascript, etc - never had to work with php or wordpress until now :) Thanks for your help and patience.
Answers.UserDisplayName: Brad
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-29T08:30:10.580Z
Answers.Text: Hey Christian, this plugin is great - and your advice was spot on. It has helped a lot. I do have a further question though, and I hope this is the right forum for it - I can't seem to work out where the ajax call - that retrieves the civicrm data is set up. I gather it is an action 'civicrm_directory_search' that is passed to wordpress to handle.
  Is there a way I can alter the logic? I'm hoping to retrieve - the user image, multiple addresses for each contact for mapping, 
  and expand the search criteria to include other fields. Any chance you could point me in the right direction?
Answers.UserDisplayName: Brad
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-01T10:26:51.400Z
Answers.Text: @Brad You'll need to look at the `civicrm_directory_contacts_get_for_group_params` filter to modify the data that's asked for. See: https://github.com/christianwach/civicrm-directory/blob/master/includes/civicrm-directory-civi.php#L226-L241
Answers.UserDisplayName: Christian Wach
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-04-03T09:15:15.773Z
Answers.Text: Thanks! worked a treat.
Answers.UserDisplayName: Brad
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-13T19:37:05.990Z
Answers.LastActivityDate: 2019-03-13T19:37:05.990Z
Answers.UserDisplayName: Christian Wach
Body: <p>I was wondering what the best approach would be to change the layout of a member listing. 
  I'm using wordpress, and have inherited the maintenance of this association website - and believe civiCRM could really help with their internal processes, but a key to this is a public searchable list of members. 
  I've mocked up in wix (don't judge me :)  the sort of layout/styling and functionality I was hoping for. </p>
  
  <p><a href="https://sirbrad.wixsite.com/iakpproposal/IAKPPractitioner/find" rel="nofollow noreferrer">https://sirbrad.wixsite.com/iakpproposal/IAKPPractitioner/find</a></p>
  
  <p>I'm still getting my head around wordpress, and civicrm, and am not sure of the best practice/approach for creating something like this? 
  Would this be an 'extension' that I would need to create? Or should I work out how to create a wordpress page that uses ajax to call the civicrm methods to retrieve the data and display it using javascript or something?</p>
  
  <p>Any tips, or suggestions as to further reading would be much appreciated.</p>
  
  <p>Warmly</p>
  
  <p>Brad</p>
  
Tags: <wordpress><civimember><profile>
Title: Change Member Listing Layout in Worpress
ThreadText: # Change Member Listing Layout in Worpress
  
  (Asked by: username_0 on 2019-03-12)
  
  I was wondering what the best approach would be to change the layout of a member listing.
  I'm using wordpress, and have inherited the maintenance of this association website - and believe civiCRM could really help with their internal processes, but a key to this is a public searchable list of members.
  I've mocked up in wix (don't judge me :) the sort of layout/styling and functionality I was hoping for.
  
  <https://sirbrad.wixsite.com/iakpproposal/IAKPPractitioner/find>
  
  I'm still getting my head around wordpress, and civicrm, and am not sure of the best practice/approach for creating something like this?
  Would this be an 'extension' that I would need to create? Or should I work out how to create a wordpress page that uses ajax to call the civicrm methods to retrieve the data and display it using javascript or something?
  
  Any tips, or suggestions as to further reading would be much appreciated.
  
  Warmly
  
  username_0
  
  **Tags:** wordpress, civimember, profile
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-03-13. Score: 4
  
  @username_0 that's a pretty broad question - I'm not sure anyone would be able to give you a complete guide here. However, a good first step would be to see if the [CiviCRM Directory plugin](https://github.com/username_1/civicrm-directory) fits your needs. It's not very well documented, but you should visit its Settings page (where you need to fill out API keys if you want mapping) and explore the "Directories" content type which the plugin creates.
  
  Each "Directory" will allow you to use a CiviCRM Group as the source for the listings. Layouts can be templated in the usual WordPress manner of placing files in your child theme's directory to override the default markup. In combination with some CSS in your child theme, you should be able to get a long way towards your goal.
  
  > **Comments:**
  > **username_0**: Thanks username_1. Yeah, looking at it now, it is a broad question. I guess I'm trying to get my head around where to start and more importantly HOW to start customising the display of data in CiviCRM. There's so much going on! :) Thanks for this. I'll check it out. Much appreciated  
  > **username_1**: It can be complicated for sure. With the Directory plugin, customise the templates by copying the ones you want to change into a folder called "civicrm-directory" in your child theme's folder. You *do* have a child theme, right? ;-)  
  > **username_0**: Nope! But I have been researching them, as I was considering making adjustments to the wordpress theme. Like I said - very new to wordpress, I code every day - just with .net, java, javascript, etc - never had to work with php or wordpress until now :) Thanks for your help and patience.  
  > **username_0**: Hey username_1, this plugin is great - and your advice was spot on. It has helped a lot. I do have a further question though, and I hope this is the right forum for it - I can't seem to work out where the ajax call - that retrieves the civicrm data is set up. I gather it is an action 'civicrm_directory_search' that is passed to wordpress to handle. Is there a way I can alter the logic? I'm hoping to retrieve - the user image, multiple addresses for each contact for mapping,  and expand the search criteria to include other fields. Any chance you could point me in the right direction?  
  > **username_1**: @username_0 You'll need to look at the `civicrm_directory_contacts_get_for_group_params` filter to modify the data that's asked for. See: https://github.com/username_1/civicrm-directory/blob/master/includes/civicrm-directory-civi.php#L226-L241  
  > **username_0**: Thanks! worked a treat.  
  
  ---
  
  