Title: Custom Code
Last modified: October 30, 2024

---

# Custom Code

 *  [shrewy](https://wordpress.org/support/users/shrewy/)
 * (@shrewy)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/custom-code-19/)
 * Hi, I am new to WordPress. I am using the Twenty Twenty Four Theme, it is advisable
   to create a child theme? I am trying to edit the way in which the woo single 
   product details page displays, I want to remove the header from showing when 
   I click each tab. I also want to make the tabs display in an accordion format.
   Therefore to make this affordable, I am assuming adding some custom code would
   be best. Do I need a child theme? Thanks

Viewing 1 replies (of 1 total)

 *  [Mary Hubbard](https://wordpress.org/support/users/4thhubbard/)
 * (@4thhubbard)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/custom-code-19/#post-18109880)
 * Yes, creating a child theme is advisable, especially as you want to edit single
   pages and add custom code/CSS or modify templates. A child theme lets you make
   changes without risking those changes being overwritten when the parent theme
   updates.
 * You can find how to create a child theme here.` `[`https://developer.wordpress.org/themes/advanced-topics/child-themes/#how-to-create-a-child-theme`](https://developer.wordpress.org/themes/advanced-topics/child-themes/#how-to-create-a-child-theme)
 * For customizing Woo, I’d recommend hitting the [Woo support forums.](https://wordpress.org/support/plugin/woocommerce/)

Viewing 1 replies (of 1 total)

The topic ‘Custom Code’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/twentytwentyfour/1.5/screenshot.
   png)
 * Twenty Twenty-Four
 * [Support Threads](https://wordpress.org/support/theme/twentytwentyfour/)
 * [Active Topics](https://wordpress.org/support/theme/twentytwentyfour/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/twentytwentyfour/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/twentytwentyfour/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mary Hubbard](https://wordpress.org/support/users/4thhubbard/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/custom-code-19/#post-18109880)
 * Status: not resolved