WordPress.org

Ready to get started?Download WordPress

Ideas

View title of text widgets from dashboard but not live site

  1. Courtney Engle Robertson
    Member

    12345

    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.

    Posted: 4 years ago #
  2. Jen Mylo
    Key Master

    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.

    Posted: 4 years ago #
  3. 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.

    Posted: 4 years ago #
  4. Jen Mylo
    Key Master

    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.

    Posted: 4 years ago #
  5. http://twitpic.com/15o22g as example :-)

    Hm... now to find someone that wants to make it a plugin.

    Posted: 4 years ago #
  6. ancawonka
    Member

    12345

    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.

    Posted: 4 years ago #
  7. Mark / t31os
    Moderator

    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.

    http://codex.wordpress.org/Template_Tags/the_widget

    Posted: 4 years ago #
  8. Pete
    Member

    Why not just use a bit of css?

    .xyz {display:none; }

    Posted: 4 years ago #
  9. Solution thanks to @wpmodder: http://wordpress.org/extend/plugins/hide-widget-title/

    Posted: 3 years ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    4 Votes
  • Status

    This is plugin territory