PriMoThemes — now s2Member® (official notice)
This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™
<?php
add_action ("wp_head", "my_function");
function my_function ()
{
echo '<script type="text/javascript">';
echo "jQuery(document).ready(function(){ jQuery('input.s2member-pro-paypal-coupon').attr('aria-required', 'true'); });";
echo '</script>';
}
?>
Usually not necessary. But yes, if you really need to. Please check your /s2member-pro/includes/templates/forms/ directory. You can take the default templates, and place some ( or all of them ) into your own WordPress® theme directory. s2Member Pro will automatically find your custom templates there. By placing custom templates into your theme directory, you can be sure they won't get overwritten in a future upgrade. Either that, or you can just use the default templates like they are, and customize them with your own CSS rules inside the Stylesheet for your WordPress® theme ( i.e. style.css ). If you're using a PriMo Theme ( for instance, the s2Clean Theme ), check your Theme Options Panel, under: Custom CSS / Style Sheet.
template="" 100% optional. This can be a custom template file that exists inside your WordPress® theme directory. For example: template="checkout.html".
<?php
add_action ("wp_head", "my_function");
function my_function ()
{
if (is_page (123))
{
echo '<script type="text/javascript">';
echo "jQuery(document).ready(function(){ jQuery('input.s2member-pro-paypal-coupon').attr('aria-required', 'true'); });";
echo '</script>';
}
}
?>
Users browsing this forum: No registered users and 2 guests