not really known
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

9 年前
123456789101112131415
  1. <?php
  2. add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
  3. function theme_enqueue_styles() {
  4. wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
  5. wp_enqueue_style( 'child-style',
  6. get_stylesheet_directory_uri() . '/style.css',
  7. array('parent-style')
  8. );
  9. }
  10. function footer_menu() {
  11. register_nav_menu('footer-menu',__( 'Footer Menu' ));
  12. }
  13. add_action( 'init', 'footer_menu' );