Title: Theme Handbook &#8211; Block theme setup &#8211; Issue in example code
Last modified: April 11, 2022

---

# Theme Handbook – Block theme setup – Issue in example code

 *  [jessehumph](https://wordpress.org/support/users/jessehumph/)
 * (@jessehumph)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/theme-handbook-block-theme-setup-issue-in-example-code/)
 * [Relevant link](https://developer.wordpress.org/themes/block-themes/block-theme-setup/)
 * As of the time of writing, the page has code towards the bottom containing the
   following array declaration:
 *     ```
       $args = array(
           'handle' => "myfirsttheme-$block_name",
           'src'    => get_theme_file_uri( "assets/css/blocks/$block_name.css" ),
           $args['path'] = get_theme_file_path( "assets/css/blocks/$block_name.css" ),
       );
       ```
   
 * I think the last element (“path”) is written incorrectly. It seems like it should
   be:
 *     ```
       $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" ),
       );
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftheme-handbook-block-theme-setup-issue-in-example-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Theme Handbook – Block theme setup – Issue in example code’ is closed
to new replies.

## Tags

 * [edit](https://wordpress.org/support/topic-tag/edit/)
 * [Themes](https://wordpress.org/support/topic-tag/themes/)

 * In: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
 * 0 replies
 * 1 participant
 * Last reply from: [jessehumph](https://wordpress.org/support/users/jessehumph/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/theme-handbook-block-theme-setup-issue-in-example-code/)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
