[Resolved] screen-reader-text

Home Forums Support [Resolved] screen-reader-text

Home Forums Support screen-reader-text

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • #1064501
    Tom
    Lead Developer
    Lead Developer

    No problem! πŸ™‚

    #1105298
    Mark

    Tom,
    Referring to your post of March 8 (code below), I assume that this code can be entered in GP Hooks, correct? If so, where in GP Hooks would this be entered? I tried it in both wp_head and wp_footer, but I still saw the skip link.
    And if not in GP Hooks, then where?
    Thank you.
    -Mark

    Code from March 8:

    add_action( 'after_setup_theme', function() {
        remove_action( 'generate_before_header', 'generate_do_skip_to_content_link', 2 );
    }, 50 );
    
    #1106058
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    That code would be added using one of these methods: https://docs.generatepress.com/article/adding-php/

    Hope this helps πŸ™‚

Viewing 3 posts - 16 through 18 (of 18 total)
  • You must be logged in to reply to this topic.