Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
Fabio
tagDiv Member

Simply add this code and change EXAMPLE with your account name:


<div id="disqus_thread"></div>
<script>
/**
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT
* THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR
* PLATFORM OR CMS.
*
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT:
* https://disqus.com/admin/universalcode/#configuration-variables
*/
/*
var disqus_config = function () {
// Replace PAGE_URL with your page's canonical URL variable
this.page.url = PAGE_URL;

// Replace PAGE_IDENTIFIER with your page's unique identifier variable
this.page.identifier = PAGE_IDENTIFIER;
};
*/

(function() { // REQUIRED CONFIGURATION VARIABLE: EDIT THE SHORTNAME BELOW
var d = document, s = d.createElement('script');

// IMPORTANT: Replace EXAMPLE with your forum shortname!
s.src = 'https://EXAMPLE.disqus.com/embed.js';

s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>
Please enable JavaScript to view the

comments powered by Disqus.

</noscript>

More info here: https://help.disqus.com/en/articles/1717112-universal-embed-code

  • This reply was modified 6 years by Fabio.
Fabio
tagDiv Member

Thanks Vlad,
I confirm that the script does not resize image but it regenerate missing thumbnails.
These images are not optimized (I used https://developers.google.com/speed/pagespeed/insights/). Could you suggest me a plugin to optimize the weight of these images?

Thanks

Fabio
tagDiv Member

Thanks you! This is what I’m searching.

Fabio
tagDiv Member

Hi,
How can I change

this.page.url = PAGE_URL; // Replace PAGE_URL with your page’s canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page’s unique identifier

Dinamically?

thanks
fabio

Fabio
tagDiv Member

I notice that if I edit post page template with your editor I receive this error

Warning: require(/home/ciscozine/domains/ciscozine.com/public_html/wp-content/plugins/td-standard-pack/Newspaper): failed to open stream: Success in /home/ciscozine/domains/ciscozine.com/public_html/wp-includes/comment-template.php on line 1527

Fatal error: require(): Failed opening required ‘/home/ciscozine/domains/ciscozine.com/public_html/wp-content/plugins/td-standard-pack/Newspaper/’ (include_path=’.:/usr/local/php72/lib/php’) in /home/ciscozine/domains/ciscozine.com/public_html/wp-includes/comment-template.php on line 1527
There has been a critical error on your website.

Fabio
tagDiv Member

I have tried to delete cache without resolving the problem.
I use the disqus official plugin.
Thanks

Viewing 6 posts - 26 through 31 (of 31 total)