General Question

AlexZandi's avatar

Help With Tumblr (Disqus Comments)

Asked by AlexZandi (25 points ) August 11th, 2008

Well I want to let people leave comments on my posts so i signed up for Disqus. The instructions are pretty clear it just says “Paste the following code so that it is right before </div> {/block:Posts}. This adds a comment counter/permalink.
Note: Look carefully! {/block:Posts} is not the same as {block:Posts}” ”<div style=“font-size: 10px; text-align: left;”><a href=”{Permalink}#disqus_thread”>Comments (View)</a></div>”
The problem is I cant find were to put it in my theme. I know nothing about code so I was wondering if someone could help me. I didn’t create my layout and I think quite a few people have it so I will have no problem sharing my theme. Here (<!DOCTYPE html PUBLIC ”-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>

<html xmlns=“http://www.w3.org/1999/xhtml” xml:lang=“en” lang=“en”>
<head>
<title>{Title}’s Tumblr{block:PostSummary} – {PostSummary}{/block:PostSummary}</title>
<meta http-equiv=“Content-Type” content=“text/html; charset=utf-8”/>
<meta name=“Description” content=”{Title}” />
<link rel=“shortcut icon” href=”{Favicon}” type=“image/x-icon” />
<link rel=“alternate” type=“application/rss+xml” title=“RSS” href=”{RSS}” />
<link rel=“stylesheet” href=“http://www.jacobbijani.com/clients/me/perf/perfs.css” type=“text/css” media=“screen” charset=“utf-8” />
<script type=“text/javascript” src=“http://www.jacobbijani.com/clients/me/perf/mootools-beta_eval.js”></script>
<script type=“text/javascript” src=“http://www.jacobbijani.com/clients/me/perf/perf.js”></script>

<style type=“text/css”>
{CustomCSS}
</style>

<!—
Theme designed by:
__ __
__ /\ \ /\ \ __ __ __
/\\ __ ___ ___\ \ \____ \ \ \____/\\ /\\ __ ___ /\\
\/\ \ /‘__`\ /‘___\ / __`\ \ ‘__`\ \ \ ‘__`\/\ \ \/\ \ /‘__`\ /’ _ `\/\ \
\ \ \/\ \\.\/\ \__//\ \\ \ \ \\ \ \ \ \\ \ \ \ \ \ \/\ \\.\_/\ \/\ \ \ \
\ \ \ \__/.\\ \____\ \____/\ \,__/ \ \,__/\ \\\ \ \ \__/.\\ \\ \\ \\
/\ \\ \/__/\//\/____/\/___/ \/___/ \/___/ \//\ \\ \/__/\//\//\//\//
\ \____/ \ \____/
\/___/ \/___/

More information at perfs.tumblr.com. Enjoy.
—>
</head>
<body>

<div class=“wrapper”>
<div class=“header”>
<div class=“title”><a href=”/”>{Title}</a></div>
{block:Description}<div class=“desc”>{Description}</div>{/block:Description}
</div>

<img src=“http://farm4.static.flickr.com/3214/2754187467_8bc6a8635b_o.png” />

{block:Posts}
{block:Text}
<div class=“left”>
<div class=“content text”>
{Body}
</div>
<div class=“divider”></div>
</div>
<div class=“right”>
<img src=“http://farm4.static.flickr.com/3058/2755037452_5706cdecdc_o.png” />
<div class=“content”>
<div class=“date”><a href=”{Permalink}”>{12Hour}:{Minutes} {AmPm} {Month} {DayOfMonth}, {Year}</a></div>
{block:Title}<div class=“copy”>{Title}</div>{/block:Title}
</div>
<img src=“http://www.jacobbijani.com/clients/me/perf/right-bottom.png” />
</div>

<div class=“cb”></div>
{/block:Text}

{block:Photo}
<div class=“left”>
<div class=“content photo”>
{LinkOpenTag}<img src=”{PhotoURL-500}” alt=”{PhotoAlt}” />{LinkCloseTag}
</div>
<div class=“divider”></div>
</div>
<div class=“right”>
<img src=“http://www.jacobbijani.com/clients/me/perf/right-top.png” />
<div class=“content”>
<div class=“date”><a href=”{Permalink}”>{12Hour}:{Minutes} {AmPm} {Month} {DayOfMonth}, {Year}</a></div>
{block:Caption}<div class=“copy”>{Caption}</div>{/block:Caption}
</div>
<img src=“http://www.jacobbijani.com/clients/me/perf/right-bottom.png” />
</div>

<div class=“cb”></div>
{/block:Photo}

{block:Quote}
<div class=“left”>
<div class=“content quote {Length}”>
{Quote}
</div>
<div class=“divider”></div>
</div>
<div class=“right”>
<img src=“http://www.jacobbijani.com/clients/me/perf/right-top.png” />
<div class=“content”>
<div class=“date”><a href=”{Permalink}”>{12Hour}:{Minutes} {AmPm} {Month} {DayOfMonth}, {Year}</a></div>
{block:Source}<div class=“copy”>{Source}</div>{/block:Source}
</div>
<img src=“http://www.jacobbijani.com/clients/me/perf/right-bottom.png” />
</div>

<div class=“cb”></div>
{/block:Quote}

{block:Link}
<div class=“left”>
<a href=”{URL}” {Target}><div class=“content link”>{Name}</div></a>
<div class=“divider”></div>
</div>
<div class=“right”>
<img src=“http://www.jacobbijani.com/clients/me/perf/right-top.png” />
<div class=“content”>
<div class=“date”><a href=”{Permalink}”>{12Hour}:{Minutes} {AmPm} {Month} {DayOfMonth}, {Year}</a></div>
{block:Description}<div class=“copy”>{Description}</div>{/block:Description}
</div>
<img src=“http://www.jacobbijani.com/clients/me/perf/right-bottom.png” />
</div>

<div class=“cb”></div>
{/block:Link}

{block:Chat}
<div class=“left”>
<div class=“content chat”>
{block:Lines}
<div class=”{Alt}”>{block:Label}{Label}{/block:Label}{Line}</div>
{/block:Lines}
</div>
<div class=“divider”></div>
</div>
<div class=“right”>
<img src=“http://www.jacobbijani.com/clients/me/perf/right-top.png” />
<div class=“content”>
<div class=“date”><a href=”{Permalink}”>{12Hour}:{Minutes} {AmPm} {Month} {DayOfMonth}, {Year}</a></div>
{block:Title}<div class=“copy”>{Title}</div>{/block:Title}
</div>
<img src=“http://www.jacobbijani.com/clients/me/perf/right-bottom.png” />
</div>

<div class=“cb”></div>
{/block:Chat}

{block:Video}
<div class=“left”>
<div class=“content”>
{Video-500}
</div>
<div class=“divider”></div>
</div>
<div class=“right”>
<img src=“http://www.jacobbijani.com/clients/me/perf/right-top.png” />
<div class=“content”>
<div class=“date”><a href=”{Permalink}”>{12Hour}:{Minutes} {AmPm} {Month} {DayOfMonth}, {Year}</a></div>
{block:Caption}<div class=“copy”>{Caption}</div>{/block:Caption}
</div>
<img src=“http://www.jacobbijani.com/clients/me/perf/right-bottom.png” />
</div>

<div class=“cb”></div>
{/block:Video}

{block:Audio}
<div class=“left”>
<div class=“content”>
{AudioPlayerWhite}
</div>
<div class=“divider”></div>
</div>
<div class=“right”>
<img src=“http://www.jacobbijani.com/clients/me/perf/right-top.png” />
<div class=“content”>
<div class=“date”><a href=”{Permalink}”>{12Hour}:{Minutes} {AmPm} {Month} {DayOfMonth}, {Year}</a></div>
{block:Caption}<div class=“copy”>{Caption}</div>{/block:Caption}
</div>
<img src=“http://www.jacobbijani.com/clients/me/perf/right-bottom.png” />
</div>

<div class=“cb”></div>
{/block:Audio}
{/block:Posts}

<img src=“http://www.jacobbijani.com/clients/me/perf/left-bottom.png” />

<div class=“footer”>
{block:Pagination}
<div class=“pagination”>{block:NextPage}← <a href=”{NextPage}”>Older</a>{/block:NextPage} </div>
{block:PreviousPage}
<div class=“current”>{CurrentPage}</div>
<div class=“pagination” style=“text-align: right”><a href=”{PreviousPage}”>Newer</a> →</div>
{/block:PreviousPage}
{/block:Pagination}
</div>
</div>

</body>
</html>)

Observing members: 0 Composing members: 0

2 Answers

finkelitis's avatar

I just ran into this same problem. I don’t suppose you know the answer yet…

Jam_Jar's avatar

Block posts is at the bottom of theme look:

{/block:Posts}

<img src=“http://www.jacobbijani.com/clients/me/perf/left-bottom.png” />

<div class=“footer”>
{block:Pagination}
<div class=“pagination”>{block:NextPage}← <a href=”{NextPage}”>Older</a>{/block:NextPage} </div>
{block:PreviousPage}
<div class=“current”>{CurrentPage}</div>
<div class=“pagination” style=“text-align: right”><a href=”{PreviousPage}”>Newer</a> →</div>
{/block:PreviousPage}
{/block:Pagination}
</div>
</div>

</body>
</html>)

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther