stopped working – known conflicts?
-
Hiya,
I’ve been using this plugin successfully for a few years now on a Genesis build with Pods, Jetpack, Pagebuilder (siteorigin), W3 total cache and TinyMCE, among others, but after a spate of recent updates, it suddenly stopped appearing though the widget css is fine. The widget is embedded in a Pagebuilder block, but also does not work in a sidebar or footer as a standalone.
I know my source code is still fine as I’ve tested it elsewhere and it works. Admin permissions are in order. The console doesn’t give me any info about it. Thus I want to check about any known conflicts of late and of course will post back if I find any.
for what it’s worth, here’s the code:
<br></br>
<br></br>
<br></br>
<!– Word Counter –>
<?php
$url = “https://twb.translationcenter.org/workspace/stats.rss”;
$rss = @simplexml_load_file($url, ‘SimpleXMLElement’, LIBXML_NOCDATA);
if ($rss){
foreach ($rss->channel->item as $feedItem) {
$count = number_format((double)$feedItem->description);
echo “<div class=’box’ style=’position:relative’>”;
echo “<p style=’position:relative; font-weight:bold;color:#FFF;font-size:56px;’ align=’center’>$count</p>”;
echo “<p> </p>”;
echo “<br><p style=’position:relative; font-weight:bold;font-size:40px;color:#334666;’ align=’center’>Translated words donated so far!</p>”;
echo “</div>”;
break; // Bomb-out after first item has been read
}
} else {
// Do nothing – it is best not to announce an error
}
?>
<br></br>Thank you!
The page I need help with: [log in to see the link]
- The topic ‘stopped working – known conflicts?’ is closed to new replies.