• Resolved flo30

    (@flo30)


    Hi Robin,

    thank you for your great plugin!

    Unfortunately the “Hide Label if no data”-function/checkbox does not seem to work for me. I added 9 additional fields and all labels are shown even when there is no data.

    Any idea? 🙂

    Thank you,
    Florian

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Robin W

    (@robin-w)

    apologies for the delay in responding, I’ve been elsewhere !

    I cannot replicate this on my test site.

    Can you confirm it is still an issue?

    Thread Starter flo30

    (@flo30)

    No worries, thanks for getting back to me.

    Unfortunately it is still an issue.

    I run WordPress 5.7.1, bbPress 2.6.6, bbp style pack 4.8.8 and bbp profile information 2.1.2.

    I added 9 fields in your plugin. At all fields the checkbox “Hide Label if no data” is checked, but I see the labels even when nothing is filled in at the profile page.

    Plugin Author Robin W

    (@robin-w)

    ok, I can only suggest it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    https://en-gb.ww.wp.xz.cn/plugins/health-check/

    Then come back

    Thread Starter flo30

    (@flo30)

    Hi Robin,

    it had nothing to do with themes or oher plugins.

    In the display.php I added the “//show label if required” part from line 31 to the part where the additional information is displayed in the profile (line 69). Now the checkbox works both in the forum and in the profile.

    Thanks again.

    Plugin Author Robin W

    (@robin-w)

    thanks, can you post your revised display.php here please

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Hide Label if no data’ is closed to new replies.