No matter if you are a website owner, if you are a theme developer on wordpress.org or themeforest.net, if you want to extend your theme with a powerful advertising system you can integrate WP QUADS very easily. A few of the most popular themes are already using WP QUADS like the Bimber theme
Most themes offer specific advert positions to show ads below, above or beside special content elements like sidebars, headings, featured posts boxes and many more. They also need a system to show ads only for desktop and mobile devices.
You can create new ad spots in your theme which can be controlled 100% by WP QUADS. To do so you can use either the shortcode of an WP QUADS ad directly into any of your theme template files or you use a dedicated function which properly registers the ad location into your theme with additional control options:
Copy and paste a PHP Shortcodes in the corresponding theme template file, e.g. page.php, post.php, header.php and so on:
<?php echo do_shortcode('[quads id=1]'); ?>
You find the theme files in
Register an ad spot by adding a little snippet of code into your theme file functions.php:
Option 1 – Using the shortcode option
You can create ads in WP QUADS from the tab WP QUADS -> AdSense Code. There you also find the name of the shortcode of a particular ad. Copy and paste that code into your theme template file in place where want to see it later in the front page of your website.
Option 2 – Register an ad spot in your theme
To register a fixed place in your theme which you can control via WP QUADS just copy and paste the following code into your functions.php (You find that file in the main theme folder)
You can modify the value of location and description to your need but make sure that location must be a single word and must not contain any special or space character.
Next open your desired theme files.
In this example we are adding custom ad places into your themes header and footer. The corresponding theme template files are called in most themes footer.php and header.php.
Use the code below and paste it there where you want to show a custom WP QUADS ad position on your site. Here we use the header ad spot.
After reloading you can control the ads on this position from your WP QUADS global settings: