Support » Plugin: Site Reviews » Review title should not show in front-end when form-field for title is optional

  • Resolved macurious

    (@macurious)


    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.

    • This topic was modified 2 months, 2 weeks ago by macurious.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.