Support Handle Button If Exists

Table of Contents

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: #

  1. Navigate to your theme’s folder.
  2. Locate the “assets” folder within the theme directory.
  3. Inside the “assets” folder, find the “js” subfolder.
  4. 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:

  1. Open the “custom.js” file as mentioned earlier.
  2. Search for the “handleSupport” function within the file.
  3. To enable the function, uncomment it. This typically involves removing any “//” characters at the beginning of the function definition or code block.
  4. 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.