on top marketing placeholder

In this article I’m going to share with you how to code custom AAWP templates, so they look more like natural blog content.

How To Create Custom AAWP Templates

Go to wp-content > plugins > aawp > templates > products and download the horizontal.php file (we are going to use this as our template to build on.

Now go to wp-content > themes > YOURTHEME and create a folder called “aawp”. Inside that create a folder called “products”.

Then paste the horizontal.php file into that folder and change the name to simple-template.php

Edit that file to make it output in your desired way.

How To Use Your Custom AAWP Template

To use your newly created AAWP template, edit your shortcode to include template=”simple-template”.

For example:

[amazon bestseller="4k tv" filterby="price" filter="350" filter_compare="more" filter_items="20" items="20" description_items="10" image_size="large" template="simple-template"]

Watch Me Create A Custom AAWP Template

I recently filmed a video showing the full process over the shoulder, check it out:

Here’s the code promised in the video:

<?php
$something = "<pre>";
$methods = get_class_methods($this);
foreach ($methods as $method) {
    $something .= '<code>' . $method . '()</code><br>';
}
$something .= "</pre>";
echo $something;
?>

Good luck, I hope this helps you make lots of affiliate commissions!

Leave a Reply

Your email address will not be published. Required fields are marked *

Let's Grow Your Business

Need help marketing your business online?

Get Free Quote