Support » Plugin: CP Contact Form with PayPal » Great tool – weak plugin code

  • I was excited to find this, as it’s features filled all the needs of a particular project.
    Alas, it fails a number of requirements on the code side to be used.
    I suggest you consider the following:
    optional css loading, and when it does, do so with the enqueue_style function
    reduce the javascript to only what it needs and also load it via enqueue_script function,
    ensure to only load when on a page which contains the form.

    The rendered form has a serious case of divitis, you could remove them all and just style the label, and input fields, though this is subjective.

    Works fine, just doesn’t stand up yet..

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Thank you for your comments. We will include some of your suggestions in the next update.

    Thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘Great tool – weak plugin code’ is closed to new replies.