Linux 软件免费装

Izz0ware Advanced 2017

开发者 izaacj
IzaacJ
更新时间 2017年3月12日 21:01
PHP版本: 4.7 及以上
WordPress版本: 4.7.3
版权: GPLv2 or later
版权网址: 版权信息

标签

customization twentyseventeen

下载

0.1.0.0

详情介绍:

Adds some options for the default Twenty Seventeen theme, or childtheme thereof. Currently supported options are:

安装:

This section describes how to install the plugin and get it working.
  1. Upload the plugin files to the /wp-content/plugins/izz0ware-advanced-2017 directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Use the Appearance->Customize screen to access the plugins options.

常见问题:

Header Logo

For the header logo feature you'll need to make some minor changes to your theme, preferably by using a childtheme. The file you need to modify is:

  • Twenty Seventeen directly: wp-content/themes/twentyseventeen/template-parts/header/site-branding.php
  • Childtheme: wp-content/themes/[childthemename]/template-parts/header/site-branding.php - If this is not in your childtheme, copy it from Twenty Seventeen.
Locate this <div class="site-branding-text"> and make a new line right below it. That's where you'll paste the following code: ``` ``` When that is added, theres only two minor changes left to do. Locate: <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> And replace <?php bloginfo( 'name' ); ?> with <?= $text; ?>. Locate: <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p> And replace <?php bloginfo( 'name' ); ?> with <?= $text; ?>. Now you're done! Header Logo should work as soon as you set an image in the Customizer.

更新日志:

0.1.0