=== Coredevia Ad Manager ===
Contributors: coredevia
Tags: ads, ad manager, banner, advertising, banner manager
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Build banner ads without code and place them on single posts, archives, search results, and 404 pages. Lightweight and privacy friendly.

== Description ==

Coredevia Ad Manager is a straightforward ad manager for site owners who want full control over what appears on their site and where.

Choose an ad type, fill in a few fields, pick the slots where the ad should appear, and publish. That is the whole workflow. There is no code to write and nothing to paste, so a banner takes about a minute to build.

**Built for the placements other plugins overlook**

Most ad plugins focus on posts and pages. This one treats archives, search results, and 404 pages as first class placements, which are exactly the pages where visitors often land with nowhere to go. A promotion for your book, your course, or your current offer belongs there.

**Lightweight by design**

Coredevia Ad Manager loads no fonts, no libraries, and no external files of its own. On the visitor side, the plugin outputs your ad and nothing else, and admin styles load only on its own screens. The only outside connection happens when you deliberately create an ad network ad, and even then it is the network's own script, loaded on the pages where that ad runs.

**Stable layout**

Ads are printed inside the page on the server, not injected afterwards by JavaScript. Surrounding content does not jump as the page loads, which helps keep your layout stable and your Core Web Vitals healthy.

= Three ways to build an ad =

**Image banner.** Pick an image from your media library, add a link and alt text, and you are done. Coredevia Ad Manager writes the markup, adds the correct width and height so the page does not jump, and marks the link as sponsored for you.

**HTML.** For banners and embeds you already have, with links, images, and iframes supported. Markup is filtered against a safe allowlist.

**Ad network.** Enter the publisher ID and ad unit ID from your advertising account, and Coredevia Ad Manager builds the ad code for you. No script to copy, no risk of a broken paste.

= Features =

* Three guided ad types: image banner, HTML, and ad network
* Optional custom CSS for each ad
* Four placements: single posts, blog archives, search results, and 404 pages
* Choose whether the 404 ad appears at the top or the bottom of the page
* Shortcode for manual placement anywhere, with a copy button in the ads list
* Publish to go live, save as draft to pause, using the WordPress flow you already know
* Ads list showing status, assigned slots, and shortcode at a glance
* Clean uninstall option, off by default so your ads are never lost by accident
* No external requests, no tracking, no bloat

= Who it is for =

Bloggers promoting their own products, publishers running network ads, and anyone who wants a clear, fast way to manage banners without a heavy interface.

== Installation ==

1. Upload the plugin folder to the /wp-content/plugins/ directory, or install it through the Plugins screen in WordPress.
2. Activate the plugin through the Plugins screen.
3. Go to Coredevia Ads, then Add New Ad.
4. Give the ad a name, paste your code, choose the slots, then publish.

== Frequently Asked Questions ==

= Does this work with advertising networks? =

Yes. Choose the ad network type, pick your network, and enter the identifiers from your account. Coredevia Ad Manager assembles the ad code for you. Google AdSense is supported, and more networks are planned.

= Do I need to know HTML? =

No. The image banner type needs nothing but an image and a link. HTML is there for people who want it, not because you need it.

= Where exactly do ads appear? =

The single post slot appears after the post content. The archive and search slots appear just before the list of posts. The 404 slot appears at the top of the page by default, and you can move it to the bottom in the settings.

= Can I put an ad somewhere else? =

Yes. Every ad has a shortcode such as [coreads id="12"], which you can paste into any post, page, or widget area. The shortcode is shown with a copy button in the ads list.

= How do I pause an ad without deleting it? =

Switch the ad back to draft. Only published ads are shown to visitors.

= Will my ads be deleted if I remove the plugin? =

No, not unless you ask for it. Deleting the plugin keeps your ads by default. If you want a completely clean removal, turn on the delete on uninstall option in the settings first.

= Does the plugin slow down my site? =

Coredevia Ad Manager adds no scripts, styles, or fonts of its own to your site for visitors. It outputs your ad and nothing more. The only exception is when you choose the ad network type, where the network's own script is loaded so the ad can appear.

= Can I paste script tags into an ad? =

No, and that is deliberate. Scripts are stripped from ad markup, which keeps your site safe and keeps this plugin within the WordPress plugin directory rules. Advertising networks are supported through the ad network type instead, which builds the required code for you.

== External services ==

Coredevia Ad Manager does not contact any external service on its own.

If, and only if, you create an ad of the ad network type and select Google AdSense, your visitors' browsers will load the AdSense script from Google in order to display the ad, and Google will receive the data described in its own policies. This happens only on pages where such an ad is live, and only after you have entered your own AdSense identifiers.

Google AdSense terms: https://www.google.com/adsense/localized-terms
Google privacy policy: https://policies.google.com/privacy

== Screenshots ==

1. The Coredevia Ad Manager dashboard with an overview of your ads.
2. The ad editor, showing the image banner builder and the slot picker.
3. The ads list showing status, slots, and a ready to copy shortcode.
4. The settings screen.

== Changelog ==

= 1.0.0 =
* First release
* Three guided ad types: image banner, HTML, and ad network
* Image banners are built without any code, with sizes set to keep the layout steady
* Ad markup is filtered against a safe allowlist
* Four placements: single posts, blog archives, search results, and 404 pages
* Shortcode for placing an ad anywhere by hand
* Ready for translation into any language, with a translation template included
* Optional removal of all data when the plugin is deleted

== Upgrade Notice ==

= 1.0.0 =
First release.
