AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

I want to create a WordPress plugin for my hour calculator tool — advice?

3 Posts
3 Users
0 Reactions
1,426 Views
Posts: 1
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@jhonnmarie)
New Member
Joined: 9 months ago
[#63528]

Hi everyone,

I run a website called https://calculadoradehoras.io , which provides a clean and mobile-friendly tool for calculating work hours in Spanish. I'm now looking to create a simple WordPress plugin so others can easily embed the calculator into their own sites or forums (possibly even inside wpForo posts).

I’d like to start with something lightweight—maybe using an iframe or a shortcode that loads the calculator tool—and eventually build in localization features.

A few questions I’d love your input on:

  • What’s the best way to structure a simple plugin for embedding tools like this?
  • Can wpForo posts support plugin shortcodes or embed content from an external tool like mine?
  • Has anyone here created similar utility plugins before and could share some best practices?

Any advice or examples would be hugely appreciated!

Thanks,
Jhonn Marie


2 Replies
Sofy
Posts: 5776
 Sofy
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sofy)
Support Team
Joined: 8 years ago

Hi,

The only way to achieve this is by using the add_shortcode() function in WordPress.
You can find more information here: add_shortcode()

WordPress Developer Reference: https://developer.wordpress.org/reference/functions/add_shortcode/

Using this function, you can perform various actions such as calculations, outputting content, and more.


Reply
Posts: 10
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@jungle)
Active Member
Joined: 9 months ago

Thanks for sharing that, Sofy. The The add_shortcode() approach looks like a solid starting point. I’m also curious if anyone here has tried loading external tools via iframe in a shortcode, wondering about any limitations or styling issues that might come up.


Reply
Share: