shortcode - Add Style to text in a PHP block

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 clas

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

相关推荐

  • shortcode - Add Style to text in a PHP block

    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 clas

    3小时前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信