Title: Using clock with widget or shortcode
Last modified: April 24, 2019

---

# Using clock with widget or shortcode

 *  Resolved [adamstone2](https://wordpress.org/support/users/adamstone2/)
 * (@adamstone2)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/using-clock-with-widget-or-shortcode/)
 * Hi, is it possible for me to hard-code the clock into my sidebar without using
   the widget or short code? I have an area on my site which doesnt support widgets.
   I’m ok with editing php.

Viewing 1 replies (of 1 total)

 *  Plugin Author [thebigdotco](https://wordpress.org/support/users/thebigdotco/)
 * (@thebigdotco)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/using-clock-with-widget-or-shortcode/#post-11465276)
 * Yes! Just put the following into your PHP:
 * `<?php echo do_shortcode("[doomsday text=true design=classic colour=#e1e1e1]");?
   >`
 * You can change the above parameters to customise the clock. See the FAQ for details
   on that.

Viewing 1 replies (of 1 total)

The topic ‘Using clock with widget or shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/doomsday-clock_e66a20.svg)
 * [Doomsday Clock](https://wordpress.org/plugins/doomsday-clock/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/doomsday-clock/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/doomsday-clock/)
 * [Active Topics](https://wordpress.org/support/plugin/doomsday-clock/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/doomsday-clock/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/doomsday-clock/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [thebigdotco](https://wordpress.org/support/users/thebigdotco/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/using-clock-with-widget-or-shortcode/#post-11465276)
 * Status: resolved