# How to create a static module

**URL:** <https://community.hubspot.com/t/how-to-create-a-static-module/105970>\
**Category:** CMS Development\
**Created:** [April 29, 2024, 8:28am UTC](https://community.hubspot.com/t/how-to-create-a-static-module/105970 "2024-04-29T08:28:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TMisuna](https://avatars.discourse-cdn.com/v4/letter/t/e9bcb4/32.png) [@TMisuna](https://community.hubspot.com/u/TMisuna)\
**Post date:** [April 29, 2024, 8:28am UTC](https://community.hubspot.com/t/how-to-create-a-static-module/105970/1 "2024-04-29T08:28:50Z")

</div>

I know HubSpot has drag-and-drop content (dnd\_module), but do you know how to create a module when creating a module that has a fixed amount of content on that page, like a WordPress custom field?

For example  
I have a slider on the first view of the top page.  
If you create a custom module like “slider” and set up an image field, you can rewrite only the source of the image inside the slider.  
If we create a custom module, it can be dragged and dropped from the theme as drag-and-drop content, but we want to hide it from this panel.  
I would like to hide the module from this panel.

Sorry, but thank you in advance.

---

<div class="post-metadata">

**Author:** ![matt\_scott](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/matt_scott/32/36038_2.png) [@matt\_scott](https://community.hubspot.com/u/matt_scott)\
**Post date:** [April 30, 2024, 9:44am UTC](https://community.hubspot.com/t/how-to-create-a-static-module/105970/2 "2024-04-30T09:44:42Z")

</div>

Create it as custom module, and then uncheck this box, you can still use it in code, but it’s not accessible from the front end

 ![Screenshot 2024-04-30 at 10.43.33.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/4/8/48ccfdb20e551bf3b795d2cbe9cf6e6a27959d96.png)

---

<div class="post-metadata">

**Author:** ![TMisuna](https://avatars.discourse-cdn.com/v4/letter/t/e9bcb4/32.png) [@TMisuna](https://community.hubspot.com/u/TMisuna)\
**Post date:** [April 30, 2024, 11:58pm UTC](https://community.hubspot.com/t/how-to-create-a-static-module/105970/3 "2024-04-30T23:58:01Z")

</div>

Thank you for your valuable response.  
I am surprised to know that it is easier than I thought to hide them.  
And I can hide it and copy it from the snippet area on my template and embed it in the template.

 ![スクリーンショット 2024-05-01 8.55.08.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/9/39fbcb53826aaec5549b7adaa9ddd517514c1c5e.jpeg)
