I have created a slider in header.php, which has a title and a log-in form. I would like to style the title.
<div class="half"><?php echo 'Sign Up for New Membership'. do_shortcode( "[mepr-membership-registration-form id=702]" );// NEW REGISTRATION FORM ?> </div>
<div class="half"><?php echo 'Returning member? Sign In!'. do_shortcode( "[mepr-login-form]" );// LOGIN FORM ?></div>
I have tried the following. Nothing broke, but it did not style the title.
<div class="half">
<?php echo "<span class='h2'>".'Sign Up for New Membership'."</span>"; echo do_shortcode( "[mepr-membership-registration-form id=702]" );// NEW REGISTRATION FORM ?> </div>
<div class="half"><?php echo 'Returning member? Sign In!'. do_shortcode( "[mepr-login-form]" );// LOGIN FORM ?></div>
I'm new to PHP and would love any help on what needs editing in the snippet above. Thanks so much!
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745387237a4625492.html
评论列表(0条)