Hello.
Thanks for the link. I have spent sometime to set up a shortcode for you which you can use to display the “Mr. Cable Cutter Recommends..” divisions properly and style them without having WordPress to correct the syntax..
Add this code to your functions.php
file:
function cc_recommends( $atts ) {
$a = shortcode_atts( array(
'text' => 'something',
'url' => 'something else',
'urltext' => 'something else again',
), $atts );
ob_start();
?>
<style type="text/css">
.ct-recommends {
text-align: center;
display: block; border: 1px solid #BEBEBE;
border-width: 1px 0;
overflow: hidden;
width: 100%;
}
.ct-recommends div {
display: inline-block;
max-width: 50%;
vertical-align: -webkit-baseline-middle;
vertical-align: middle;
}
</style>
<div class="ct-recommends">
<div>
<img class="wp-image-1644 alignleft lazy-loaded" src="https://www.cutcabletoday.com/wp-content/uploads/2015/06/MrCCT-Head1.png" data-lazy-type="image" data-src="https://www.cutcabletoday.com/wp-content/uploads/2015/06/MrCCT-Head1.png" alt="Mr. Cable Cutter" width="110" height="121"><noscript><img class=" wp-image-1644 alignleft" src="https://www.cutcabletoday.com/wp-content/uploads/2015/06/MrCCT-Head1.png" alt="Mr. Cable Cutter" width="110" height="121" /></noscript>
</div>
<div>
<?php echo "<h3>{$a['text']} <a href=\"{$a['url']}\">{$a['urltext']}</a></h3>\n"; ?>
</div>
</div>
<?php
return ob_get_clean();
}
add_shortcode('cc-recommends', 'cc_recommends');
Now, add this shortcode where you want the recommending division to appear, and don’t forget to set up the shortcode attibutes (text, url, urltext) :
[cc-recommends text="Mr. Cable Cutter Recommends:" url="https://www.tkqlhce.com/click-7779591-12190119-1429549752000" urltext="Sling TV"]
Since you have 3 recommendations in the homepage, you can use the same shortcode everytime and adjust its attributes with the message(text), recommendation link(url) and the recommended service name (urltext).
Let me know how it goes ??
Samuel