WordPress 子比 zibll主题 添加宣传购买页面教程[子比zibll美化]

在搭建 WordPress 网站时,拥有一个功能强大且美观的主题至关重要。子比 zibll 主题就是这样一款备受欢迎的WordPress 商城社区主题。它不仅具备简约优雅的设计风格,还拥有众多实用的功能,如模块化组件、响应式付款系统、社区论坛系统等,同时还注重 SEO 优化和阅读体验。本文将详细介绍如何为子比 zibll 主题 添加宣传购买页面。

效果图:https://www.souyuanzhan.com/pay-zibll

图片[1]-WordPress 子比 zibll主题 添加宣传购买页面教程[子比zibll美化]-狸狸库 - 网络资源收集与分享

子比 zibll 主题 V8.1 亮点速览

  • 限时优惠力度大:原价 ¥799,现在只需 ¥599 即可购买。而且使用指定链接下单,还能再减 10 元,首购还有返利,性价比超高。
  • 功能全面: 采用模块化组件设计,方便用户自由组合页面元素,轻松打造个性化网站。集成响应式付款系统,支持多种支付方式,满足不同用户的付款需求。 社区论坛系统成熟完善,能促进用户之间的互动交流,增加网站的活跃度。
  • 优化出色:对 SEO 进行了完善的优化,有助于提高网站在搜索引擎中的排名,让更多用户能找到你的网站。专注于阅读体验,从字体排版到页面布局,都经过精心设计,为用户带来舒适的阅读感受。
  • 技术参数优越:最新版本为 V8.1,于 2025 年 01 月 01 日更新。推荐兼容 WP 6.7 版本、PHP 7.2 版本,可获得最佳使用效果。提供 3 个域名授权,满足用户多平台使用的需求。

操作教程

第一步:创建文件

在主题目录wp-content/themes/zibll(如果使用其他主题,则在相应主题的文件夹)/pages 下,创建一个名为goumai.php的文件。
创建好文件后,将特定的 php 代码提交进去。这里可以使用宝塔替换功能,把其中的链接替换成自己的推广链接。这一步很关键,它决定了后续用户购买时的推广渠道和收益归属。

第二步:后台操作与发布

进入 WordPress 后台,选择 “页面”,然后点击 “新建页面”。
在新建页面时,标题可以根据自己的需求填写,但内容先不要动。接着,在模板选项中选择 “zibll-购买页面” ,完成选择后,点击发布文章。
如果后续想要修改页面内容,可以到宝塔中的wp-content/themes/zibll(或其他主题对应文件夹)/pages/goumai.php 文件内进行修改。修改时,可以根据自己的推广需求和网站风格,调整文字内容、添加图片等。

样式(一) https://www.souyuanzhan.com/zibll

图片[2]-WordPress 子比 zibll主题 添加宣传购买页面教程[子比zibll美化]-狸狸库 - 网络资源收集与分享
<?php
/**
 * Template Name: zibll-购买页面
 * Description: Www.SouYuanZhan.Com 子比主题推广页面模板
 */

get_header();
?>

<div class="theme-promotion-container">
  <!-- 背景装饰元素 -->
  <div class="decoration-circle decoration-circle-1"></div>
  <div class="decoration-circle decoration-circle-2"></div>
  <div class="decoration-circle decoration-circle-3"></div>
  
  <!-- 顶部标题 -->
  <div class="promotion-header">
    <div class="container">
      <div class="promotion-title">
        <h2>子比zibll主题 限时优惠</h2>
      </div>
    </div>
  </div>

  <!-- 主要内容区域 -->
  <div class="promotion-content">
    <div class="container">
      <div class="content-card">
        <div class="row">
          <!-- 左侧主题预览 -->
          <div class="col-md-6">
            <div class="theme-preview">
              <div class="glow-effect"></div>
              <a href="https://liliku.cn/?golink=aHR0cHM6Ly93d3cuc291eXVhbnpoYW4uY29tL3BheS16aWJsbA=="  target="_blank">
                <img src="https://gcore.jsdelivr.net/gh/vipy800/viptu/img/%E8%B4%AD%E4%B9%B0%E9%A1%B5-%E5%B9%BB%E7%81%AF%E7%89%87.webp" alt="主题预览图">
              </a>
            </div>
            <div class="theme-actions">
              <div class="theme-docs-image">
                <div class="glow-effect"></div>
                <a href=https://www.souyuanzhan.com/pay-zibll" target="_blank">
                  <img src="https://gcore.jsdelivr.net/gh/vipy800/viptu/img/20250307_220432.webp" alt="文档说明" class="docs-image">
                </a>
              </div>
            </div>
          </div>
          
          <!-- 右侧详细信息 -->
          <div class="col-md-6">
            <div class="theme-details">
              <!-- 功能特性 -->
              <div class="theme-features">
                <div class="feature-item">
                  <i class="fas fa-check-circle"></i>
                  <p>简约优雅的设计风格、模块化组件、响应式付款系统</p>
                </div>
                <div class="feature-item">
                  <i class="fas fa-check-circle"></i>
                  <p>社区论坛系统、完善SEO优化、专注阅读体验</p>
                </div>
              </div>
              
              <!-- 价格信息 -->
              <div class="theme-pricing">
                <div class="price-tag">
                  <div class="price-and-cta">
                    <div class="current-price">
                      <span class="currency">¥</span>
                      <span class="price">599</span>
                      <span class="discount-label">限时特惠</span>
                    </div>
                    <!-- 购买按钮 -->
                    <a href="https://www.zibll.com/?ref=618" target="_blank" class="btn btn-cta btn-primary">
                      <i class="fas fa-shopping-cart"></i>
                      <span>立即购买</span>
                      <div class="btn-glow"></div>
                    </a>
                  </div>
                  <div class="original-price">原价: ¥799</div>
                </div>
                
                <!-- 优惠提示 -->
                <div class="promo-box">
                  <i class="fas fa-gift"></i>
                  <p>使用此链接,下单减10元,首购再返利。</p>
                </div>
              </div>
              
              <!-- 版本信息 -->
              <div class="theme-version">
                <div class="version-header">
                  <i class="fas fa-code-branch"></i>
                  <p class="version-title">最新版本: <span>V8.1</span></p>
                  <i class="fas fa-info-circle tooltip-trigger"></i>
                  <div class="tooltip-content">
                    稳定版本,修复已知问题,提升性能
                  </div>
                </div>
                <div class="version-details">
                  <div class="version-item">
                    <i class="fas fa-calendar-alt"></i>
                    <p>更新时间: <span>2025-01-01</span></p>
                  </div>
                  <div class="version-item">
                    <i class="fab fa-wordpress"></i>
                    <p>兼容WP: 推荐使用<span class="highlight">6.7</span>版本</p>
                  </div>
                  <div class="version-item">
                    <i class="fab fa-php"></i>
                    <p>兼容PHP: 推荐<span class="highlight">7.2</span>版本</p>
                  </div>
                  <div class="version-item">
                    <i class="fas fa-key"></i>
                    <p>授权数量:<span class="highlight">3个</span> 域名授权</p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

<style>
:root {
  --gradient-start: #4158D0;
  --gradient-middle: #C850C0;
  --gradient-end: #FFCC70;
  --primary-color: #FF6B6B;
  --secondary-color: #4A4DE7;
  --text-color: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --box-bg: rgba(0, 0, 0, 0.2);
  --highlight-color: #FF6B6B;
  --button-hover: #ff4757;
  --shadow-color: rgba(0, 0, 0, 0.2);
  --glow-color: rgba(255, 255, 255, 0.1);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 0.4; }
  100% { transform: scale(1); opacity: 0.8; }
}

@keyframes glow {
  0% { opacity: 0.5; }
  50% { opacity: 0.8; }
  100% { opacity: 0.5; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.theme-promotion-container {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-middle), var(--gradient-end));
  color: var(--text-color);
  padding-bottom: 80px;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

/* Decorative Elements */
.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  animation: pulse 8s infinite ease-in-out;
}

.decoration-circle-1 {
  width: 500px;
  height: 500px;
  top: -250px;
  left: -100px;
  animation-delay: 0s;
}

.decoration-circle-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  right: -150px;
  animation-delay: 2s;
}

.decoration-circle-3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 60%;
  animation-delay: 4s;
}

/* Header Banner */
.promotion-header {
  padding: 30px 0;
  position: relative;
  z-index: 2;
  animation: fadeIn 0.8s ease-out;
}

.promotion-header .container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.promotion-title {
  text-align: center;
}

.promotion-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: 1px;
}

.promotion-title p {
  margin: 10px 0 0;
  font-size: 18px;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

/* Main Content */
.promotion-content {
  padding: 20px 0;
  position: relative;
  z-index: 2;
  animation: fadeIn 1s ease-out 0.2s both;
}

.promotion-content .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.content-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  box-shadow: 0 20px 40px var(--shadow-color);
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.col-md-6 {
  width: 50%;
  padding: 30px;
  box-sizing: border-box;
}

/* Theme Preview */
.theme-preview {
  background-color: #000;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: float 6s infinite ease-in-out;
}

.theme-preview:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.glow-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15), transparent 70%);
  z-index: 2;
  pointer-events: none;
  animation: glow 3s infinite ease-in-out;
}

.theme-preview img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  position: relative;
  z-index: 1;
}

.theme-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.theme-docs-image {
  width: 100%;
  background-color: #000;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-docs-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.docs-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  position: relative;
}

.btn-outline:hover {
  border-color: white;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.btn-content {
  position: relative;
  z-index: 2;
}

/* Theme Details */
.theme-details {
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.theme-features {
  margin-bottom: 30px;
  background-color: var(--box-bg);
  border-radius: 12px;
  padding: 20px;
  margin-top: 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-item i {
  color: var(--highlight-color);
  margin-right: 10px;
  margin-top: 3px;
}

.feature-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Pricing */
.theme-pricing {
  margin: 30px 0;
  padding: 25px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.price-and-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.price-and-cta .btn-primary {
  margin-left: 15px;
  padding: 10px 20px;
  white-space: nowrap;
}

.price-tag {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.current-price {
  display: flex;
  align-items: baseline;
}

.currency {
  font-size: 28px;
  font-weight: bold;
  margin-right: 5px;
}

.price {
  font-size: 56px;
  font-weight: 800;
  margin-right: 15px;
  background: linear-gradient(to right, #fff, #e0e0e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.discount-label {
  background-color: var(--highlight-color);
  color: white;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.original-price {
  text-decoration: line-through;
  opacity: 0.7;
  margin-top: 5px;
  font-size: 18px;
}

.promo-box {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 10px;
  margin: 20px 0;
  border-left: 4px solid var(--highlight-color);
}

.promo-box i {
  font-size: 20px;
  color: var(--highlight-color);
  margin-right: 15px;
}

.promo-box p {
  margin: 0;
  font-size: 16px;
}


/* Version Info */
.theme-version {
  background-color: var(--box-bg);
  padding: 20px;
  border-radius: 15px;
  margin-top: auto;
}

.version-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  position: relative;
}

.version-header i:first-child {
  font-size: 18px;
  color: var(--highlight-color);
  margin-right: 10px;
}

.version-title {
  font-weight: bold;
  margin: 0;
  flex: 1;
}

.version-title span {
  color: var(--highlight-color);
  font-weight: 700;
}

.tooltip-trigger {
  cursor: pointer;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.tooltip-trigger:hover {
  color: white;
}

.tooltip-trigger:hover + .tooltip-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tooltip-content {
  position: absolute;
  top: -70px;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tooltip-content::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 15px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(0, 0, 0, 0.8);
}

.version-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.version-item {
  display: flex;
  align-items: center;
}

.version-item i {
  font-size: 16px;
  color: var(--text-secondary);
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.version-item p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.version-item span {
  font-weight: 500;
  color: white;
}

.highlight {
  color: var(--highlight-color);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
  .version-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .col-md-6 {
    width: 100%;
    padding: 20px;
  }
  
  .promotion-header .container {
    flex-direction: column;
    text-align: center;
  }
  
  .theme-preview {
    animation: none;
  }
  
  
  
  .version-details {
    grid-template-columns: 1fr;
  }

  .price-and-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-and-cta .btn-primary {
    margin-left: 0;
    margin-top: 15px;
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .promotion-title h2 {
    font-size: 24px;
  }
  
  .promotion-title p {
    font-size: 16px;
  }
  
  .price {
    font-size: 42px;
  }

  .price-and-cta .btn-primary {
    width: 100%;
    text-align: center;
  }
}
</style>

<?php
get_footer();
?>

样式(二) https://www.souyuanzhan.com/pay-zibll

图片[3]-WordPress 子比 zibll主题 添加宣传购买页面教程[子比zibll美化]-狸狸库 - 网络资源收集与分享
<?php
/**
 * Template Name: zibll-购买页面
 * Description: Www.SouYuanZhan.Com 子比主题推广页面模板
 */

get_header();
?>

<div class="theme-promotion-container">
  <!-- 背景装饰元素 -->
  <div class="decoration-circle decoration-circle-1"></div>
  <div class="decoration-circle decoration-circle-2"></div>
  <div class="decoration-circle decoration-circle-3"></div>
  
  <!-- 顶部标题 -->
  <div class="promotion-header">
    <div class="container">
      <div class="promotion-title">
        <h2>子比zibll主题 限时优惠</h2>
      </div>
    </div>
  </div>

  <!-- 主要内容区域 -->
  <div class="promotion-content">
    <div class="container">
      <div class="content-card">
        <div class="row">
          <!-- 左侧主题预览 -->
          <div class="col-md-6">
            <div class="theme-preview">
              <div class="glow-effect"></div>
              <a href="https://liliku.cn/?golink=aHR0cHM6Ly93d3cuc291eXVhbnpoYW4uY29tL3BheS16aWJsbA=="  target="_blank">
                <!-- 视频替换原图片 -->
                <video autoplay muted loop class="theme-video">
                  <source src="https://gcore.jsdelivr.net/gh/vipy800/viptu/img/001.mp4" type="video/mp4">
                  <!-- 备用图片,如果视频无法加载 -->
                  <img src="https://gcore.jsdelivr.net/gh/vipy800/viptu/img/zibll-2.webp" alt="主题预览图">
                </video>
              </a>
            </div>
            <div class="theme-actions">
              <div class="theme-docs-carousel">
                <div class="glow-effect"></div>
                <!-- 轮播图替换原单图 -->
                <div class="carousel-container">
                  <div class="carousel-track">
                    <div class="carousel-slide active">
                      <img src="https://gcore.jsdelivr.net/gh/vipy800/viptu/img/zibll-0.webp" alt="文档说明 1">
                    </div>
                    <div class="carousel-slide">
                      <img src="https://gcore.jsdelivr.net/gh/vipy800/viptu/img/zibll-1.webp" alt="文档说明 2">
                    </div>
                    <div class="carousel-slide">
                      <img src="https://gcore.jsdelivr.net/gh/vipy800/viptu/img/zibll-2.webp" alt="文档说明 3">
                    </div>
                  </div>
                  
                  <!-- 轮播导航按钮 -->
                  <div class="carousel-nav">
                    <button class="carousel-prev" aria-label="上一张">
                      <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                        <polyline points="15 18 9 12 15 6"></polyline>
                      </svg>
                    </button>
                    <div class="carousel-dots">
                      <button class="carousel-dot active" data-index="0" aria-label="幻灯片 1"></button>
                      <button class="carousel-dot" data-index="1" aria-label="幻灯片 2"></button>
                      <button class="carousel-dot" data-index="2" aria-label="幻灯片 3"></button>
                    </div>
                    <button class="carousel-next" aria-label="下一张">
                      <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
                        <polyline points="9 18 15 12 9 6"></polyline>
                      </svg>
                    </button>
                  </div>
                </div>
              </div>
            </div>
          </div>
          
          <!-- 右侧详细信息 -->
          <div class="col-md-6">
            <div class="theme-details">
              <!-- 功能特性 -->
              <div class="theme-features">
                <div class="feature-item">
                  <i class="fas fa-check-circle"></i>
                  <p>简约优雅的设计风格、模块化组件、响应式付款系统</p>
                </div>
                <div class="feature-item">
                  <i class="fas fa-check-circle"></i>
                  <p>社区论坛系统、完善SEO优化、专注阅读体验</p>
                </div>
              </div>
              
              <!-- 价格信息 -->
              <div class="theme-pricing">
                <div class="price-tag">
                  <div class="price-and-cta">
                    <div class="current-price">
                      <span class="currency">¥</span>
                      <span class="price">599</span>
                      <span class="discount-label">限时特惠</span>
                    </div>
                    <!-- 改进的购买按钮 -->
                    <a href="https://www.zibll.com/?ref=618" target="_blank" class="btn btn-cta btn-primary">
                      <span class="btn-content">
                        <i class="fas fa-shopping-cart"></i>
                        <span>立即购买</span>
                      </span>
                      <span class="btn-shine"></span>
                      <span class="btn-glow"></span>
                    </a>
                  </div>
                  <div class="original-price">原价: ¥799</div>
                </div>
                
                <!-- 优惠提示 -->
                <div class="promo-box">
                  <i class="fas fa-gift"></i>
                  <p>使用此链接,下单减10元,首购再返利。</p>
                </div>
              </div>
              
              <!-- 版本信息 -->
              <div class="theme-version">
                <div class="version-header">
                  <i class="fas fa-code-branch"></i>
                  <p class="version-title">最新版本: <span>V8.1</span></p>
                  <i class="fas fa-info-circle tooltip-trigger"></i>
                  <div class="tooltip-content">
                    稳定版本,修复已知问题,提升性能
                  </div>
                </div>
                <div class="version-details">
                  <div class="version-item">
                    <i class="fas fa-calendar-alt"></i>
                    <p>更新时间: <span>2025-01-01</span></p>
                  </div>
                  <div class="version-item">
                    <i class="fab fa-wordpress"></i>
                    <p>兼容WP: 推荐使用<span class="highlight">6.7</span>版本</p>
                  </div>
                  <div class="version-item">
                    <i class="fab fa-php"></i>
                    <p>兼容PHP: 推荐<span class="highlight">7.2</span>版本</p>
                  </div>
                  <div class="version-item">
                    <i class="fas fa-key"></i>
                    <p>授权数量:<span class="highlight">3个</span> 域名授权</p>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

<style>
:root {
  --gradient-start: #4158D0;
  --gradient-middle: #C850C0;
  --gradient-end: #FFCC70;
  --primary-color: #FF6B6B;
  --secondary-color: #4A4DE7;
  --text-color: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --box-bg: rgba(0, 0, 0, 0.2);
  --highlight-color: #FF6B6B;
  --button-hover: #ff4757;
  --shadow-color: rgba(0, 0, 0, 0.2);
  --glow-color: rgba(255, 255, 255, 0.1);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 0.4; }
  100% { transform: scale(1); opacity: 0.8; }
}

@keyframes glow {
  0% { opacity: 0.5; }
  50% { opacity: 0.8; }
  100% { opacity: 0.5; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}

@keyframes buttonPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

.theme-promotion-container {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-middle), var(--gradient-end));
  color: var(--text-color);
  padding-bottom: 80px;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

/* Decorative Elements */
.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  animation: pulse 8s infinite ease-in-out;
}

.decoration-circle-1 {
  width: 500px;
  height: 500px;
  top: -250px;
  left: -100px;
  animation-delay: 0s;
}

.decoration-circle-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  right: -150px;
  animation-delay: 2s;
}

.decoration-circle-3 {
  width: 300px;
  height: 300px;
  top: 40%;
  left: 60%;
  animation-delay: 4s;
}

/* Header Banner */
.promotion-header {
  padding: 30px 0;
  position: relative;
  z-index: 2;
  animation: fadeIn 0.8s ease-out;
}

.promotion-header .container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.promotion-title {
  text-align: center;
}

.promotion-title h2 {
  font-size: 32px;
  font-weight: bold;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  letter-spacing: 1px;
}

.promotion-title p {
  margin: 10px 0 0;
  font-size: 18px;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

/* Main Content */
.promotion-content {
  padding: 20px 0;
  position: relative;
  z-index: 2;
  animation: fadeIn 1s ease-out 0.2s both;
}

.promotion-content .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.content-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  box-shadow: 0 20px 40px var(--shadow-color);
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.col-md-6 {
  width: 50%;
  padding: 30px;
  box-sizing: border-box;
}

/* Theme Preview with Video */
.theme-preview {
  background-color: #000;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: float 6s infinite ease-in-out;
}

.theme-preview:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.theme-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  position: relative;
  z-index: 1;
  object-fit: cover;
}

.glow-effect {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15), transparent 70%);
  z-index: 2;
  pointer-events: none;
  animation: glow 3s infinite ease-in-out;
}

.theme-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* Carousel Styling */
.theme-docs-carousel {
  width: 100%;
  background-color: #000;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme-docs-carousel:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.carousel-slide {
  min-width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.carousel-slide.active {
  opacity: 1;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
}

.carousel-nav {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.carousel-prev,
.carousel-next {
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background-color: white;
  transform: scale(1.2);
}

.carousel-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Enhanced Button Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  position: relative;
}

.btn-outline:hover {
  border-color: white;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(45deg, var(--highlight-color), #ff8a8a);
  color: white;
  border: none;
  box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 25px rgba(255, 107, 107, 0.4);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-20deg);
  filter: blur(5px);
  animation: shine 3s infinite;
}

.btn-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  border-radius: 50px;
  z-index: 0;
  animation: buttonPulse 2s infinite;
}

/* Theme Details */
.theme-details {
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.theme-features {
  margin-bottom: 30px;
  background-color: var(--box-bg);
  border-radius: 12px;
  padding: 20px;
  margin-top: 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-item i {
  color: var(--highlight-color);
  margin-right: 10px;
  margin-top: 3px;
}

.feature-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Pricing */
.theme-pricing {
  margin: 30px 0;
  padding: 25px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.price-and-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.price-and-cta .btn-primary {
  margin-left: 15px;
  padding: 12px 24px;
  white-space: nowrap;
}

.price-tag {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.current-price {
  display: flex;
  align-items: baseline;
}

.currency {
  font-size: 28px;
  font-weight: bold;
  margin-right: 5px;
}

.price {
  font-size: 56px;
  font-weight: 800;
  margin-right: 15px;
  background: linear-gradient(to right, #fff, #e0e0e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.discount-label {
  background-color: var(--highlight-color);
  color: white;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.original-price {
  text-decoration: line-through;
  opacity: 0.7;
  margin-top: 5px;
  font-size: 18px;
}

.promo-box {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 10px;
  margin: 20px 0;
  border-left: 4px solid var(--highlight-color);
}

.promo-box i {
  font-size: 20px;
  color: var(--highlight-color);
  margin-right: 15px;
}

.promo-box p {
  margin: 0;
  font-size: 16px;
}


/* Version Info */
.theme-version {
  background-color: var(--box-bg);
  padding: 20px;
  border-radius: 15px;
  margin-top: auto;
}

.version-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  position: relative;
}

.version-header i:first-child {
  font-size: 18px;
  color: var(--highlight-color);
  margin-right: 10px;
}

.version-title {
  font-weight: bold;
  margin: 0;
  flex: 1;
}

.version-title span {
  color: var(--highlight-color);
  font-weight: 700;
}

.tooltip-trigger {
  cursor: pointer;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.tooltip-trigger:hover {
  color: white;
}

.tooltip-trigger:hover + .tooltip-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tooltip-content {
  position: absolute;
  top: -70px;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tooltip-content::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 15px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(0, 0, 0, 0.8);
}

.version-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.version-item {
  display: flex;
  align-items: center;
}

.version-item i {
  font-size: 16px;
  color: var(--text-secondary);
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.version-item p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.version-item span {
  font-weight: 500;
  color: white;
}

.highlight {
  color: var(--highlight-color);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
  .version-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .col-md-6 {
    width: 100%;
    padding: 20px;
  }
  
  .promotion-header .container {
    flex-direction: column;
    text-align: center;
  }
  
  .theme-preview {
    animation: none;
  }
  
  .version-details {
    grid-template-columns: 1fr;
  }

  .price-and-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-and-cta .btn-primary {
    margin-left: 0;
    margin-top: 15px;
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .promotion-title h2 {
    font-size: 24px;
  }
  
  .promotion-title p {
    font-size: 16px;
  }
  
  .price {
    font-size: 42px;
  }

  .price-and-cta .btn-primary {
    width: 100%;
    text-align: center;
  }
}
</style>

<script>
document.addEventListener('DOMContentLoaded', function() {
  // 轮播图功能
  const slides = document.querySelectorAll('.carousel-slide');
  const dots = document.querySelectorAll('.carousel-dot');
  const prevBtn = document.querySelector('.carousel-prev');
  const nextBtn = document.querySelector('.carousel-next');
  let currentIndex = 0;
  
  // 初始化轮播图
  function showSlide(index) {
    // 隐藏所有幻灯片
    slides.forEach(slide => {
      slide.classList.remove('active');
    });
    
    // 移除所有点的激活状态
    dots.forEach(dot => {
      dot.classList.remove('active');
    });
    
    // 显示当前幻灯片和点
    slides[index].classList.add('active');
    dots[index].classList.add('active');
    
    currentIndex = index;
  }
  
  // 下一张幻灯片
  function nextSlide() {
    let newIndex = currentIndex + 1;
    if (newIndex >= slides.length) {
      newIndex = 0;
    }
    showSlide(newIndex);
  }
  
  // 上一张幻灯片
  function prevSlide() {
    let newIndex = currentIndex - 1;
    if (newIndex < 0) {
      newIndex = slides.length - 1;
    }
    showSlide(newIndex);
  }
  
  // 点击导航按钮
  if (prevBtn) prevBtn.addEventListener('click', prevSlide);
  if (nextBtn) nextBtn.addEventListener('click', nextSlide);
  
  // 点击导航点
  dots.forEach((dot, index) => {
    dot.addEventListener('click', () => {
      showSlide(index);
    });
  });
  
  // 自动轮播
  let slideInterval = setInterval(nextSlide, 5000);
  
  // 鼠标悬停时暂停
  const carouselContainer = document.querySelector('.carousel-container');
  if (carouselContainer) {
    carouselContainer.addEventListener('mouseenter', () => {
      clearInterval(slideInterval);
    });
    
    carouselContainer.addEventListener('mouseleave', () => {
      slideInterval = setInterval(nextSlide, 5000);
    });
  }
});
</script>

<?php
get_footer();
?>

拓展知识:主题与网站优化

  • 主题更新优势:子比 zibll 主题 V8.1 的更新,不仅修复了一些已知的问题,还带来了新的功能和优化。比如在 UI 方面进行了升级,提升了用户体验;功能和交互也得到了升级,让网站操作更加流畅便捷。及时更新主题,能让网站始终保持良好的性能。
  • 网站搭建与优化要点:在搭建网站时,选择合适的主题是第一步。除了主题本身的功能,还要考虑其与 WordPress 版本和 PHP 版本的兼容性。在使用过程中,不断优化网站内容,结合 SEO 技巧,如合理设置关键词、优化页面标题和描述等,能提高网站的流量和曝光度。

通过以上步骤,你就可以为子比 zibll 主题 V8.1 添加一个专属的宣传购买页面了。赶紧行动起来,充分利用这款主题的优势,打造一个出色的 WordPress 网站吧!

© 版权声明
THE END
喜欢就支持一下吧
点赞7 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容