impress-org / givewp-snippet-library

A collection of code snippets to enhance or expand on the free Give WordPress Donation Plugin.
https://givewp.com
140 stars 90 forks source link

Snippet code no longer works #103

Closed jimtyrro closed 5 years ago

jimtyrro commented 5 years ago

Thank you for a great article but this snippet code no longer working properly.

If I insert into Wordpress via My Custom Functions plugin it crashes the Wordpress site, or if I add it to my functions.php code, it complains about "unexpected < ".

I'd really love to use this code in our donation forms so could you please take a look and see if it's still valid with current version of Wordpress, and why it complains about "unexpected < " in functions.php?

Thank you.

DevinWalker commented 5 years ago

The "unexpected <" error seems like an issue conflicting with other code rather than this snippet. As well, I'm not sure which snippet you're talking about. This issues area is meant primarily for development rather than support. If you have a code recommendation or fix please proceed here, otherwise please reach out to us via https://givewp.com/priority-support/

jimtyrro commented 5 years ago

Sorry, I forgot to include the reference to the snippet: /form-customizations/populate-amount-name-email-from-url.php

OK, if you're not answering bugs here I will submit a support ticket.