支持»请求和反馈»主题手册 - 块主题设置 - 示例代码中的问题

  • Jessehumph

    (@jessehumph)


    相关链接

    截至编写时,该页面的代码朝底部包含以下数组声明:

    $ args = array('hander'=>“ myfirsttheme- $ block_name”,'src'=> get_theme_file_uri(“ assets/css/css/blocks/$ block_name.css”),$ args ['path'path'path'path'path_theme_file_file_file_file_path(assets)/css/blocks/qulblock_name.css”),);

    我认为最后一个元素(“路径”)是错误的。似乎应该是:

    $args = array( 'handle' => "myfirsttheme-$block_name", 'src' => get_theme_file_uri( "assets/css/blocks/$block_name.css" ), 'path' => get_theme_file_path( "assets/css/blocks/$ block_name.css”),);

    我需要帮助的页面:[[登录查看链接]

  • 你一定是登录回复此主题。