• Resolved Denijel

    (@denijel)


    Hi guys, I cannot use the shortcode in a text-widget, it just appears as regular text. I’ve been trying to research the topic, but couldn’t solve it…

    The theme I’m using: Coffee & Cream

    Shortcode I’m using: [tminus t=”20-12-2014 03:12:45″/]

    I’ve added add_filter(‘widget_text’, ‘do_shortcode’); in the theme function.php.

    any suggestions?

    Thanks

    https://ww.wp.xz.cn/plugins/jquery-t-countdown-widget/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Baden

    (@baden03)

    can you share a link? It sounds like the script files are not loading.
    also check your header.php file and make sure the wp_header() function is present.

    Thread Starter Denijel

    (@denijel)

    Could only find a wp_head() in the header.php file.

    The page is not published yet so cannot link it.

    Plugin Author Baden

    (@baden03)

    sorry, yes, wp_head() is correct.

    1. try this format and see if it helps:
    • [tminus t="2014-12-20 03:12:45"/]
    • make sure you enter the shortcode while in the Text mode of your editor (not the Visual mode)
    • view the HTML source of your page once it renders and verify that:
    • jQuery is loading
    • the countdown .js script is loading
    • the countdown css is loading
    Thread Starter Denijel

    (@denijel)

    Got it to work, thanks!

    Figured out i used a text widget that was not HTML compatible…
    Annoyingly easy…

    Thank for the help though!

    Plugin Author Baden

    (@baden03)

    Good joy, Big D! Glad you got it sussed on. If you are happy and you know it, please consider leaving a short review of the plugin or it’s support. Issue marked as resolved.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Shortcode in sidebar widget’ is closed to new replies.