When embedding html code as a text widget, I often don't need the text displaying on the live site. However, having several text widgets stacked can be confusing on the dashboard. I want to see a title from the dashboard view only.
When embedding html code as a text widget, I often don't need the text displaying on the live site. However, having several text widgets stacked can be confusing on the dashboard. I want to see a title from the dashboard view only.
Sorry, but I'm really confused about what you are suggesting. In the admin tool, you can give each text widget a title, and even when they are all collapsed in the widgets admin screen, you can tell which is which. Is what you're saying that you don't want the title to appear on the live site (your comment just says you don't need the text of your html code to appear on the live site, which is the confusing part, since there's no html in the title). If that's the case, then you need a hack that gives you a checkbox that says "display title" or something. I think this is probably good plugin territory for now. If it proved to be very popular, we could consider bringing the functionality into core.
If I am grabbing html code from some 3rd party ... say a Formspring.me widget, to embed into a text box... I'd like to see the title from the admin dashboard. However, I don't want a title over it on the publicly viewed site. The hack may work, but would prefer to just make it core.
I wouldn't support making this core until a plugin has been given a chance to show that there's an overwhelming need for this, as it sounds like a very specific use case rather than a universal need. If a plugin that does this turns out to be really popular, then we can consider it for core.
http://twitpic.com/15o22g as example :-)
Hm... now to find someone that wants to make it a plugin.
I would find this useful - I often use text widgets to embed images and such. I actually wrote my own version of a text widget to support this functionality.
Sometimes I have text widgets that have the same name, but do different things based on which sidebar they are on.
Perhaps we can recast this as the ability to add "admin labels" on widgets so you can add notes that get displayed for admins, but not others, to help in identifying widgets.
You could already do this using individual dynamic sidebars that are registered with a particular element wrapped around the title for each widget instance.
http://codex.wordpress.org/Function_Reference/register_sidebar
Set the before and after paramters to wrap the title in an element with a css class that hides that element.. (ie. display:none).
Or call a widget instance in your theme file directly, again just using the before and after parameters to enclose the title in an element that is hidden.
Why not just use a bit of css?
.xyz {display:none; }
Solution thanks to @wpmodder: http://wordpress.org/extend/plugins/hide-widget-title/
You must log in to post.