Support » Plugin: WP Accessibility Helper (WAH) » Accessibility Statement

  • Resolved galzil

    (@galzil)



    Thank you for this easy to use plugin,
    Can you add a place to add an Accessibility Statement link on the bottom of the menu?
    And if possible a general default statement

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Alex Volkov

    (@vol4ikman)

    You can add this code to your functions.php file:

    
    add_filter('wah_enabled_widgets', 'custom_front_widgets', 10, 1);
    function custom_front_widgets($widgets){
    
        $widgets["widget-100"]["active"] = 1;
        $widgets["widget-100"]["html"] = '<div class="a_module">
            <div class="a_module_exe">
                <a rel="nofollow" href="#Accessibility-Statement-link" id="wah_custom_link" class="contrast_trigger action_button wahout wah_custom-link">Accessibility Statement</a>
            </div>
        </div>';
    
        return $widgets;
    }
    

    Hope it will help you =)

    Thanks, I will try this

    Plugin Author Alex Volkov

    (@vol4ikman)

    Please, rate us 😉

    Too late, already gave you 5 stars yesterday

    Plugin Author Alex Volkov

    (@vol4ikman)

    😉 thanks

    I didn’t have time until today to do this.
    Unfortunately, it didn’t work, I guess I need some more info about where to add the code.

    nothing happened when I added it to the bottom of: admin/functions.php
    I also tried: admin/ajax-functions.php, but nothing

    What am I missing?

    Plugin Author Alex Volkov

    (@vol4ikman)

    You have to add this to your theme functions.php file. Not in the plugin )

    Thanks, I didn’t realize that.
    A bit of a hassle as I will need to re-add the code every time they update the theme (or set up a child theme).

    Hi,
    The button’s style was lost in the updates,
    Can you help?
    style missing

    I’ve tried changing: class=”contrast_trigger action_button wahout wah_custom-link”
    to: class=”wah-action-button wahout wah-custom-link”
    like the other buttons but it didn’t help

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Accessibility Statement’ is closed to new replies.