| Like Button for Tumblr | 
For a list of all requirements and guidelines pertaining to posting a new Help topic, please click here.
This Month's Contests | Staff Member of the Month | Hosts Looking for Hostees | Hostees looking for Hosts | BigBookofResources
Submission Guidelines
|   | 
| Like Button for Tumblr | 
|  Aug 24 2011, 08:17 PM 
				 Post
					#1
					
				
			 | |
|  Senior Member    Group: Human Posts: 72 Joined: Jul 2011 Member No: 809,041  | 
				Saw a good example of this at http://cicerontheme.tumblr.com/. You can like a post from the homepage without having to go to the permalink page. Here's what I've found from her source. CODE $(document).ready(function(){ $('a.like_link').click(function() { var post = $(this).closest('.post'); var id = post.attr('id'); var oath = post.attr('rel').slice(-8); var like = 'http://www.tumblr.com/like/'+oath+'?id='+id; $('#likeit').attr('src', like); $(this).addClass('liked'); return false; }) }); CODE <a href="{Permalink}" class="like-link">Like</a> I tried to recreate this button here: http://mockuptheme.tumblr.com I click 'like' but it doesn't show up in my likes page. What am I doing wrong? | 
|  | |
|  Aug 24 2011, 08:29 PM 
				 Post
					#2
					
				
			 | |
|  Senior Member    Group: Human Posts: 72 Joined: Jul 2011 Member No: 809,041  | 
				I'm gonna go get some Chipotle and I expect this to be answered by the time I get back.
				
				
				
			 | 
|  | |
|  Aug 24 2011, 09:22 PM 
				 Post
					#3
					
				
			 | |
|  Sex, Blood, & RocknRoll        Group: People Staff Posts: 5,305 Joined: Nov 2007 Member No: 596,480  | 
				Hopefully it takes you 3 weeks to get Chipotle.
				
				
				
			 | 
|  | |
|  Aug 24 2011, 09:33 PM 
				 Post
					#4
					
				
			 | |
|  Senior Member    Group: Human Posts: 72 Joined: Jul 2011 Member No: 809,041  | 
				So I got chips and usually order two sides of guacamole cause the chips are too many, but what the f*ck is this - fewer chips and too much guacamole!
				
				
				
			 | 
|  | |
|  Aug 27 2011, 06:19 PM 
				 Post
					#5
					
				
			 | |
|  Senior Member         Group: Head Staff Posts: 18,173 Joined: Mar 2005 Member No: 108,478  | |
|  | |
|  Aug 30 2011, 09:31 AM 
				 Post
					#6
					
				
			 | |
|  Senior Member    Group: Human Posts: 72 Joined: Jul 2011 Member No: 809,041  | 
				yeah thats where i found it actually, but it didnt explain much past the js part.
				
				
				
			 | 
|  | |
|  Sep 7 2011, 02:23 PM 
				 Post
					#7
					
				
			 | |
|  Senior Member    Group: Human Posts: 72 Joined: Jul 2011 Member No: 809,041  | 
				ay, ay! ??????
				
				
				
			 | 
|  | |
|  Sep 14 2011, 01:15 PM 
				 Post
					#8
					
				
			 | |
|  Senior Member    Group: Human Posts: 72 Joined: Jul 2011 Member No: 809,041  | 
				21 DAYS, C'MON
				
				
				
			 | 
|  | |
|  Nov 10 2011, 01:08 PM 
				 Post
					#9
					
				
			 | |
|  Senior Member    Group: Human Posts: 72 Joined: Jul 2011 Member No: 809,041  | 
				2 months.
				
				
				
			 | 
|  | |
|  Nov 11 2011, 02:33 AM 
				 Post
					#10
					
				
			 | |
|  Senior Member         Group: Head Staff Posts: 18,173 Joined: Mar 2005 Member No: 108,478  | |
|  | |
|   |