=== Templates Rocket Catalog Manager ===
Contributors: templatesrocketwp
Tags: pdf, catalog, download, document, protected download
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.1.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Manage PDF catalogs and serve them through expiring, signed download links instead of exposing the raw file URL.

== Description ==

Templates Rocket Catalog Manager lets you manage PDF catalogs from a single screen and serve them through secure, time-limited signed links instead of exposing the raw file URL. Drop a download button anywhere with a shortcode or a data attribute on any existing button.

= Features =

* Manage unlimited PDF catalogs from one screen
* Protected uploads folder — direct access to the raw file is blocked
* Expiring, HMAC-signed download links (configurable expiration)
* Download counter per catalog
* Shortcode `[catr_download_button id="123"]`, plus a `data-catr-catalog="123"` attribute for any button or link
* Bulk import from the Media Library and CSV export of your catalogs
* Native WordPress admin UI — inherits your admin color scheme and your theme's button styles on the front end

= Going further =

A separate commercial add-on, [Catalog Rocket Pro](https://templatesrocket.com/catalog-rocket-pro/), turns each download into a lead: a built-in capture form, an email notification on every download, and a leads dashboard with CSV export. The features described in this readme are fully functional without it.

== Installation ==

1. Upload the `templates-rocket-catalog-manager` folder to `/wp-content/plugins/`, or install it from Plugins → Add New.
2. Activate the plugin.
3. Go to **Catalogs** to add your first PDF catalog.
4. Place a button with the shortcode `[catr_download_button id="X"]` (replace X with the catalog ID), or add `data-catr-catalog="X"` to any existing button.

== Frequently Asked Questions ==

= Are the PDF files really protected? =

Yes. PDFs you manage through the plugin are served via a signed, expiring link. The uploads subfolder is protected with an .htaccess rule so the raw file cannot be accessed directly. (Direct-access protection relies on the server honoring .htaccess; on Apache this works out of the box.)

= How long is a download link valid? =

By default 30 minutes. You can change it under Catalogs → Settings.

= Does it work with my page builder? =

Yes. Use the shortcode, or add `data-catr-catalog="ID"` to any button or link from your theme or page builder.

= How do I style the download button? =

The shortcode outputs a plain button that inherits your active theme's button styling, so it matches the rest of your site. Add your own CSS class with the `class` attribute if you want.

== Screenshots ==

1. Manage all your PDF catalogs from one screen - add catalogs, see per-catalog download counts and copy ready-to-paste shortcodes.
2. Drop a download button anywhere on your site. Files are served through secure, expiring signed links, never the raw URL.
3. Bulk-import PDFs straight from the Media Library - each file name becomes the catalog title.

== Changelog ==

= 1.1.1 =
* Added a friendly review request after two weeks of use.


= 1.1.0 =
* Added an in-plugin overview of Catalog Rocket Pro features on the Catalogs screen.


= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
