Disqus Hooks? (Genesis Theme)
-
I am accustomed to using the Genesis “above comments” and “Below comments” hooks as a way to inject various bit of code (adsense, custom code, widgets, etc).
I recently switched to Disqus since I love the service, but they complete overwrite the default genesis/wordpress comment php. This kills the hooks.
So I am curious is there is a way to add an action or filter to tap into disqus?
Below is a crude example that doesn’t work.
add_filter('dsq_comments_template', 'commentwrap', 10, $origcontent); function commentwrap($origcontent) { $mytestvar = "<div><!----></div>"; $commentoutput = $mytestvar.$origcontent.$mytestvar; return $commmentoutput; }
https://www.ads-software.com/extend/plugins/disqus-comment-system/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Disqus Hooks? (Genesis Theme)’ is closed to new replies.