Support Handle Button If Exists
To set or remove the theme support panel displayed at the bottom of your theme, follow these straightforward steps within your theme Folder.
Step 1: #
- Navigate to your theme’s folder.
- Locate the “assets” folder within the theme directory.
- Inside the “assets” folder, find the “js” subfolder.
- Open the “custom.js” file.
In this “custom.js” file, you can make the necessary adjustments to set or remove the theme support panel. Please consult the code within this file and make the desired changes to achieve the result you want for your theme.
Step: 2 #
To enable or disable the handleSupport function in your theme, follow these steps:
- Open the “custom.js” file as mentioned earlier.
- Search for the “handleSupport” function within the file.
- To enable the function, uncomment it. This typically involves removing any “//” characters at the beginning of the function definition or code block.
- To disable the function, comment it out by adding “//” at the beginning of the function definition or code block.
By following these steps, you can control whether the handleSupport function is executed in your theme, which should allow you to set or remove the theme support panel as needed.