Is it possible (aside from the obvious hacking of the plugin) to set the Address field for a default country? My form will be used only by US residents, so it is mostly usless to have them all scroll down to the ‘U’s.
Thanks!
Could you send us a copy of the wp2pgpmail-pro.css file that you changed so we can take a look? you can use our support ticket system: http://wp2pgpmail.com/support/
About the country list, we are trying to see if there is an easy solution to implement. Otherwise, we will send you the line of code to change!
I see that many of my changes are now irrelevant, since you added the ability to position fields across the page left, middle and right (thanks), BUT – what if I don’t want .wp2pgpmail .legend{background-color:#eeeeee;}
(line 36), or
.wp2pgpmail .legend h3{font-size:20px;}
? I suggest please letting the user’s theme style sheet do the bulk if not all of the formatting. Or give us a way to override the plugin style sheet the way I can override a theme with a child theme. Thanks.
I suggest you to do the following steps to override the CSS plugin:
- create a new file with your custom CSS code (for example wp2pgpmail-override.css)
- upload this file to your server (at the root of WordPress for example, to be sure that it won’t be not overwritten by a plugin update)
- go to Appearance => Editor => Header to edit the header.php file
- add the reference to the new style sheet after the wp_head() function:
<head>
<!-- all the usual preamble stuff goes here -->
<?php wp_head(); ?>
<link rel="stylesheet" href="/wp2pgpmail-override.css" type="text/css" />
</head>
About setting the US as the default country, you can replace:
<option selected="selected" value=""></option>';
foreach ( $countries as $country ) {
$output .= "<option value='$country'>$country</option>";
}
by:
<option selected="selected" value="United States of America">United States of America</option>';
We will try to find a better solution in a next release. Thanks!