I’ve been using Scott Reilly’s Text Replace plugin for ages, and it’s always been perfect. But something has happened recently to disrupt it’s functioning and I’m not sure what’s up.
I have a list generated by WPDM on this page (http://nrocnetwork.org/resources/courses/nroc-math/nroc-math-standard/?target=instructors). There are many resources in the list with (secure) after the title. In each case, this should be replaced with a lock icon, per my settings in Text Replace, which is set up like this:
(secure) ► <i class=”fa fa-lock fa-lg”></i>
It has been working correctly within the context of WPDM on these pages since we built the site. I haven’t made any changes (other than usual plugin updates). I’m running WP 4.9.8 and the Text Replace plugin works fine on a test page outside of WPDM (http://nrocnetwork.org/resources/test-secure-icon/).
Can you tell what’s going wrong here? Is WPDM not filtering the other plugin’s code properly?
Here is the template code I’m using on the page where it should be working:
<div class="well c2a1">
<div class="media">
<div class="media-body">
<h3 class="media-heading" style="padding-top: 0px;border:0px;margin: 0 0 5px 0;font-size:12pt;font-weight:700">[popup_link] </h3>
<span style="float:left;padding-right:10px;"><a href="[page_url]" data-title="[title]" class="wpdm-popup-link" data-toggle="modal" data-target="#wpdm-popup-link">[icon]</a></span>[excerpt_300]
</div>
</div>
</div>
<style>.well.c2a1 .btn.wpdm-download-link{ padding: 11px 30px;font-size: 11pt; } .well.c2a1 .media-body{ font-size: 11pt; }</style>
Thanks in advance.
Hello
we get within chrome developer tool this error. The error occurs within the admin dashboard.
notice.php?wpdmvarsion=4.7.7:1 Failed to set referrer
Failed to set referrer policy: The value ” is not one of ‘no-referrer’, ‘no-referrer-when-downgrade’, ‘origin’, ‘origin-when-cross-origin’, ‘same-origin’, ‘strict-origin’, ‘strict-origin-when-cross-origin’, or ‘unsafe-url’. The referrer policy has been left unchanged.
Is this caused by WPDM? Also we expect maybe this error causes another problem with calendarize it! plugin. There we could not save options page within calendarize it!, options always reseted after saving. Support of them told me maybe this error could be a part/ the reason for the problem.
Thanks fo your help Marc
<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.6.2/css/bulma.css" />
<link href="https://fonts.googleapis.com/css?family=Karla" rel="stylesheet">
<script
src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha256-3edrmyuQ0w65f8gfBsqowzjJe2iM6n0nKciPUp8y+7E="
crossorigin="anonymous"></script>
<style>
body,p{
font-family: Karla, sans-self;
font-size: 10pt;
line-height:1.3 !important;
letter-spacing: 0.5px;
}
time{
font-size: 8pt;
margin-top: 10px;
display:block;
color: #aaaaaa;
font-style: italic;
}
.media-content{
overflow: unset;
}
.content figure{
margin:0 !important;
}
.fb-page.fb_iframe_widget iframe,
.fb-page.fb_iframe_widget{
width:100% !important;
}
</style>
</head>
<body>
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : '221324504570049',
autoLogAppEvents : true,
xfbml : true,
version : 'v2.11'
});
};
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "https://connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
jQuery(function($){
setTimeout(function(){
FB.api(
'/141087719309477/feed?access_token=200909553297304|Wk3QiltHyAJOsdKy4LTbyulusYQ&fields=name,link,type,status_type,description,picture,message,created_time,permalink_url&limit=5',
'GET',
{},
function(response) {
$.each(response.data, function(i, post){
var cdate = new Date(post.created_time);
cdate = cdate.toString().split(' GMT');
cdate = cdate[0];
$('#fb-posts').append('<div class="card"> <div class="card-content"><div class="content"><article class="media"><div class="media-left"><figure class="image is-64x64"><img src="'+post.picture+'" alt="Image"></figure></div><div class="media-content"><div class="content"><p>'+post.message+'</p><time datetime="'+post.created_time+'">'+cdate+'</time></div></div></article></div></div><footer class="card-footer"><a target=_blank href="'+post.link+'" class="card-footer-item">Learn More</a><a target=_blank href="'+post.permalink_url+'" class="card-footer-item">View On Facebook</a> </footer></div>');
});
}
);
}, 2000);
});
</script>
<div class="fb-page" data-href="https://facebook.com/wpdownloadmanager/" data-width="400" data-small-header="true" data-adapt-container-width="true" data-hide-cover="true" data-show-facepile="true"><blockquote cite="https://facebook.com/wpdownloadmanager/" class="fb-xfbml-parse-ignore"><a href="https://facebook.com/wpdownloadmanager/">WordPress Download Manager</a></blockquote></div>
<div id="fb-posts"></div>
<!-- a href="https://www.wpdownloadmanager.com/download/opt-in-magic/?utm_source=OptinMagicWPD&utm_medium=DashboardWidget&utm_campaign=new_addon" target=_blank><img src="https://www.evernote.com/l/AV0tp5IsHFFPEqNmyN2RzTZtzyDVBjbYYlIB/image.png" alt="New Add-on: Opt-in Magic" /></a -->
</body>
</html>