Skip to content
site logo mobile

Forum in maintenance, we will back soon 🙂

Create tool with Ge...
 
Notifications
Clear all

Create tool with Gemini and WordPress

37 Posts
9 Users
18 Likes
258 Views
(@husein)
Posts: 250
Member Moderator
Premium Member
Prompt Engineer
Pythonista Prodigy Badge
API Entrepreneur
Power Member
 

@mubbay If you're reffering to the last video, for it to work you need to generate your Own Gemini key and add it to your code.

And you need to change all URLs with your own URL.

 
Posted : 03/27/2024 12:53 pm
Hasan Aboul Hasan
(@admin)
Posts: 949
Member Admin
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
 

@google-rashidtoor, you can request a discount here: https://learnwithhasan.com/request-discount/

 
Posted : 03/28/2024 1:20 pm
Rashid Toor reacted
(@google-rashidtoor)
Posts: 8
Active Member
Topic starter
 

@husein I have done all these steps one tool is working but I want to add more tools on same WordPress site

 
Posted : 03/30/2024 2:08 pm
(@husein)
Posts: 250
Member Moderator
Premium Member
Prompt Engineer
Pythonista Prodigy Badge
API Entrepreneur
Power Member
 

@google-rashidtoor Great, glad it worked!

To add multiple tools, you're gonna need to create multiple functions inside the code snippet you already made (each function for a tool) or a code snippet for each tool.

Then, build a landing page for each tool, and call the corresponding code snippet from it.

 
Posted : 03/30/2024 3:00 pm
(@google-rashidtoor)
Posts: 8
Active Member
Topic starter
 

@husein thanks for assistance I will try

 
Posted : 04/02/2024 4:30 pm
(@google-honestearning)
Posts: 5
Active Member
 

@google-rashidtoor  have u created multiple tools?

 
Posted : 04/05/2024 4:03 am
(@google-honestearning)
Posts: 5
Active Member
 

@husein can you explain in detail or with example ?

 
Posted : 04/05/2024 4:04 am
(@husein)
Posts: 250
Member Moderator
Premium Member
Prompt Engineer
Pythonista Prodigy Badge
API Entrepreneur
Power Member
 

@google-honestearning explain what?

 
Posted : 04/05/2024 7:39 am
(@google-honestearning)
Posts: 5
Active Member
 

@husein how to create multiple tools with these codes?

 
Posted : 04/05/2024 12:22 pm
SSAdvisor
(@ssadvisor)
Posts: 909
Noble Member
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
 

@google-honestearning you change the code to function for whatever you desire. Be sure to change the function names for each module.

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

 
Posted : 04/05/2024 9:47 pm
(@husein)
Posts: 250
Member Moderator
Premium Member
Prompt Engineer
Pythonista Prodigy Badge
API Entrepreneur
Power Member
 

@google-honestearning Each tool needs a function, so you create multiple code snippets for each tool. Or one code snippet that includes a function for each tool. (each function must have a unique name)

After that, you connect your functions to the tools' UIs.

 
Posted : 04/06/2024 10:02 am
(@google-honestearning)
Posts: 5
Active Member
 

@ssadvisor Iam getting this error "Cannot redeclare setApiKey() (previously declared in C:\Users.......wp-content\plugins\insert-headers-and-footers\includes\class-wpcode-snippet-execute.php(287) : eval()'d code:3)

 
Posted : 04/06/2024 10:41 am
(@google-honestearning)
Posts: 5
Active Member
 

@husein in codes snippet can you tell me which function name i have to change when i want to create multiple tools? because in snippet there is lot of function is showing

 
Posted : 04/06/2024 11:25 am
SSAdvisor
(@ssadvisor)
Posts: 909
Noble Member
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
 

@google-honestearning you need to change the setApiKey function name. Something like set setGeminiApiKey then where setApiKey is used you change it to setGeminiApiKey.

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

 
Posted : 04/06/2024 12:29 pm
(@husein)
Posts: 250
Member Moderator
Premium Member
Prompt Engineer
Pythonista Prodigy Badge
API Entrepreneur
Power Member
 

@google-honestearning you can name them whatever you want it's just that you cant have 2 functions with the same name, because it would cause errors.

 
Posted : 04/06/2024 1:45 pm
SSAdvisor reacted
(@jayden)
Posts: 1
New Member
 

yes admin will defininately create a video about this.

 
Posted : 04/14/2024 12:01 pm
SSAdvisor
(@ssadvisor)
Posts: 909
Noble Member
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
 

@jayden your response is somewhat spammish and doesn't add any benefit to the discussion. Be careful with your comments that it adds value to the discussion otherwise you will get banned from the community.

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

 
Posted : 04/14/2024 12:37 pm
Page 2 / 2
Share: