=== Slodds Baby Name Generator ===
Contributors: slodds
Tags: baby names, name generator, baby, names, pregnancy
Requires at least: 5.8
Tested up to: 6.9
Stable tag: 2.1.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Baby name generator and popularity trends chart with 1,000 names, meanings, origins, and 11 years of US data through 2025.

== Description ==

**Shortcodes:** `[slodds_baby_names]` and `[slodds_baby_charts]` — or use the Gutenberg blocks.

Slodds Baby Name Generator adds a beautiful name generator and interactive popularity trends chart to your WordPress site, powered by the data team behind [BabyNa.me](https://babyna.me). Perfect for parenting blogs, pregnancy resource sites, and family-focused content.

= Features =

* 1,000 curated baby names (500 boy + 500 girl) with meanings and origins
* 11 years of US popularity rank data (2015–2025, from Social Security Administration)
* Interactive trend chart — compare up to 5 names side by side
* Sparkline trend indicators on generated name cards
* Gutenberg blocks with live editor preview
* Shortcode support for Classic Editor and page builders
* Boy, girl, or all gender filter
* Light and dark theme support
* Mobile responsive design
* No external API calls — works entirely offline
* No tracking, no cookies, no data collection
* Lightweight — no external dependencies

= Blocks =

* **Baby Name Generator** — found under Widgets in the block inserter
* **Baby Name Trends** — found under Widgets in the block inserter

Both blocks have sidebar settings for theme, gender, count, and default names.

= Shortcodes =

`[slodds_baby_names]` — displays the name generator
`[slodds_baby_names count="5" gender="girl" theme="dark"]`

`[slodds_baby_charts]` — displays the popularity trends chart
`[slodds_baby_charts names="Olivia,Liam,Emma" theme="dark"]`

== Installation ==

1. Upload the `slodds-baby-name-generator` folder to `/wp-content/plugins/`
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Add the **Baby Name Generator** or **Baby Name Trends** block, or use the shortcodes
4. Optionally configure settings under Settings > Slodds Baby Names

== Frequently Asked Questions ==

= Does this plugin make external requests? =

No. All name data is included in the plugin. No external API calls, no tracking, no cookies.

= How many names are included? =

1,000 names (500 boy + 500 girl) with meanings, origins, and 11 years of US popularity rank data through 2025.

= Can I use both the generator and charts on the same page? =

Yes. Each is a separate block or shortcode and they work independently.

= Does it work with page builders? =

Yes. The shortcodes work with Gutenberg, Elementor, Divi, and any other page builder that supports shortcodes.

= Is there a credit link? =

An optional credit link to BabyNa.me can be enabled in Settings > Slodds Baby Names. It is off by default.

= Where does the popularity data come from? =

US Social Security Administration (SSA) baby name data from 2015 through 2025.

== Screenshots ==

1. The baby name generator on a page
2. Generated names with sparkline trends
3. Interactive popularity trends chart
4. Settings page

== Changelog ==

= 2.1.0 =
* Added 2025 SSA popularity data for all 1,000 names
* Trend charts and sparklines now show 11 years (2015–2025)
* Top boy name: Liam (10 years running). Top girl name: Olivia (year #6)
* Charlotte rose from #4 to #2 among girls; Henry climbed from #6 to #5 among boys

= 2.0.0 =
* Added Gutenberg blocks for both generator and charts
* Expanded from 200 to 1,000 names with meanings and origins
* Added 10 years of US popularity rank data (2015–2024)
* New interactive trends chart — compare up to 5 names
* Sparkline trend indicators on name cards
* Restructured plugin into modular includes
* Added uninstall cleanup
* Bumped minimum WordPress version to 5.8

= 1.0.0 =
* Initial release
* 200 curated names with meanings and origins
* Boy/girl/all gender filter
* Configurable name count
* Light and dark theme support
* Optional credit link (off by default)
