Support threads created in the last 30 days: 1
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
|Google map not showing with address field on form||2||3||5 days, 22 hours ago|
|Select control not working on small screens||2||3||2 months, 2 weeks ago|
|Google address not resolving correctly 1 2||3||18||2 months, 3 weeks ago|
|Add an iframe to Elementor using dynamic URL||2||5||4 months ago|
|Unable to see custom fields in the backend||2||4||4 months, 4 weeks ago|
|Sorting view by date stored in child post||2||2||5 months ago|
|Unwanted line breaks in post-body output||2||2||7 months ago|
|Unable to install module – 403 error||2||5||7 months, 1 week ago|
|Display posts with a null M2M relationship||2||4||7 months, 1 week ago|
| Sorting posts by intermediary field|
Problem: I have post types Bus Stops and Bus Routes in a many-to-many relationship. On the Bus Route post, I want to display a list of related Bus Stops, ordered by a custom field on the relationship (intermediary post type).
Solution: In this case, the intermediary post type must be visible in wp-admin. Either choose that option when creating a new relationship, or enable the "show_ui" option in the post type editor screen Options panel. Then create a View of the intermediary post type, ordered by the custom field. In the Loop editor, display information from the related Bus Stop post as needed.
|2||5||7 months, 2 weeks ago|
|Updating modules across sub sites||2||2||7 months, 2 weeks ago|
|Create a URL from custom fields||2||3||11 months, 1 week ago|
|Possible to have multiple content templates?||2||4||1 year ago|
|User unable to delete relationship on front end||2||8||1 year ago|
| Unable to customise post relationship form|
I would also like to hide the second field in the relationship form as there is no point displaying it given that my form is displayed on the parent post.
You can hide the field with CSS codes, for example:
|3||9||1 year, 1 month ago|