Problem: I have created a Subscribers post type as a proxy for Users so I can create relationships between Users and Favorites (another custom post type). I would like to display a User's Favorites posts on their My Account page.
Solution: Use the legacy Views editor to create a View of Subscriber posts filtered by post author, where the post author is the same as the current logged-in User. Use the "list with separators" loop style and output only the post ID. Create another View of Favorites posts filtered by the Subscribers-Favorites post relationship, set by a shortcode argument "wpvrelatedto". Use the Loop Wizard to design the Favorites output. Nest the shortcode of the Subscribers View inside the wpvrelatedto shortcode argument of the Favorites View, for example:
Problem: I would like to display an image for each option in a select custom field, and allow Users to click images to select options in a form input field.
Solution: There is no easy way to do this with a select field. You can use a radio field instead, and add image tags to each option in the field settings page. You must include a custom code snippet to allow HTML content here.
Problem: I would like to display the name of a custom field and the field value, conditionally, based on whether or not the field has content.
Solution: Use a conditional block to display a field conditionally based on its content. Include the field name in a paragraph or other basic text block.