Sign up ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a series of share buttons, each one using a short URL (using Ozh's Yourls plugin) and a page title (as found on urlencoding of the_title() doesn't work?) and some require a description. How do I put the blog description, encoded correctly, into my URL?

share|improve this question
Perhaps you could show us a screenshot, or some code? –  Zach Lysobey Oct 15 '11 at 18:03

1 Answer 1

up vote 1 down vote accepted
echo urlencode(get_bloginfo('description'));
share|improve this answer
That answered my question perfectly, thank you :) –  Nathan Bunn Oct 16 '11 at 19:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.