Support » Plugin: LH Signing » Total count shortcode display in header

  • Resolved rheajap

    (@rheajap)


    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

    (@shawfactor)

    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

    (@rheajap)

    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.