WordPress.org

Ready to get started?Download WordPress

Forums

javascript button (3 posts)

  1. jade.stewart
    Member
    Posted 1 year ago #

    Ive had a customer asking me to create a button for this piece of code im not sure where to start any help appreciated its for a email subscription button

    (function () { var e = document.createElement('script'); e.type = 'text/javascript'; e.async = true; e.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://btn.createsend1.com/js/sb.min.js?v=2'; e.className = 'createsend-script'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(e, s); })();

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    In which plugin are you trying to implement this? Or, how else does this issue relate to WordPress?

  3. jade.stewart
    Member
    Posted 1 year ago #

    Hi Andrew no plugin a customer just asked me create a button using that code ive never been great with javascript

Topic Closed

This topic has been closed to new replies.

About this Topic