Disable links from blog content shown on my website
-
hello
im want to display my blog feed on my website
i would like to disable links that lead back to blog
i dont want paying clients to leave website & get lost in blogso i want to diable links to blogs or all link within rss feed
im using “RSS 2 HTML” to display feeds on my site they offer 3 way to display feedPHP code – this option will only work if your webpage is already coded in PHP.
JavaScript code – this option is best if you want to style the embedded feed.
HTML code that generates an iframeive tried all three & have settled for the “HTML code that generates an iframe”
only becuase i have had sucsess blocking the links within the iframe. This would be great if every post was going to be the same size but they are not. the problem is that by disabling abilty to click on the iframe – i cant scroll to see all content.here is the page the iframe is on ( at bottom of page ) this page is not complete !!! its a work in progress ..
https://www.psychic3000.com/doomsday/last-day.html/*
Child Theme: twenty child 1
Theme URI: https://www.psychic3000.com/
Description: Child theme for the Twenty Eleven theme
Author: Creed masters
Author URI: https://www.psychic3000.com/
Template: twentyeleven
Version: 3.4.2
*/My blog > https://www.psychic3000.com/wordpress
here is the code im using
<script> window.onload = function () { var iframes = document.getElementsByTagName('iframe'); for (var i = 0, l = iframes.length; i < l; i++) { var iframe = iframes[i], d = document.createElement('div'); d.style.width = iframe.offsetWidth + 'px'; d.style.height = iframe.offsetHeight + 'px'; d.style.top = iframe.offsetTop + 'px'; d.style.left = iframe.offsetLeft + 'px'; d.style.position = 'absolute'; d.style.opacity = '0'; d.style.filter = 'alpha(opacity=0)'; d.style.background = 'black'; iframe.offsetParent.appendChild(d); } }; </script>
i dont know how to get it to allow scrolling & disable links
i will be thankful for any and all help !!!
- The topic ‘Disable links from blog content shown on my website’ is closed to new replies.