givewp
givewp copied to clipboard
`give_goal` and `give_form` with a legacy template should display the form goal
Details
Currently if using the shortcodes give_goal or give_form with a legacy template. The form goals are not displaying.
Expected Behavior
While using either shortcode with a legacy template the goals display accordingly.
Steps to Reproduce
- Create a form with the legacy template.
- Create a page and use the shortcodes [give_goal] and [give_form].
- View page.
Visuals
https://user-images.githubusercontent.com/75056371/191845008-4f2105d1-ff9c-4715-a631-0ee398dfcd0e.mov
Acceptance Criteria
- [x] The shortcode [give_goal] works correctly by displaying the goal of the form id given.
- [x] The shortcode [give_form] works correctly with all templates by displaying the goal of the form id given.
- [x] While changing the goal options for a form, the correct options display with both [give_goal] and [give_form]