carlosocarvalho / disqus
Disqus demo
1.0.0
2015-07-16 06:39 UTC
This package is auto-updated.
Last update: 2024-10-29 04:36:28 UTC
README
Disqus Library
Create config for disqus
<?php #Create file in config/disqus.php and add $config['disqus']=array('disqus_name'=>'yourname');
Create Helper Function
<?php #Create file in helpers/disqus_helper.php and add use carlosocarvalho\Disqus\Disqus; function disqus(){ if( ! is_callable('Disqus','render') ) return ''; return Disqus::render(); }
Use in View
<div>{disqus()}</div>