=== Cup Cakes ===
Contributors: chaitali_1987
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, one-column, two-columns, right-sidebar, custom-background, custom-header, custom-logo, custom-menu, featured-images, footer-widgets, threaded-comments, translation-ready

A simple, classic WordPress blog theme with a clean white background and a sweet pink accent.

== Description ==

Cup Cakes is a simple, classic WordPress blog theme built for writers and small
businesses who want a clean, readable, white-background layout without any
clutter. It ships with a soft pink and cream accent palette, a cozy serif
heading font paired with a system sans-serif body font, a custom logo, a widgetized sidebar and footer, threaded
comments, and a responsive primary navigation menu.

The theme uses only core WordPress APIs (Customizer, Widgets API, Theme
Support flags) so it stays fast, secure, and easy to maintain. No page
builder or bundled plugin is required. Page structure (grid, navbar,
buttons, forms) is built with Bootstrap 5, bundled locally with the theme.

== Installation ==

1. In your WordPress admin, go to Appearance > Themes > Add New > Upload Theme.
2. Choose the cup-cakes.zip file and click Install Now.
3. Activate the theme from the Themes screen.
4. Go to Appearance > Customize to:
   - Upload your own site logo (Site Identity > Logo). 
   - Set your background color (defaults to white).
   - Add a footer credit line under Cup Cakes Layout Options.
5. Go to Appearance > Menus to assign a menu to the "Primary Menu" location.
6. Go to Appearance > Widgets to add widgets to the Main Sidebar and Footer
   Widgets areas.

== Frequently Asked Questions ==

= Does this theme require any plugins? =

No. Cup Cakes works with WordPress core out of the box. It plays nicely
with the block editor (Gutenberg) but does not require it.

= How do I change the logo? =

Go to Appearance > Customize > Site Identity and upload your own logo. If
no logo is set, the site title and tagline are displayed instead.

= How do I remove the sidebar? =

Go to Appearance > Customize > Cup Cakes Layout Options and untick
"Show sidebar on posts and pages," or simply leave the Main Sidebar widget
area empty.

= Is this theme translation-ready? =

Yes. All strings are wrapped in WordPress i18n functions using the
"cup-cakes" text domain, and a starter .pot file can be generated with
any standard WordPress i18n tool (e.g. WP-CLI `wp i18n make-pot`).

= Does this theme need an internet connection to display correctly? =

No. All CSS, JavaScript, and images used by this theme, including
Bootstrap 5, are bundled inside the theme itself. Nothing is loaded from
a CDN or any other external source.

== Changelog ==

= 1.2.0 =
* Bundled Bootstrap 5 (CSS + JS bundle) locally under assets/css and
  assets/js instead of loading it from the jsDelivr CDN.
* Fixed a stacking-order bug where the primary navigation's dropdown/
  child menu items were rendered behind post-list featured images.
* Restored custom-header image support (assets/images/header-cupcake.png
  is used as the default header image).
* Added editor-style.css via add_editor_style() so block editor content
  matches the front-end typography and colors.
* Added a core/button block style ("Pink Cupcake") and a core/separator
  block style ("Cupcake Dots") via register_block_style().
* Added a "Cupcake Call to Action" block pattern via register_block_pattern().
* Added recommended core CSS classes: .wp-caption, .wp-caption-text,
  .sticky, .gallery-caption, .bypostauthor.
* Removed the Theme URI header (it pointed to a GitHub repo, not a
  WordPress.org theme page).

= 1.1.0 =
* Rebuilt page structure (header/nav, content/sidebar layout, footer,
  post cards, search and comment forms) with Bootstrap 5, loaded from
  the jsDelivr CDN.
* Removed custom header image support.

= 1.0.0 =
* Initial release.

== Credits ==

Cup Cakes WordPress Theme, Copyright 2026 Chaitali Prajapati
Cup Cakes is distributed under the terms of the GNU General Public License
v2 (or later). See license.txt for the full license text.

* All PHP, CSS, and JavaScript written specifically for this theme (i.e.
  everything except the bundled Bootstrap files noted below) was written
  from scratch for Cup Cakes and is licensed GPLv2 or later.
* All images (screenshot.png and the files in assets/images/) are original
  artwork created for this theme by the theme author and are released under
  GPLv2 or later / CC0 1.0, at the copyright holder's option.
* Bootstrap v5.3.3 (assets/css/bootstrap.min.css and its original,
  unminified source assets/css/bootstrap.css; assets/js/bootstrap.bundle.min.js
  and its original, unminified source assets/js/bootstrap.bundle.js),
  Copyright (c) 2011-2024 The Bootstrap Authors, licensed under the MIT
  License. Source: https://getbootstrap.com/. Full license text bundled at
  LICENSE-bootstrap.txt.
* No icon fonts or web fonts are bundled with this theme.

== Resources ==

* Underscores-inspired template structure, hand-written for this project
  (no code copied from the _s starter theme).
* Georgia (system font) used for headings; the browser's default system
  sans-serif stack is used for body text. Neither font file is bundled.
