Review title should not show in front-end when form-field for title is optional
-
I want to let the user decide if they want to provide a title for their review or not. For that reason i set my title form-field to optional.
When a user publishes a review without filling out the title form-field, a review-post with (no title) will be created.
My problem is, that the review-title still appears in the front-end as No title instead of not showing up.
I tried to fix it with the ‘site-reviews/review/build/tag/title’ filter-hook but didn’t succeed. I also tried to hide “No title”-titles with a jQuery one-liner, but it reappears after using ajax-pagination.
How to hide the review-title in front-end if the review-post doesn’t have a post-title?
Thank you in advance.
- The topic ‘Review title should not show in front-end when form-field for title is optional’ is closed to new replies.