 
						 
			Ifeoluwa Afolayan
Forum Replies Created
- 
Thank you, Hasan. I watched your video on creating AI tools with Gemini and WordPress. The AI tool is free blog title generator, I used the Front end code and backend code you used as example, but I it did not work. I can’t paste the code here its very long, but I can link to the page Front end – https://learnwithhasan.com/custom-code/ai-tool-on-wordpress-ui/ Backend – https://learnwithhasan.com/custom-code/ai-tool-on-wordpress-with-gemini/ I used the HTML widget on the front-end side to insert the exact UI code you provided. I used the insert code snippet plugin for the PHP backend code. I replaced the Gemini API key with mine I also replace the Ajax code “fetch(‘http://wordpress-test.local/wp-admin/admin-ajax.php'” with mine URL I followed exactly what you did in the video, but I got the error “Oops! Something went wrong. Please try again.“ pls help!! 
- 
I followed all the instructions in theWordpress with Gemini Youtube video, I got this error. i don’t know why the error is happening. Pls help 
- 
how did you solve it? 

 
		
