0
我有一个主题名为Experon_Pro和style.css主题名称是experon这是一个付费主题,并且正常工作。如果文件夹名称和主题名称不同,如何创建wordpress子主题?
为了创建子主题,我创建了文件夹Experon_Pro-child,并在子主题style.css中添加了以下代码,并将相同的functions.php从父主题复制到子主题。但还是说父母主题不见了?
child theme style.css包含以下细节。
/*
Theme Name: Experon Pro Child
Theme URI: http://www.thinkupthemes.com/themes/experon-pro/
Author: ThinkUpThemes
Author URI: http://www.ThinkUpThemes.com
Template: experon
Description: Experon is a multi-purpose professional Premium WordPress Theme ideal for a business or blog website. The theme is responsive, HD retina ready and comes with 600+ Google Fonts which can easily be selected directly from the theme options panel. Never code again with the awesome page builder. Simply drag, drop and you're done! It couldn't be easier to create stunning websites with the beauty of Harest.
Version: 1.6.0
License: GNU General Public License
License URI: /licenses/license.txt
Tags: black, dark, one-column, two-columns, right-sidebar, left-sidebar, fixed-layout, responsive-layout, fluid-layout, custom-header, custom-menu, full-width-template, theme-options, threaded-comments, editor-style, featured-images, post-formats, rtl-language-support, sticky-post, grid-layout, footer-widgets, blog, e-commerce, education, entertainment, news, photography, portfolio
Text Domain: experon-child
*/