In tumblr, show only posts with a certain tag in the home page

后端 未结 8 499
忘掉有多难
忘掉有多难 2021-01-03 03:56

In tumblr, is it possible to show only posts with a certain tag in the home page?
If so, how is it done?

8条回答
  •  隐瞒了意图╮
    2021-01-03 04:19

    Actually, it is possible, but it might not work how you want.

    1st. Identify the id of your individual posts (usually something like #post or #entry, lets call yours #entry)

    2nd. Replace your opening post div with this: 2nd. Add this bit of css

    {block:IndexPage}
    #entry (or whatever name it is) {display:none}
    .featured {display:inline !important}
    {/block:IndexPAge}
    

    3rd. Tag all the posts you want to show on your homepage without quotes as "featured"

    This should work, but it will most likely hide all the non "featured" posts on your search page and tag page as well, which you may not want.

    If you want your users to be directed to a specific 'splashpage' when they visit your blog, you could always use a jquery redirect script. Hope some of this helped!

提交回复
热议问题