Problem: I have created a Content Template for a custom post type. I am displaying some content inside a custom HTML block. Inside that block, I would like to conditionally display some content if a specific custom field is not empty.
Solution: You can use the wpv-conditional shortcode inside a custom HTML block to add conditional logic for displaying or hiding portions of the content. For example:
[wpv-conditional if="($(wpcf-consignee-company-name) ne '' )"]
<span class="invoice-to-label">Company: [types field='consignee-company-name'][/types]</span><br>
[/wpv-conditional]
Problem: Only 5 markers are displayed on a map that should show many more markers. If I check the Maps address cache in Toolset > Settings > Maps, there are no addresses cached.
Solution: The minimum required MySQL version is 5.6. In this case, the server did not meet the minimum requirements. Updating the MySQL version is the best solution in this case.