04/15/2019 at 3:22 pm
#489810
Participant
Hi Steven,
Thanks so much for your detailed response. I have followed your instructions and existing documentation exactly, and was able to successfully add a “Location” field that I can edit on the backend for each entry. I can also return search results based on “Location” now.
Two issues remain:
- I need to be able to add another drop down filter for “Location,” next to the category one that is available by default.
- The “Location” field is not visible on an entry’s preview panel or in an entry’s profile view page. I’m not sure if this is related to me putting the code in the wrong spot in the card.php and card-single.php files — the documentation just says to “add the following code to where you want the custom field data to display.” Ideally, the custom field data would display before the biography text starts on the preview panel, and at the end of the biography text on the profile page. I placed the code at the end of the file, just before the last “</div> tag. Any guidance you could give on proper placement would be much appreciated.
Also, I think it will be a definite improvement to hide the “Custom Fields” metabox by default – it was definitely confusing to see that box and read instructions about custom fields, when that isn’t the best way to go about adding a custom field!
In response to your note on another thread, I will definitely leave a positive review once my page is up and running. You’ve been really helpful.
Thanks again,
Ellen