How to include PHP files in the WordPress custom plugin?
To include PHP file in the WordPress plugin you can add it like below. or
To include PHP file in the WordPress plugin you can add it like below. or
Elementor has many controls to create and control custom widgets. Slider Line Number Select2 Select Switcher Text Color Dimensions Typography
Elemntor has many great widgets that added whit Elementor and Elemntor Pro, but if you need create your own Elementor widget, follow the steps. Open “functions.php” file of the theme and add below code. Create ” example” folder in your root of the theme and create ” example.php” in it….
Elementor has own categories that you can add your custom Elementor widget to them. But sometimes you need to create your own category. To do this add below code to your “functions.php” file or in your plugin file.
Open “functions.php” and add below code. In the first function we add “no-js” class to body class. In the second function if browser support the JavaScript, the code will run and delete “no-js” class. If body has “no-js” class, then browser doesn’t support JavaScript or it is disabled.
Open “functions.php” of your theme and write below code.
open “functions.php” file and write the below code in it.
One of the methods of designing WordPress themes is to use Bootstrap in the WordPress theme. But adding Bootstrap to the WordPress website template and menu has its own challenges, and we will discuss how to add Bootstrap 4 and 5 to the WordPress theme step by step in this…
Use following code to check if specific plugin is active or not in WordPress Theme. For example, to check if One Click Demo Import activation.