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!
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!
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.
- Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
- Open a support ticket if you would like specific help with your account, deposits or purchases.
- Item Support by authors is optional and may vary. Please see the Support tab on each item page.
Most of all, enjoy your time here. Thank you for being a valued Envato community member.