New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disqus #393

Closed
shiftsave opened this Issue Nov 18, 2014 · 4 comments

Comments

Projects
None yet
4 participants
@shiftsave
Copy link

shiftsave commented Nov 18, 2014

Hi guys could you help me figure out how to incorporate disqus in my timer template? I was under the impression that it replaces the comments automatically but it doesnt work with my custom theme. I am using the started timber demo theme - https://github.com/Upstatement/timber-demo-theme

@aristath

This comment has been minimized.

Copy link
Contributor

aristath commented Nov 20, 2014

Hey there! You could just grab the disqus code that's suitable for all html sites and use it instead of your comments template.... 😄 So you won't have to worry about using the disqus plugin and implementing it at all.
If you're not planning to use the WordPress commenting system at all then there's really no reason not to do it that way.

@shiftsave

This comment has been minimized.

Copy link

shiftsave commented Nov 20, 2014

Well now that is overly simple and overlooked on my end. Thank you, I'll look into it! 👍

@eyeseast

This comment has been minimized.

Copy link

eyeseast commented Nov 20, 2014

Here's how I handled it: https://github.com/LearningLab/learninglab-theme/blob/master/views/single.twig#L54

That function, comments_template, let's disqus hook into the WordPress template system. I'm not sure it's a great solution, but it's more tied to WP than simply using the universal embed.

@shiftsave

This comment has been minimized.

Copy link

shiftsave commented Nov 20, 2014

Worked like a charm, thank you! @eyeseast

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment