Skip to content

Forum in maintenance, we will back soon πŸ™‚

Create Free AI Tool...
 
Notifications
Clear all

Create Free AI Tools With WordPress and Gemini in 3 Minutes

79 Posts
17 Users
26 Reactions
1,141 Views
(@webideasnetwork)
Posts: 9
Active Member
 

@husein

1. please the UI code isn't mobile friendly, what modification can i do it?

i used elementor to build the UI

2. what modification will i do to UI if i want to build another tool with this php code

 
Posted : 05/02/2024 1:48 pm
(@husein)
Posts: 409
Member Moderator
 

@webideasnetwork You can edit the UI for only mobiles to make it mobile friendly too.

And, why did you use elementor to build the UI of the tools? Building a UI using HTML would result in a nicer UI.

Β 

 
Posted : 05/02/2024 7:53 pm
(@webideasnetwork)
Posts: 9
Active Member
 

@husein ok. thanks

Also,

How can i can use this model to build similar tools to blog title generator

i think the same php code different interface,

because if i duplicate the snippet code and change the UI, it will still be the same prompt that will work for another tool

Hope you understand what i'm trying to say

 
Posted : 05/03/2024 1:11 pm
(@husein)
Posts: 409
Member Moderator
 

@webideasnetwork As you said when you copy paste the snippet code it doesn't work. The main engine of the tool is the code snippet the UI is just to make user friendly. So to make multiple tools you'll need to make multiple functions each for a tool (you don't need to make multiple code snippets, in the same code snippet you can create multiple functions and link each one with its corresponding tool.

If you like @admin explains everything in details and shares his templatein the courses.

 
Posted : 05/04/2024 8:03 am
 bibi
(@habibart)
Posts: 27
Eminent Member
 

@husein could you please show us with example how it is done this way in my case IΒ  had to create a new code snippet and change the function name there thanks for the help

 
Posted : 05/07/2024 12:10 pm
SSAdvisor
(@ssadvisor)
Posts: 1127
Noble Member
 

@habibart what you've done is how I would do it. What @husein is mentioning, please correct me if I'm wrong, is that you can add another function to the same code snippet; but, this method I don't advise as you might end up harming your already working code. As you know already, if the code has a problem the snippet will disable itself; which is good because you don't want the site to give the user errors.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 05/07/2024 1:34 pm
(@husein)
Posts: 409
Member Moderator
 

@ssadvisor Yes that's what i meant.

So, in your case @habibart you would need to create multiple code snippets each for a tool and with no duplicate function names, keeping all the codes clear and neat. Where each code snippet contains the function needed for the tool to work.

 
Posted : 05/07/2024 7:14 pm
 bibi
(@habibart)
Posts: 27
Eminent Member
 

@husein thank you!

 
Posted : 05/08/2024 11:37 am
 bibi
(@habibart)
Posts: 27
Eminent Member
 

@ssadvisor thank you!

 
Posted : 05/08/2024 11:37 am
(@google-abubakarsadiqabdulmalik)
Posts: 1
New Member
 

Mine is still saying "Oops! Something went wrong. Please try again. error"

Β 

I changed the API, changed the URL. still same

Β 

Or does it have something to do with the AJAX.PHP

Β 

please helpΒ 

This post was modified 4 months ago by abubakar sadiq abdulmalik
 
Posted : 05/24/2024 8:22 am
SSAdvisor
(@ssadvisor)
Posts: 1127
Noble Member
 

@google-abubakarsadiqabdulmalik what is your URL?

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 05/24/2024 1:31 pm
(@asifa-b)
Posts: 3
New Member Customer
 

Hello,

I have created a tool using your method. But Gemini replies with only single sentence responses. I expect at least two three paragraph response. If I run the prompt in the gemini chat it gives me detailed response but the api request just gives single sentence response.

Can you please suggest how to get multiple paragraph response from gemini.

Thank you

 
Posted : 06/29/2024 7:57 am
(@husein)
Posts: 409
Member Moderator
 

@asifa-b Update your prompt and tell it how long you want the response to be. And, if it still doesn't work, it could be due to token limitations. So try at first to improve the prompt and if it doesn't solve it let us know.

 
Posted : 06/29/2024 10:23 am
SSAdvisor reacted
(@asifa-b)
Posts: 3
New Member Customer
 

@husein I did mention in the prompt how long I want it (500 words) and also increased the token limit, but still it gives the response in a single sentence.Β 

If the same prompt if I run in the gemini chat console, I get proper 500 words response.

Can you please let me know where I am going wrong.

Thank you

 
Posted : 06/29/2024 3:52 pm
Hasan Aboul Hasan
(@admin)
Posts: 1185
Member Admin
 

@asifa-b can you share your prompt so we can test

 
Posted : 06/30/2024 12:06 pm
(@husein)
Posts: 409
Member Moderator
 

@asifa-b Can you please share the prompt and the PHP code of your tool? Maybe you are calling the wrong function?

 
Posted : 06/30/2024 3:56 pm
(@asifa-b)
Posts: 3
New Member Customer
 

@admin Thank you so much for your helpfulness. I changed a bit of the code to accept array and then display array on the frontend.

$titlesModel = createWelcomeMessageModel(['title1']);

This is the line which I changed, then on the frontend read the nested array.

Β 

 
Posted : 07/01/2024 3:27 pm
(@madou)
Posts: 1
New Member
 

I followed all the steps explained in the video and created my tool. But when I test it, nothing happens; in fact, my button doesn't trigger any operation. I looked for the problem in vain. Can you help me?

 
Posted : 07/28/2024 7:31 pm
(@husein)
Posts: 409
Member Moderator
 

@madou Did you test whether the backend function alone is working fine? Try testing it using the Thunder client extension on VS Code or Postman.

 
Posted : 07/29/2024 9:04 am
Page 4 / 4
Share:
[the_ad_group id=”312″]