The Weeks of Pregnancy Calculator Plugin is a WordPress plugin that calculates how many weeks pregnant a user is based on their last period date. The plugin also displays important information about the baby's development based on the current week of pregnancy.
This plugin has been tested with WordPress 6.1.1 and PHP 8.1. Please ensure that your WordPress installation meets these requirements before installing the plugin.
- Download the plugin zip file.
- Login to your WordPress dashboard and navigate to Plugins > Add New.
- Click on the "Upload Plugin" button at the top of the page.
- Choose the downloaded zip file and click "Install Now".
- Activate the plugin.
To use the plugin, simply add the [semanas_de_embarazo]
shortcode to a post or page. This will display the form where the user can select the date of their last period.
After submitting the form, the plugin will make an AJAX call to calculate the current week of pregnancy and display the relevant information about the baby's development.
- Calculates current week of pregnancy based on last period date.
- Displays information about baby's development based on current week of pregnancy.
- Uses AJAX to update the results without reloading the page.
- Easy to use shortcode for adding the calculator to posts and pages.
Please see this video example for a demonstration of how the plugin works:
If you have any issues or questions about the plugin, please get in touch with me: diazg.dev
This plugin was created by me. Visit my website at diazg.dev for more information.
We welcome contributions to the plugin! If you have an idea for a new feature or improvement, please submit a pull request on GitHub.
This plugin is licensed under the GNU GPL v2 or later license.