[button href="http://www.d##########.com/charity-...arity=[insert_php]the_title('');[/insert_php]" target="_self" size="btn-large" type="button"]Donate to [insert_php]the_title(' ');[/insert_php], Click Here![/button]
Hi, so the above is my current button code that inserts the post title into the html href and visible text. Its a little ugly, but it works fine currently.
I'm not really a code jockey, but I can usually suss these things out, this one is stumping me...
the button basically launches the form page with the charity pre-filled into the proper location... what I cant figure out is how to replace the old php inserts to your new snippets and have them actually work... just making a snippet with " the_title(""); " certainly doesn't work, within the button code, (it works fine on its own, though) so clearly I need some education TIA.