145 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 50+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+3 more
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
  • Has been part of the Envato Community for over 5 years
  • Has referred 50+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+3 more
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
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has collected 1+ items on Envato Market
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
  • Has been part of the Envato Community for over 5 years
  • Has referred 50+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+3 more
JJenZz says

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

by
by
by
by
by
by