Hello Adham,
You can change HTML files to PHP files and use the include statement.
Step 1. Change HTML (.html) file extension to PHP (.php) file extension.
Step 2. Now, you use the include statement for files.
https://www.w3schools.com/php/php_includes.asp
Thanks
DexignZone Team
Hello Adham,
This is not an HTML attribute or not any library-based attribute. It's a custom code attribute that gives by the w3school developer for developers' use.
https://www.w3schools.com/HOWTO/howto_html_include.asp
This function also has some little issues that's why it's not working. You need to correct the code and load this function before other js files (like metis menu extra).
Thanks
DexignZone Team
Hello Adham Aboud,
Thanks for being our customer.
Please share your demo URL with us so we detect the issue properly.
Thanks
Hello dear,
I'm using the sidebar in a project that have several html file, to save duplicating the sidebar code I opened an HTML file for the side bar list (starting at
ul) and called it using the w3-include-html method.
The problem is that when I'm doing that I'm loosing functionalities of the sidebar! for Example all the items of the menu is always open (It's not collapsed)!
Is there a way to solve the problem ?
Thanks,
Thanks