WordPress.org

Ready to get started?Download WordPress

Forums

Accessibility Widget
Use in header? (2 posts)

  1. provdes
    Member
    Posted 5 months ago #

    Great plugin! Works the best out of all I've tried when I used it in the sidebar.

    However, I need to use it in the header of my site but nothing displays if use the code you suggest:

    <?php do_action('widget_accesstxt'); ?>

    Any suggestions on how I could get this to work with my theme files?

    https://wordpress.org/plugins/accessibility-widget/

  2. Lorna Timbah
    Member
    Plugin Author

    Posted 4 months ago #

    I've been skimming through several solutions; unfortunately I haven't had the time to sit and test any of it.

    If you do, maybe you could look into the suggestion in this thread: http://wordpress.org/support/topic/calling-a-widget-from-anywhere-in-a-theme

    The do_action solution I suggested may not have worked in the header due to the call being done outside of The Loop. In any case, do post your solution if you're able to figure it out.

    Sorry I'm not much of a help at this point.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.