Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Any recommendable url shortener for wordpress?

I try to accomplish the following. I don't like share buttons in general (too much overhead) but the project i am working on requires them. :(

i try to proceed as follows at the example of twitter. I try to link the following line to a plain twitter icon font icon

<a href=”http://twitter.com/home?status=http://YOURURL” title=”Tell Twitter about this>Twitter</a>

and at the position YOURURL a wp function retrieving the current page. but twitter for example has a character limit and a link would explode the 140 general limit anyway there for i am looking for a on the fly url shortener. all plugins i've found are old and not tested on 3.8.1. is there any recommendable plugin i've overseen so far? best regards Ralf

1 Answer

Twitter automatically shortens all urls when you tweet. No matter how long the YOURURL piece is, Twitter would shorten it in the status box (even though you won't see the shortened URL - you'll see the full). For example: http://d.pr/i/U3Ie I have a super long URL but still have 118 characters left to type out a tweet. They are shortening the URL behind the scenes.

Oh sweet must have overseen that. That minimizes my worries and the need for social buttons/plugins, shorteners and alike to literally zero! thanks a lot!