wordpress子比邮箱样式美化

wordpress子比邮箱样式美化
使用教程
修改/wp-content/themes/zibll/go.php文件,直接将上面的代码替换即可,里面有文字和广告,自己填!

 

$content = '<div style="max-width: 600px; margin: 0 auto; width: 100%; background-color: #ffffff; border-radius: 16px; box-shadow: 0 4px 20px rgba(32,102,255,0.08);">
    <!-- 头部logo区域 -->
    <div
        style="padding: 30px 20px; text-align: center; background: linear-gradient(135deg, #2066ff 0%, #1955d4 100%); border-radius: 16px 16px 0 0;">
        <a style="text-decoration: none;" href="https://idc.sxchl.cn" target="_blank" rel="noopener"> <img
                style="max-height: 45px; width: auto; max-width: 100%;" src="' . $logo . '"
                alt="' . $blog_name . '" /> </a>
    </div>
    <!-- 主要内容 -->
    <div style="padding: 30px 20px;">
       
        <!-- 账户信息框 -->
        <div
            style="background: linear-gradient(to right, #f8f9ff, #f0f5ff); border-radius: 12px; padding: 20px; margin: 20px 0; border: 1px solid rgba(32,102,255,0.1);">
            ' . $message . '
        </div>
        <!-- 提示信息 -->
        <div style="background-color: #f8f9fa; border-radius: 8px; padding: 15px; margin: 20px 0;">
            <p style="color: #666666; font-size: 13px; line-height: 1.6; margin: 0;"><span
                    style="color: #2066ff;">●</span> ' . $description . '</p>
        </div>
        <!-- 修改密码按钮 -->
        <div style="text-align: center; margin: 30px 0;">' . $con_more . '</div>
    </div>
    <!-- 底部信息 -->
    <div
        style="padding: 20px 15px; background-color: #f8f9fa; border-radius: 0 0 16px 16px; border-top: 1px solid #eef0f5;">
        <p style="color: #999999; font-size: 12px; text-align: center; margin: 0; line-height: 1.8;">
            本邮件由系统自动发送,请勿直接回复<br />© 2025 ' . $blog_name . ' 版权所有</p>
    </div>
</div>';

接着到子比设置,在下图位置这样写代码

wordpress子比邮箱样式美化

 

<a style="display: inline-block; padding: 12px 35px; background-color: #2066ff; color: #ffffff; text-decoration: none; border-radius: 6px; font-size: 15px; font-weight: 500;" href="https://118ms.com/" target="_blank" rel="noopener">访问网站</a>

温馨提示:本站提供的一切软件、教程和内容信息都来自网络收集整理,仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负,版权争议与本站无关。用户必须在下载后的24个小时之内,从您的电脑或手机中彻底删除上述内容。如果您喜欢该程序和内容,请支持正版,购买注册,得到更好的正版服务。我们非常重视版权问题,如有侵权请邮件与我们联系处理。敬请谅解! 联系邮箱:lgg.sinyi@qq.com

给TA打赏
共{{data.count}}人
人已打赏
CMS教程

wordpress子比主题修改带页面快照GO跳转页面

2025-9-10 10:44:58

CMS教程

WordPress网站7b2主题美化之VIP会员页面

2025-9-10 15:29:02

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索