page.title

Affiliate marketing product review niche site for fathers and their spending habits.

Built on the Wordpress CMS platform, the design is a 100% custom theme. Functions, templates, and some plugins have all been custom tailored to make this product review blog as SEO friendly and powerful as possible.

the main post loop template was built to catch custom meta inputs for affiliate tracking.

<!-- Start of Post Wrap -->
<div class="post hentry">
    <!-- This is the output of the post title -->
    <h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
    <!-- This is the output of the excerpt -->
    <div class="entry-summary">
        <!-- This will output of the featured image thumbnail  -->
        <div class="featured-image">
            <a href="<?php print_custom_field('affiliate_link'); ?>"
                target="_new"><?php the_post_thumbnail(array(180, 9999)); ?></a><br/>
                <a href="<?php print_custom_field('affiliate_link'); ?>"
                    target="_new"><?php print_custom_field('summaryThumbCaption'); ?></a>
                </div>
                <div class="excerpt-summary">
                    <?php the_excerpt(); ?>
                    <span class="readmore"><a href="<?php the_permalink(); ?>">Read more</a></span>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- // End of Post Wrap -->

For specific pages and loops a simple WP_Query argument array was created and modified as needed per page requirements when initially written, dynamically as a class added in later versions. The loop includes iterations of an advertisement injection via shortcode at specific intervals.

<?php
$modArgs = array(
'post_type' => 'post',
'orderby' => 'publish_date',
'order' => 'DESC',
'posts_per_page' => '8',
'paged' => $paged
);
$the_modQuery = new WP_Query($modArgs);
?>
<?php $counter = 1; ?>
<?php if ($the_modQuery->have_posts()) : while ($the_modQuery->have_posts()) : $the_modQuery->the_post(); ?>
    <?php get_template_part('product', 'item'); ?>
    <!-- // End of Post Wrap -->
    <?php if ($counter == 4) : ?>
        <!-- Start of Post Wrap -->
        <div class="post hentry">
            <div class="inPageAd">
                <?php echo do_shortcode('[sam id=1]'); ?>
            </div>
            <div class="inPageAd">
                <?php echo do_shortcode('[sam id=1]'); ?>
            </div>
        </div>
        <!-- // End of Post Wrap -->
    <?php endif; ?>
    <?php $counter += 1; ?>
    <?php wp_reset_query(); ?>
<?php endwhile;
else: ?>
<p>Sorry, there are no posts to display</p>
<?php endif; ?>
<?php wp_reset_query(); ?>
<div class="clear"></div>
<a class="tabMore" href="/newest">View all posts newest to oldest</a>

This site has a integrated plugin system that catches new posts from an authorized Instagram account with an hourly cronjob, and uses REST API interfaces to automatically post to the blog page. In turn, each new blog page post will at the time of publishing, automatically post to Facebook, Twitter, Tumblr, and Google+, including featured images as post image, with hashtags and backlinks. Creating a social media SEO solution, streamlined to make blog posts and Instagram picture be the only needed entry point for all media channels.