Index, Permalink Page, & Pagination Not Showing Up On Theme

662 views
Skip to first unread message

Lisa Ramos

unread,
Nov 28, 2013, 4:07:38 PM11/28/13
to tumblr...@googlegroups.com
Hi, I just started making a Tumblr theme and the note count, source, share links, permalink pages, notes, and pagination are not showing up on my theme. Here is the code I have.

<div class="index">
            <ul>
                {block:NoteCount}<li><a class="notecount" href="{Permalink}#notes">{NoteCountWithLabel}</a></li>{/block:NoteCount}
                
                {block:ContentSource}
                <li><a href="{SourceURL}">{lang:Source}:{block:NoSourceLogo}{SourceTitle}{/block:NoSourceLogo}
                {block:SourceLogo}<img src="{BlackLogoURL}" width="{LogoWidth}"height="{LogoHeight}" alt="{SourceTitle}" />{/block:SourceLogo}</a></li>
                {/block:ContentSource} 
            </ul>
            
            <ul class="share">
                <li class="tumblr"><a href="{ReblogURL}">Tumblr</a></li>
                <li class="facebook"><a href="https://www.facebook.com/sharer.php?u={Permalink}">Facebook</a></li>
                <li class="twitter"><a href="https://twitter.com/intent/tweet?url={ShortURL}">Twitter</a></li>
                <li class="google"><a href="https://plusone.google.com/_/+1/confirm?hl=en&url={Permalink}">Google+</a></li>
            </ul>
        </div>
        
        {block:PermalinkPage}
        <br />
            <div style=”text-align:center;”>
            {block:Date}
            {block:RebloggedFrom}Reblogged{/block:RebloggedFrom}{block:NotReblog}Posted{/block:NotReblog} {TimeAgo}{/block:Date} {block:NoteCount}with {NoteCountWithLabel}
            {/block:NoteCount}
            {block:RebloggedFrom}from <a href=”{ReblogParentURL}”>{ReblogParentName}</a><br />
            Source: <a href=”{ReblogRootURL}”>{ReblogRootName}</a><br />{/block:RebloggedFrom}
            {block:IfShowTags}{block:HasTags}<br><br>{block:Tags}<a href=”{TagURL}”>#{Tag}</a>{/block:Tags}{/block:HasTags}{/block:IfShowTags}<br><br>
            {/block:Date}
            </div>

        {block:PostNotes}
            <div id="notes">
                {PostNotes}
            </div>
            {/block:PostNotes} 
        {/block:PermalinkPage}
        </article>
        {/block:Posts}
        
        {block:Pagination}
        <div id="pagination">
        <ul>
            {block:NextPage}<li><a href="{NextPage}">Next</a></li>{/block:NextPage}
            {block:PreviousPage}<li><a href="{PreviousPage}">Prev</a></li>{/block:PreviousPage}
        </ul>
        </div>
        {/block:Pagination}

I placed these before the closing </section> tag in my theme and nothing is showing up. I don't know what is going on here. I've done these things before with past themes I've made and now these things won't work despite that I have the right code. Here's what my theme looks like http://lt-winter-solstice.tumblr.com/ Is there anything I'm doing wrong? How can I fix this? Can anyone please help me? Thanks.

Gerdus van Zyl

unread,
Nov 29, 2013, 2:33:26 AM11/29/13
to tumblr...@googlegroups.com
The problem is probably blocks that are not nested properly. If you
look at the html that gets sent to the browser the post output is
missing tags and just stops after the photo div.
If you can post your entire theme preferably using gist.github.com I
can take a look.
> --
> You received this message because you are subscribed to the Google Groups
> "Tumblr Themes" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tumblr-theme...@googlegroups.com.
> To post to this group, send email to tumblr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/tumblr-themes.
> For more options, visit https://groups.google.com/groups/opt_out.



--
Gerdus van Zyl
http://about.me/gerdus
Reply all
Reply to author
Forward
0 new messages