• Resolved Nazar Hotsa

    (@bugnumber9)


    Hello.

    Is it possible to show the frontend widget to everyone, including visitors?

    I know there’s no such option in plugin settings, but maybe there’s a filter that can be used to enable this?

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

    (@williampatton)

    Hey @bugnumber9,

    Thanks for reaching out about this. Unfortunately, there is no way to enable this for visitors via a filter currently.

    I can open a feature request for this capability if you can tell me a bit more about your use case and why you think it would be a useful addition to add to the plugin.

    Regards,

    Will

    Thread Starter Nazar Hotsa

    (@bugnumber9)

    We are setting up a series of demo sites for our clients.

    Basically, they can choose from a number of pre-made designs and then proceed placing an order for their new website.

    We’d like to show them in advance that our designs don’t have accessibility issues.

    Plugin Author williampatton

    (@williampatton)

    That sounds like a valid use case to me.

    I have opened a feauture request for this on github, where we do our development, here: https://github.com/equalizedigital/accessibility-checker/issues/669.

    We will need to discuss internally before deciding if we should release the feature. You can follow along with status of it on github. Feel free to add any additional details there. And PRs are more than welcome.

    Thread Starter Nazar Hotsa

    (@bugnumber9)

    Awesome, thank you!

    Plugin Author williampatton

    (@williampatton)

    Hey @bugnumber9

    I wanted to let you know that we released a new version of the plugin yesterday, with a new filter that can be used to show the frontend widget to logged-out users. The filter determines if it can show the widget with a bool return value. If you return true to it, then it will show to everyone. You can use it like:

    /*
    * Returning true allows the current visitor to see the highlighter.
    *
    * Default value is false. You can use a function instead if you need to
    * perform more fine grained checking, or just '__return_true' if you want
    * it to show for everyone.
    */
    add_filter('edac_filter_frontend_highlighter_visibility', '__return_true');

    Let me know if this works for you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.