Have you ever faced an error when installing free or premium wordpress theme? Do you know how to fix “Are you sure you want to do this?” error? I faced it while developing a premium wordpress theme for one of my client. Here you can find how I fixed this issue.
After I fully developed a premium theme, I am ready to test it as a user. I created a .zip file of my theme to be sure it will work with standard wordpress installation. I tested it on multiple computers and found that it prompts an error and not letting me install my theme.
I developed number of premium wordpress themes and never faced this problem before. This is the first time I have to fix this kind of issue. I am bit confused at the beginning but I started.
Below are some steps I followed to fix this error. Steps are far better to read than paragraphs 😉
At the end, I got solution. I found that font-awesome.min.css file has issue and the issue was applying font-awesome font with @font-face. To fix this, I removed @font-face from my css and included it by cdn url to tag like this:
After doing this, I recreated .zip file and tried uploading it through upload theme section and I am able to install it without any issue 😉
If you have any questions, feel free to post in comment section. 🙂