• Hi,

    Is there a way (a shortcode for example) to display on a form the amount received thus far for that form without including a goal?

    You can always set the goal to 1 and then it displays the amount donated to that form thus far but the result is of course: €XXXX of €1 raised. I can easily hide the goal amount with CSS but unfortunately not the “of” and “raised”. I even like the fact that the goal progress bar is there and full.

    Being able to set the goal to 0 and in that circumstance only the amount raised thus far getting displayed would even solve it?

    Yours,
    éamonn

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Matt Cromwell

    (@webdevmattcrom)

    Hi there,

    Check out our give_totals shortcode. You can place that in the “Form Content” of any form and it can be configured to display your progress however you like:
    https://givewp.com/documentation/core/shortcodes/give_totals

    Take a look and let me know if you have additional questions about that at all.

    Thanks!

    Thread Starter eamonncoyne

    (@eamonncoyne)

    Hi Matt,

    Thanks for the quick response and I hadn’t tried that as for some reason I completely ignored the fact that you could of course just enter 1 post ID!

    That said it doesn’t work for me at all as the goal displays as a % (don’t see how to change that parameter) and it is of course separated from (and above) the amount which also shares the same CSS class selector as the rest of the message.

    The standard display works for me but for the “of” and “raised”. Any chance they could get their own CSS class selector so I could make them disappear on occasion?!

    éamonn

    Plugin Author Matt Cromwell

    (@webdevmattcrom)

    Can you provide me a link so I can see the problem live? Can you also provide me the exact shortcode you used? That way I can test a bit more to see how to help best.

    Thread Starter eamonncoyne

    (@eamonncoyne)

    Hi again,

    Sorry for not coming back sooner as other things were more pressing and I had a work around as seen on this page https://wellsforzoe.org/melcycle/

    To show you what I mean I have set up a test page (https://wellsforzoe.org/test-for-givewp/) for the following shortcode that I just amended from the page you included above (https://givewp.com/documentation/core/shortcodes/give_totals).

    [give_totals ids=”29585, 29595″ total_goal=”€10,000″ message=”We’ve raised {total} of the {total_goal} we are trying to raise for this campaign” link=”/donate/” link_text=”Donate here” progress_bar=”true”]

    It is also really hard to style the result of this shortcode.

    Any help with this would be great.

    éamonn

    Thread Starter eamonncoyne

    (@eamonncoyne)

    Also, just to say that the shortcode I use on the https://wellsforzoe.org/melcycle/ page is just:

    [give_goal id=”29595″ show_text=”true” show_bar=”true”]

    but it does the trick very well.

    It’s unfortunate that the give_totals shortcode doesn’t work as well or in a similar layout stylistically.

    Or alternatively it’s a pity that multiple form IDs can’t be used with the give_goal shortcode.

    Bye-for-now,
    éamonn

    • This reply was modified 5 years, 7 months ago by eamonncoyne.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘give form progress without goal’ is closed to new replies.