24 posts
  • Bought between 1 and 9 items
  • Has been a member for 5-6 years
  • Sold between 100 and 1 000 dollars
wetwilly92 says

I’ve been working on a Theme over the past could weeks and am getting to the point where I’m getting all those extra details all “Spffied-Up.”

Anyways, I was wondering how The Envato Network creates their meta data found on The TUTS site, Freelance Switch (etc..).

I am referring to the bar that includes a link to digg, Stumble Upon, Delicious.. (etc..). It would make a lovely addition to my theme.

Any help is greatly appreciated,

Jordan

1479 posts
  • Attended a Community Meetup
  • Australia
  • Author had a File in an Envato Bundle
  • Bought between 1000 and 4999 items
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Envato Staff
+5 more
collis Staff says

Hey wetwilly :-)

It’s not too difficult, on each post we do this:

<a href="http://digg.com/submit?phase=2&url=<?php the_permalink() ?>&title=<?php the_title(); ?>" class="mylink">Digg</a> / <a href="http://del.icio.us/post?url=<?php the_permalink() ?>&title=<?php the_title(); ?>" class="mylink">Del.icio.us</a> / <a href="http://www.stumbleupon.com/submit?url=<?php the_permalink() ?>&title=<?php the_title(); ?>" class="mylink">Stumble</a> / <a href="http://reddit.com/submit?url=<?php the_permalink() ?>&title=<?php the_title(); ?>">Reddit</a> / <a href="http://www.designfloat.com/submit.php?url=<?php the_permalink() ?>&title=<?php the_title(); ?>">Float!</a>

 

Each service offers a URL for submitting to, so it’s just a case of filling in the URL fields with the title & permalink. I htink you can actually fill out even more details – e.g. the description and category of submission, but I’ve never got around to doing that.

(Sorry about the big lump of code by the way, these forums are not so good for code snippets)

24 posts
  • Bought between 1 and 9 items
  • Has been a member for 5-6 years
  • Sold between 100 and 1 000 dollars
wetwilly92 says

Excellent!

Thank you very much, I had no idea that each service offered this…

Thank you once again,

Jordan

by
by
by
by
by
by