=== Datar ===
Contributors: walterpinem
Requires at least: 5.2
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A very simple one-column WordPress theme for bloggers and writers, focused on typography and content.

== Description ==

Datar is a very simple yet beautiful one-column WordPress theme for bloggers and writers. It focuses on typography, content, and photos. It features two widget areas around the header and is compatible with the Jetpack plugin (Infinite Scroll and Responsive Videos).

== Installation ==

1. In your admin panel, go to Appearance > Themes and click the Add New button.
2. Click Upload Theme and Choose File, then select the theme's .zip file. Click Install Now.
3. Click Activate to use your new theme right away.

== Frequently Asked Questions ==

= How do I set up the menu? =

Datar supports one menu location, Primary, shown below the site title. Create a menu and assign it to the Primary location under Appearance > Menus.

= What are the widget areas? =

Datar registers three widget areas under Appearance > Widgets:

* Above Header - right-aligned, above the site title. Suitable for social profile links.
* Above Content Area - shown on the front page only, above the content.
* Sidebar - registered for compatibility; the one-column layout does not currently display it.

To show social icons in the Above Header area like the theme demo, add a Text widget containing links wrapped in Font Awesome 4 markup, for example:

`<a href="https://twitter.com/yourname"><i class="fa fa-twitter-square"></i></a>`

= What size should featured images be? =

Use images at least 1024px wide. The theme crops featured images to 811x420 pixels.

= Does this theme support any plugins? =

Datar includes support for Infinite Scroll and Responsive Videos in Jetpack.

== Resources ==

* Based on Underscores https://underscores.me/, (C) 2012-2015 Automattic, Inc., [GPLv2 or later](https://www.gnu.org/licenses/gpl-2.0.html)
* normalize.css https://necolas.github.io/normalize.css/, (C) 2012-2015 Nicolas Gallagher and Jonathan Neal, [MIT](https://opensource.org/licenses/MIT)
* Modernizr 2.8.3 (custom build) https://github.com/modernizr/modernizr, (C) Faruk Ates, Paul Irish, Alex Sexton and contributors, [MIT](https://opensource.org/licenses/MIT)
* REM unit polyfill https://github.com/chuckcarpenter/REM-unit-polyfill, (C) Chuck Carpenter, [MIT](https://opensource.org/licenses/MIT)
* Font Awesome 4.5.0 https://fontawesome.com/, (C) Dave Gandy, Font: [SIL OFL 1.1](https://scripts.sil.org/OFL), CSS: [MIT](https://opensource.org/licenses/MIT)
* Playfair Display font https://fonts.google.com/specimen/Playfair+Display, (C) Claus Eggers Sorensen, [SIL OFL 1.1](https://scripts.sil.org/OFL), loaded from Google Fonts
* Quando font https://fonts.google.com/specimen/Quando, (C) Joana Correia, [SIL OFL 1.1](https://scripts.sil.org/OFL), loaded from Google Fonts
* screenshot.png, self-created rendering of the theme, (C) 2026 Walter Pinem, [GPLv2 or later](https://www.gnu.org/licenses/gpl-2.0.html)

== Changelog ==

= 1.1.0 - 2026 =
* Fixed: the search form could not be submitted (it was missing its form element). Site search works again everywhere the theme prints a search form.
* Security: escaped translated strings at output; added ABSPATH guards to all PHP files.
* Accessibility: skip link is now the first focusable element, visible keyboard focus styles everywhere, accessible label on the mobile menu toggle.
* Compatibility: added wp_body_open() for plugins that hook it; fixed widget area checks (is_active_sidebar); verified on PHP 8.3/8.4 and WordPress 7.0.
* Compliance: updated style.css headers (Requires at least, Tested up to, Requires PHP), removed retired tags, new 1200x900 screenshot, rewritten readme.
* No design, layout, or feature changes.

For older releases see changelog.txt.

== Upgrade Notice ==

= 1.1.0 =
Safe maintenance update: fixes the broken search form, adds security hardening and accessibility fixes. No design or layout changes.
