Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.17
- This topic has 15 replies, 2 voices, and was last updated 5 years, 7 months ago by
Steven Zahm.
-
AuthorPosts
-
04/24/2018 at 5:02 pm #460030
Steven Zahm
Keymaster@ Erika
RE: It worked!!!!
Great to hear!
RE: how is it determined which order the excerpts are listed in?
Alphabetical by name (last name if an individual).
RE: Can they be alphabetized by city?
See the
order_by
shortcode option. You can change the order to be by city.Hope this helps!
04/24/2018 at 5:29 pm #460033contactbirthingfromwithin-com
ParticipantURG. the city has disappeared and i didn’t do anything. When i go to edit entry it shows as a category but doesn’t show the value (see attached screenshot). Checked and the code is still in snippet & in card.php file for child theme.
Attachments:
You must be logged in to view attached files.04/24/2018 at 5:31 pm #460035contactbirthingfromwithin-com
Participantand if i want to add order by city would the shortcode be:
[connections category_in=12 image_width=200 order_by=city]
or
[connections category_in=12 image_width=200 order_by='city']
04/25/2018 at 9:35 am #460159Steven Zahm
Keymaster@ Erika
RE: the city has disappeared and i didn’t do anything. When i go to edit entry it shows as a category but doesn’t show the value (see attached screenshot).
I took a look at the code for the snippet you attached as a PDF a few replies ago…
This line:
'type' => 'city', // This is the field type being added.
Should be:
'type' => 'text', // This is the field type being added.
That is likely the reason it does not have a text input for you to type the name.
RE: if i want to add order by city would the shortcode be:
Either of those should work fine. I personally use quotes when adding shortcode options. Od, you should use the
category
shortcode option not thecatgory_in
shortcode option.[connections category=12 image_width=200 order_by='city']
04/25/2018 at 12:07 pm #460173contactbirthingfromwithin-com
ParticipantSo close!!! I added a fake entry with a city name starting with A to test out the order by city feature.
When i just have [connections category=12 image_width=200] I can see both profiles, but they are not ordered alphabetically.
When i have [connections category=12 image_width=200 order_by='city']
or
[connections category=12 image_width=200 order_by=city]the newer profile that has a custom city field starting with A disappears completely.
??????
04/25/2018 at 12:20 pm #460174Steven Zahm
Keymaster@ Erika
The order_by is not sorting based on your custom field. It is sorting based on the city field in the address fieldset. I suspect the entry disappears because the entry does not have an address with a matching city added in its address.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.