• Resolved JanuschM

    (@januschm)


    It would be great if support for widget titles comes. Currently I have to take a text widget to use the shortcode, because then I can set a tItel. In the shortcoder widget setting the title is not possible. The field for this is not there as it is with other widgets.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter JanuschM

    (@januschm)

    Mean Widgets in the Sidebar

    Plugin Author vaakash

    (@vaakash)

    Hi @januschm,

    WordPress does not execute shortcodes in widget title.

    Even normal shortcodes don’t work.

    But you can paste below line in your theme’s function.php file to execute shortcode in widget title.

    add_filter( 'widget_title', 'do_shortcode' );

    Thanks,
    Aakash

    Thread Starter JanuschM

    (@januschm)

    Hey @vaakash

    i will send you screenshots through Mail to show you what I mean. You have an mail address?

    Best

    Janusch

    Plugin Author vaakash

    (@vaakash)

    You can contact me via aakash [dot] 19493 [at] gmail [dot] com

    Thread Starter JanuschM

    (@januschm)

    I will send you an email right away – thank you

    Plugin Author vaakash

    (@vaakash)

    Hi @januschm,

    I looked at your email with screenshots.

    You have inserted the shortcoder “block” in the sidebar. Not a widget.
    Blocks won’t have a title.

    You must use the “widget group” block and add “shortcoder” block inside that.

    Otherwise you can use the old widgets interface and drag and drop text widget and paste the shortcode as content.

    Thanks,
    Aakash

    Thread Starter JanuschM

    (@januschm)

    You are absolutely right, the fault was on our side – now I have titles too. Thank you very much.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Widget Titel’ is closed to new replies.