Title: Use in header?
Last modified: August 21, 2016

---

# Use in header?

 *  [provdes](https://wordpress.org/support/users/provdes/)
 * (@provdes)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/use-in-header/)
 * 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/](https://wordpress.org/plugins/accessibility-widget/)

Viewing 1 replies (of 1 total)

 *  [Lorna Timbah](https://wordpress.org/support/users/webgrrrl/)
 * (@webgrrrl)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/use-in-header/#post-4693971)
 * 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](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.

Viewing 1 replies (of 1 total)

The topic ‘Use in header?’ is closed to new replies.

 * ![](https://ps.w.org/accessibility-widget/assets/icon.svg?rev=3318036)
 * [AccessiYes Accessibility Widget for ADA, EAA & WCAG Readiness](https://wordpress.org/plugins/accessibility-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accessibility-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accessibility-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/accessibility-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accessibility-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accessibility-widget/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Lorna Timbah](https://wordpress.org/support/users/webgrrrl/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/use-in-header/#post-4693971)
 * Status: not resolved