Jump to content

simcoweb

Members
  • Content Count

    1,104
  • Joined

  • Last visited

Community Reputation

0 Neutral

About simcoweb

  • Rank
    Prolific Member

Contact Methods

  • Website URL
    http://www.phpfreaks.com

Profile Information

  • Gender
    Not Telling
  • Location
    CA
  1. Greetings. I'm using a newsletter subscription plugin that doesn't have parameters for making fields required (don't ask why). The system is connected to Mailchimp but because the first and last names are not 'required' many of the submissions have been email address only. I found this JQuery snippet that validates that the 'first name' field is populated before submission. The problem is I need the 'last name' field validated as well. I played around with the code but my syntax knowledge is really rusty and the two ways I tried to add that field into the mix failed. Here's the code:
  2. Greetings. I'm using the Divi theme from Elegant Themes for a new magazine style project. The theme does not display the caption for any of its image related modules and the featured image that displays in the posts as the thumbnail does not. We need the caption to display for legal reasons since it will attribute the source of the image. Here's the code they use for their theme display in the single.php file: } else if ( ! in_array( $post_format, array( 'gallery', 'link', 'quote' ) ) && 'on' === et_get_option( 'divi_thumbnails', 'on' ) && '' !== $thumb ) { pr
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.