Wie kann ich Tags mit diesem Tumblr-Thema sichtbar machen?


7

Ich habe mehrere Versuche unternommen, meinen Tumblr-Posts Tags hinzuzufügen, aber jedes Mal, wenn ich versuche, das Thema zu bearbeiten, wird oben in meinem Blog eine Liste mit Tags angezeigt, anstatt in jedem einzelnen Post enthalten zu sein. Kann mir jemand sagen, wie ich das Thema unten bearbeiten kann, um meinen Posts Tags hinzuzufügen?

<!-- {block:Posts} -->

        <!-- DATES -->

        <!-- {block:NewDayDate} -->
        <div class="entry date">
            <div class="icon">
                <a class="permalink" href="https://webapps.stackexchange.com/archive/{Year}/{MonthNumber}"></a>
            </div><!-- /.icon -->
            <div class="content">
                <div class="caption">
                    <p><a href="https://webapps.stackexchange.com/archive/{Year}/{MonthNumber}">{Month} {DayOfMonth} {Year}</a></p>
                </div><!-- /.caption -->
            </div><!-- /.content -->
        </div><!-- /.entry .date -->
        <!-- {/block:NewDayDate} -->

        <!-- PHOTO -->
        <!-- {block:Photo} -->
        <div class="post photo" id="p_{PostID}">
            <div class="icon">
                <a class="permalink" href="{Permalink}"></a>
                {block:HighRes}<a href="{PhotoURL-HighRes}" rel="lightbox" class="zoom"></a>{/block:HighRes}
                {block:IndexPage}
                {block:NoteCount}<a href="{Permalink}" class="notes">*{NoteCount}<br></a>{/block:NoteCount}
                {/block:IndexPage}
            </div>
            <div class="content">
                <div class="the_photo">
                    <div class="photo_inner photo_loading">
                    {LinkOpenTag}<img src="{PhotoURL-500}" class="faint" alt="{PhotoAlt}"/>{LinkCloseTag}
                    </div>
                </div><!-- .the_photo -->
                <!--{block:Caption}-->
                <div class="caption">
                    <p>{Caption}</p>
                    {block:Date}{block:IfDisqusShortname}<p><a href="{Permalink}#disqus_thread"></a></p>{block:IfDisqusShortname}{/block:Date}
                </div><!-- /.caption -->
                <!--{/block:Caption}-->
            </div><!-- /.content -->
        </div><!-- /.post .photo -->        
        <!-- VIDEO -->

        <!-- {block:Video} -->
        <div class="post video" id="p_{PostID}">
            <div class="icon">
                <a class="permalink" href="{Permalink}"></a>
                {block:IndexPage}
                {block:NoteCount}<a href="{Permalink}" class="notes">*{NoteCount}<br></a>{/block:NoteCount}
                {/block:IndexPage}
            </div><!-- /.icon -->
            <div class="content">
                <div class="player">{Video-500}</div>
                <!--{block:Caption}-->
                <div class="caption">
                    <p>{Caption}</p>
                    {block:Date}{block:IfDisqusShortname}<p><a href="{Permalink}#disqus_thread"></a></p>{block:IfDisqusShortname}{/block:Date}
                </div><!-- /.caption -->
                <!--{/block:Caption}-->
            </div><!-- /.content -->
        </div><!-- /.post .video -->
        <!-- {/block:Video} -->

        <!-- LINK -->

        <!-- {block:Link} -->
        <div class="post link" id="p_{PostID}">
            <div class="icon">
                <a class="permalink" href="{Permalink}"></a>
                {block:IndexPage}
                {block:NoteCount}<a href="{Permalink}" class="notes">*{NoteCount}<br></a>{/block:NoteCount}
                {/block:IndexPage}
            </div><!-- /.icon -->
            <div class="content">
                <div class="caption">
                    <h3><a href="{URL}" {Target}>{Name}</a></h3>
                    <p><span class="description">{Description}</span></p>
                    {block:Date}{block:IfDisqusShortname}<p><a href="{Permalink}#disqus_thread"></a></p>{block:IfDisqusShortname}{/block:Date}
                </div><!-- /.caption -->
            </div><!-- /.content -->
        </div><!-- /.post .link -->
        <!-- {/block:Link} -->

        <!-- REGULAR -->

        <!-- {block:Regular} -->
        <div class="post regular" id="p_{PostID}">
            <div class="icon">
                <a class="permalink" href="{Permalink}"></a>
                {block:IndexPage}
                {block:NoteCount}<a href="{Permalink}" class="notes">*{NoteCount}<br></a>{/block:NoteCount}
                {/block:IndexPage}
            </div><!-- /.icon -->
            <div class="content">
                <div class="caption">
                    <h3><a href="{Permalink}">{Title}</a></h3>
                    <p>{Body}</p>
                    {block:Date}{block:IfDisqusShortname}<p><a href="{Permalink}#disqus_thread"></a></p>{block:IfDisqusShortname}{/block:Date}
                </div><!-- /.caption -->
            </div><!-- /.content -->
        </div><!-- /.post .regular -->
        <!-- {/block:Regular} -->

        <!-- QUOTE -->

        <!-- {block:Quote} -->
        <div class="post quote" id="p_{PostID}">
            <div class="icon">
                <a class="permalink" href="{Permalink}"></a>
                {block:IndexPage}
                {block:NoteCount}<a href="{Permalink}" class="notes">*{NoteCount}<br></a>{/block:NoteCount}
                {/block:IndexPage}
            </div><!-- /.icon -->
            <div class="content">
                <div class="caption">
                    <p class="the_quote {Length}"><span class="quote_mark">"</span>{Quote}<span class="quote_mark">"</span></p>
                    <!-- {block:Source} -->
                    <p class="source">{Source}</p>
                    <!-- {/block:Source} -->
                    {block:Date}{block:IfDisqusShortname}<p><a href="{Permalink}#disqus_thread"></a></p>{block:IfDisqusShortname}{/block:Date}
                </div><!-- /.caption -->
            </div><!-- /.content -->
        </div><!-- /.post .quote -->            
        <!-- {/block:Quote} -->

        <!-- AUDIO -->

        <!-- {block:Audio} -->
        <div class="post audio" id="p_{PostID}">
            <div class="icon">
                <a class="permalink" href="{Permalink}"></a>
                {block:ExternalAudio}<a href="{ExternalAudioURL}" class="download"></a>{/block:ExternalAudio}
                {block:IndexPage}
                {block:NoteCount}<a href="{Permalink}" class="notes">*{NoteCount}<br></a>{/block:NoteCount}
                {/block:IndexPage}
            </div><!-- /.icon -->
            <div class="content">
                <div class="the_player">{AudioPlayerGrey}</div>
                <div class="caption">
                    <p>{Caption}</p>
                    {block:Date}{block:IfDisqusShortname}<p><a href="{Permalink}#disqus_thread"></a></p>{block:IfDisqusShortname}{/block:Date}
                </div><!-- /.caption -->
            </div><!-- /.content -->
        </div><!-- /.post .quote -->
        <!-- {/block:Audio} -->

        <!-- CONVERSATION -->

        <!-- {block:Conversation} -->
        <div class="post conversation" id="p_{PostID}">
            <div class="icon">
                <a class="permalink" href="{Permalink}"></a>
                {block:IndexPage}
                {block:NoteCount}<a href="{Permalink}" class="notes">*{NoteCount}<br></a>{/block:NoteCount}
                {/block:IndexPage}
            </div><!-- /.icon -->
            <div class="content">
                <div class="caption">
                    <!-- {block:Title} -->
                    <h3><a href="{Permalink}">{Title}</a></h3>
                    <!-- {/block:Title} -->
                    <p>
                        <ul>
                            <!-- {block:Lines} -->
                                <li>
                                    {block:Label}<span class="label {Alt}">{Label}</span>{/block:Label}
                                    {Line}
                                </li>
                                <!-- {/block:Lines} -->
                        </ul>
                    </p>
                    {block:Date}{block:IfDisqusShortname}<p><a href="{Permalink}#disqus_thread"></a></p>{block:IfDisqusShortname}{/block:Date}
                </div><!-- /.caption -->
            </div><!-- /.content -->
        </div><!-- /.post .conversation -->
        <!-- {/block:Conversation} --> 


        <!--{block:PermalinkPage}-->
        <!--{block:Date}-->
        <!--{block:PostNotes}-->
        <div class="entry post_notes">
            <div class="icon">
                <a class="permalink" href="{Permalink}"></a>
            </div><!-- /.icon -->
            <div class="content">
                <div class="caption">
                    <div class="the_notes">
                    {PostNotes}
                    </div>
                </div><!-- /.caption -->
            </div><!-- /.content -->
        </div><!-- /.entry .notes -->
        <!--{/block:PostNotes}-->

        <!--{block:IfDisqusShortname}-->
        <div class="entry">
            <div class="content">
                <div class="caption">
                    <div id="disqus_thread"></div>
                    <script type="text/javascript" src="http://disqus.com/forums/{text:Disqus Shortname}/embed.js"></script>
                    <noscript><a href="http://{text:Disqus Shortname}.disqus.com/?url=ref">{lang:View the discussion thread}</a></noscript>
                </div>
            </div>
        </div>
        <!--{/block:IfDisqusShortname}-->
        <!--{/block:Date}-->
        <!--{/block:PermalinkPage}-->           


        <!-- {/block:Posts} --> 

Warum sind alle Ihre {block:}Kommentare auskommentiert?
Haarboot

Antworten:


2

Fügen Sie den folgenden Code ein:

{block:HasTags}
   {block:Tags}
       <a class="tag" href="{TagURL}">{Tag}</a>
   {/block:Tags}
{/block:HasTags}

im Block für jede Art von Post . Sie werden dies also sieben Mal haben: in {block:Text}, in {block:Audio}usw.

Setzen Sie dies direkt vor dem Schließen des Blocks (also {/block:Text}zum Beispiel direkt davor ), damit die Tags am Ende des Beitrags angezeigt werden.

Tumblr bietet hierzu eine Dokumentation hier .


In dieser Frage gibt es viele gute Informationen zum Spielen mit Tumblr-Tags .
Haarboot

Diese Frage ist auch nützlich.
Haarboot
Durch die Nutzung unserer Website bestätigen Sie, dass Sie unsere Cookie-Richtlinie und Datenschutzrichtlinie gelesen und verstanden haben.
Licensed under cc by-sa 3.0 with attribution required.