如何删除“来源:"从这个Tumblr主题开始? [英] How to remove the "Source:" from this Tumblr theme?

查看:283
本文介绍了如何删除“来源:"从这个Tumblr主题开始?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试编辑下面的Tumblr主题,以删除出现在我重新博客的每个帖子底部的来源:"部分.

I am trying to edit the Tumblr theme below so as to remove the "Source:" portion that appears at the bottom of every post I reblog.

我不介意在应归功的地方给予功劳,但是该信息已经在Tumblr应用程序和每个帖子的永久链接中可见了……我只希望它不会使主页混乱.

I don't mind giving credit where credit is due, but this information is already visible in the Tumblr app and on the permalinks of each post... I just want it to not clutter the homepage.

这是有关reblog当前外观的示例.

Here's an example of how a reblog currently looks.

这是我当前正在使用的主题的代码.

And here's the code of the theme I'm currently using.

我尝试编辑代码以使源"行消失,但无济于事.谁能告诉我我想念的东西吗?

I've tried editing the code to make the "Source" line disappear, but to no avail. Can anyone tell me what I'm missing?

推荐答案

似乎是从javascript include中添加的.在您的示例博客的源代码中或在包含该代码的模板中,我没有看到任何内容.尝试在此处找到的解决方案:

It looks like this is being added from a javascript include, perhaps. I don't see anything in the source code on your Example blog or in the template that would include that. Try the solution found here:

某些主题不包含源链接代码,这会使通过/源"链接自动出现在帖子(例如引号或文本)下.要删除这些内容,请在{block:posts}和{/block:posts}

Some themes do not include the source link codes which makes "via/source" links automatically appear under posts (such as quotes or text). To remove those, insert the following between {block:posts} and {/block:posts}

{block:ContentSource}
<!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />  
{/block:SourceLogo}
{block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
{/block:ContentSource}

您正在做的是隐藏代码,以便仅在代码中显示代码(除非您搜索HTML,否则不会显示),因为要在代码周围添加代码,以使其成为注释".它仍处于读取状态,但已隐藏并且仅在源代码中可见.

What you’re doing is hiding the codes so that it ONLY appears in the CODES (are not displayed unless you search up HTML) since you’re adding around the codes which makes it a "comment". It’s still read, but it’s hidden and only visible in the source code.

这篇关于如何删除“来源:"从这个Tumblr主题开始?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆