• Resolved razsdfsdf

    (@razsdfsdf)


    placed the shortcode inside a CPT loop, and it displayed the form along with the progress bar. I then hid the form so that only the progress bar would show, and it worked.

    After that, I changed the title and content of the petition, and the progress bar stopped appearing. It no longer shows, even on a newly created petition.

    I also checked the browser console and couldn’t find the progressbar class anywhere. It doesn’t appear in the DOM at all.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Anton Voytenko

    (@avoytenko)

    Hi there, thanks for using Petitioner.

    Hmm, could you check something for me? If you go to Petitioner -> Settings, do you see the checkbox wth a label “Show petition goal“? Is it unchecked for you?

    Plugin Author Anton Voytenko

    (@avoytenko)

    Hi @razsdfsdf,

    I didn’t hear back from you, but I think I’ve figured out the issue. You were likely disabling the goal in the general settings and then trying to display the progress bar using a shortcode. In that setup, the plugin would see the setting as “off” and prevent the progress bar from showing.

    I’ve updated the behavior so that the shortcode will now display the progress bar even if the goal is disabled in the settings.

    Here’s how it works:

    Add the shortcode to your page like this:

    [petitioner-goal-progress-ui id="123"]

    (Just replace 123 with the correct ID.)

    The shortcode will now always display the progress bar, regardless of the general setting. Simply update the plugin to the latest version (0.5.0) and you’re all set!

    Let me know if this helps!

    Plugin Author Anton Voytenko

    (@avoytenko)

    I’m pretty sure this was the fix. Since I haven’t heard back from you I will be closing the ticket. Please don’t hesitate to reach out if you still need support.

    Cheers!

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

You must be logged in to reply to this topic.