【发布时间】:2025-12-25 19:45:12
【问题描述】:
【问题讨论】:
【问题讨论】:
您需要将主题的父样式排入队列,将其放在您的functions.php中的子主题中:
<?php
function enqueue_parent_style() {
wp_enqueue_style( 'apostrophe-parent', get_template_directory_uri() . '/style.css' );
}
add_action( 'wp_enqueue_scripts', 'enqueue_parent_style' );
【讨论】: