Title: Total count shortcode display in header
Last modified: November 8, 2016

---

# Total count shortcode display in header

 *  Resolved [rheajap](https://wordpress.org/support/users/rheajap/)
 * (@rheajap)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/total-count-shortcode-display-in-header/)
 * Hello,
 * Thank you for this awesome plugin! I have a question and I hope you can help 
   me out.
 * When I use the Shortcode [lh_signing_total_count] and I post it on the same page
   as where I have the petition it is showing the data correctly. In this case 2
   subscribers.
 * When I want to put the shortcode in the header it’s not working as I expected.
 * When I do `<?php echo do_shortcode('[lh_signing_total_count]');` and I visit 
   the page where the I have put [lh_signing_form] it is showing the correct ammount
   of subscribers.
 * But when I go to my homepage or any other page / post of the site.. the counter
   in the header is saying… 0 people did the petition.
 * How can I get the shortocde [lh_signing_total_count] In the header to show the
   ammount site wide. I only use the form one time on my site!
 * I really hope you can help me.. because we need the counter visible very very
   much.
 * Thank you in advantage
 * Regards
 * Jsp

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [shawfactor](https://wordpress.org/support/users/shawfactor/)
 * (@shawfactor)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/total-count-shortcode-display-in-header/#post-8415957)
 * Okay as you requested I think this is needed functionality so i have added it
   in in the latest version (released today), add an id attribute to any of the 
   shortcodes and you will get the listing or count for the post, page, or cpt that
   corresponds to that id eg
 * [lh_signing_unconfirmed_list id=”6515″]
 * Please test should work and hopefully this helps and if you like it please rember
   to give me a nice review 😉
 *  Thread Starter [rheajap](https://wordpress.org/support/users/rheajap/)
 * (@rheajap)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/total-count-shortcode-display-in-header/#post-8416067)
 * Yes this is working like a charm… THANK YOU…
 * Another point what I think is a bug. When I insert the widget somewhere I can
   choose wich page or post the shortcode is on.
 * But its showing 4 or 5 times the same page title.. when I select different they
   all got different id’s
 * I picked the first.. but I think its not as it should be.
 * Where can I rate you??
 * Jap

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Total count shortcode display in header’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/lh-signing_928f98.svg)
 * [LH Signing](https://wordpress.org/plugins/lh-signing/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lh-signing/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lh-signing/)
 * [Active Topics](https://wordpress.org/support/plugin/lh-signing/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lh-signing/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lh-signing/reviews/)

## Tags

 * [count](https://wordpress.org/support/topic-tag/count/)
 * [header](https://wordpress.org/support/topic-tag/header/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 2 replies
 * 2 participants
 * Last reply from: [rheajap](https://wordpress.org/support/users/rheajap/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/total-count-shortcode-display-in-header/#post-8416067)
 * Status: resolved