超链接:Like,Reblog和Follow [英] Hyperlink: Like, Reblog, and follow

查看:100
本文介绍了超链接:Like,Reblog和Follow的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在tumblr上超链接like,reblog和follow功能?我只想写这样的代码

 < a href ={reblogURL}> reblog< / a> 

它可以在任何地方工作。但事实并非如此。为什么?

解决方案

正如其他人所建议的那样;对于'Reblog'链接,你可以这样做:

 < a href ={ReblogURL}title =Reblog> Reblog< / a> 

然后对于'Follow'链接,您可以这样做:

 < a href =http://www.tumblr.com/follow/{name}title =关注{name}>关注< / a> 

*如果您在主要博客主题中使用此功能,要检查它是如何工作的,你必须注销,因为你不能跟踪你的主博客。

取消关注只需一次点击,就像通常的链接,它会带你到关注页面,在那里你可以关注或取消关注用户。



尽管我有很多知识,对于喜欢tumblr只提供了类似的按钮,没有像你可以喜欢的文本链接/不像点击。



因此,如果您只想使用文本,您可以将链接永久链接页面,人们可以喜欢它。默认情况下,Tumblr在永久链接页面中有赞和重新登录按钮。



您可以这样做:

 < a href ={Permalink}title =赞>像< / a> 
您应该在{block:Posts}和{/ block:Posts}中使用上面的内容。

这可能是一个解决方案,但它不再有效。只要写下链接,'因为也许你可以从这个想法做些事情: here(link)



我认为这就是我现在可以提供的所有帮助。


Is there a way to just Hyperlink the like, reblog, and follow functions on tumblr? I just want to write my code like this

<a href="{reblogURL}">reblog</a>

and it work wherever. But it doesn't. WHY?

解决方案

As others have suggested; for 'Reblog' link you can do:

<a href="{ReblogURL}" title="Reblog"> Reblog </a>

Then for 'Follow' link you can do:

<a href="http://www.tumblr.com/follow/{name}" title="Follow {name}"> Follow </a>

*If you'll use this in your primary blog theme; to check how it works you have to log out, 'cause you can't follow your primary blog from your same primary blog.

*This way you can not follow/unfollow in one click, like a usual link it'll take you to the follow page and there you can follow or unfollow the user.

As much knowledge i have, for liking tumblr provides only like button, nothing like a text link that you can like/unlike by clicking.

So as you want to use text only, you can direct the link to permalink page where people can like it. By default Tumblr has 'Like' and 'Reblog' button in permalink page.

You can do it something like:

<a href="{Permalink}" title="Like"> Like </a>     
You should use the above inside {block:Posts} and {/block:Posts}. 

This could be a solution, but it no longer works. Just writing the link, 'cause maybe you can do something from this idea : here (link).

I think that's all i can help for now.

这篇关于超链接:Like,Reblog和Follow的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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