145 posts
  • Bought between 1 and 9 items
  • Has been a member for 5-6 years
  • Referred between 50 and 99 users
  • Sold between 1 000 and 5 000 dollars
  • United Kingdom
JJenZz says

This time it’s a widget question…

I am overwriting the markup generated by a few default widgets (such as search and recent posts) so I have unregistered them and then reregistered them with my new markup in functions.php. However, this now means the widgets no longer have a “widget-description” within the widgets list of WordPress.

So my question is… Is there a way I can add widget descriptions to my custom widgets without putting them into separate php files that need to be stored in the ‘plugins’ directory and enabled in wp? I’d like to be able to keep it all in functions.php if possible!

145 posts
  • Bought between 1 and 9 items
  • Has been a member for 5-6 years
  • Referred between 50 and 99 users
  • Sold between 1 000 and 5 000 dollars
  • United Kingdom
JJenZz says

From the response (or lack there of) I’m assuming this probably isn’t possible… Sad face lol

Never mind… I will have to do without the description I guess!

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

Hi Jenna! I’ve a solution. Look at this free theme: http://code.google.com/p/sandbox-theme/downloads/list It does exactly what you need. The widget description is specified when calling wp_register_sidebar_widget. Hope this help.

145 posts
  • Bought between 1 and 9 items
  • Has been a member for 5-6 years
  • Referred between 50 and 99 users
  • Sold between 1 000 and 5 000 dollars
  • United Kingdom
JJenZz says

That’s perfect! Thank you ever so much :)

by
by
by
by
by
by