• Hi, Look at the screen shot. First widget is created by me (Okey, I admit that I copied it from internet :P). Second one is someone’s else. See his widget is displaying the title of the widget along with its name. But mine doesn’t. What I am missing ? What is the exact action/hook responsible for this ? I compared my code with the other one. Can’t find anything missing. I will post my source if needed. But I think this is some kind of action/hook. Please help.

    Screen shot : https://i.imgur.com/VJ6dZzG.png

Viewing 3 replies - 1 through 3 (of 3 total)
  • Is that the widget or the sidebar collapsed?

    You can post your code on pastebin.com and share the link here.

    Thread Starter jitheshkt

    (@jitheshkt)

    Hi @mindctrl. Here is the pastebin of my code. Yes it is widget not sidebar collapsed.
    https://pastebin.com/8eNpQZjM

    So you have a title typed in and saved in the widget? Can’t tell because the widget is collapsed in the screenshot. Does it show on the front end but not back end? If so, only thing I can see at a quick look is maybe try adding an ID too.

    id="<?php echo $this->get_field_id( 'title' );"

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Displaying Widget title in it's settings screen’ is closed to new replies.