• Resolved aenn

    (@aenn)


    Hi,

    I’d like to paste the openig hours status widget in my theme header. Unfortunately I have just very basic php-skills. Any ideas how to do it? Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You should find a theme or plugin that allows you to insert shortcodes in the header.

    Plugin Author janizde

    (@janizde)

    You can use the do_shortcode function in yout theme’s header.php (or whatever file it is).
    Something lile

    
    <?php echo do_shortcode('[op-is-open set_id="4"]'); ?>
    
    • This reply was modified 8 years, 4 months ago by janizde.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Opening hours status in header’ is closed to new replies.