Description
A lightweight WordPress advertising plugin for manual ad placement, automatic post ads, and built-in ads.txt support.
Read the setup guide:
Read the Adslastica Setup Guide
Adslastica offers two simple ways to place ads on your website.
Manual Ads use shortcodes, allowing you to place ads anywhere shortcodes are supported, including posts, pages, widgets, homepage layouts, and most page builders.
Post Ads automatically insert ads into blog posts. Add your ad code to one of three Post Ad boxes, then choose where each ad appears automatically.
The plugin also includes Publisher ID cleanup and built-in ads.txt tools to help Google AdSense users complete their setup.
Features:
- Two manual ad slots with shortcodes
- Three Post Ad code boxes
- Automatically insert up to three ads into each post
- Five automatic post ad locations
- Before post
- After paragraph 2
- Middle of post
- Before last paragraph
- After post
- Add your Google AdSense Publisher ID
- Automatically clean common Publisher ID formatting mistakes
- Accept ca-pub, pub, or a 16-digit Publisher ID
- Generate a virtual ads.txt entry
- Detect an existing physical ads.txt file
- Check whether your ads.txt is publicly accessible
- Display the current ads.txt status
- Copy a manual ads.txt line with one click
- Simple and beginner-friendly interface
- Lightweight and easy to use
- Works with most modern WordPress themes and page builders
For best results, you can exclude your homepage from Google AdSense Auto Ads and use Adslastica to control where ads appear.
Manual Ad Shortcodes:
- Ad 1:
[adslastica_ad_1] - Ad 2:
[adslastica_ad_2]
External Services
This plugin can display Google AdSense ad code.
When Google AdSense is used, ad requests are sent directly to Google.
The following information may be sent to Google AdSense:
- Google AdSense Publisher ID
- Website URL and standard ad request information required by Google AdSense
This plugin does not collect or transmit personal user data.
Google AdSense:
https://www.google.com/adsense/
Google Privacy Policy:
https://policies.google.com/privacy
Google AdSense Terms:
https://www.google.com/adsense/terms/
Installation
- Upload the plugin to the
/wp-content/plugins/directory. - Activate the plugin through the Plugins menu in WordPress.
- Open Settings Adslastica.
- (Optional) Enter your Google AdSense Publisher ID.
- Verify that ads.txt is active if using AdSense.
- Add your manual ad code to Ad 1 or Ad 2 to use shortcodes.
- Add your ad code to Post Ad 1, Post Ad 2, and/or Post Ad 3, then choose where each Post Ad should appear automatically.
FAQ
-
How do I display Manual Ads?
-
Use either of these shortcodes:
[adslastica_ad_1][adslastica_ad_2]
Manual Ads work in posts, pages, widgets, homepage layouts, and most page builders that support shortcodes.
-
How do Automatic Post Ads work?
-
Adslastica includes three Post Ad code boxes.
Paste your ad code into Post Ad 1, Post Ad 2, or Post Ad 3, then choose where each Post Ad appears automatically.
Available locations include:
- Before post
- After paragraph 2
- Middle of post
- Before last paragraph
- After post
Each Post Ad can be assigned to one location, allowing up to three automatic ads in a single post.
-
Does it work with Astra or other themes?
-
Yes. Adslastica works with most modern WordPress themes and page builders that support shortcodes.
-
Does Adslastica support ads.txt?
-
Yes. Adslastica can generate a virtual ads.txt entry, detect an existing physical ads.txt file, check whether your ads.txt is publicly accessible, and provide a manual ads.txt line when automatic delivery is unavailable.
-
What Publisher ID formats are supported?
-
Adslastica accepts ca-pub, pub, or a 16-digit Publisher ID. It automatically removes common formatting mistakes such as extra spaces, quotation marks, and copied dash characters.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Adslastica” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Adslastica” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.6.5
- Added three Post Ad code boxes
- Added automatic post ad insertion
- Added five automatic post ad locations
- Improved manual ad placement workflow
- Improved plugin interface
1.6.4
- Added automatic virtual ads.txt support from the saved Publisher ID
- Added detection of existing physical ads.txt files
- Added public ads.txt availability checking
- Added ads.txt status display
- Added one-click copy for the manual ads.txt line
- Improved Publisher ID input handling for pasted values
- Accepts ca-pub, pub, or a 16-digit Publisher ID
- Automatically removes accidental spaces, quotation marks, and copied dash characters
1.6.3
- Added setup guide link to the plugin description
- Updated documentation
1.6.2
- Improved admin panel design
- Added shortcode support for Ad 2
- Improved manual ad placement workflow
- General plugin cleanup and improvements