Using shortcode in header.php
-
I want to be able to use the [notphone] shortcode in the header.php to change the logo used depending upon if it’s a phone or desktop/tablet.
How can I do this? I’m trying to put it “around” this:
<h1 id=”logo”><?php echo $langcode; ?>”><?php bloginfo(‘name’); ?></h1>
Many thanks.
https://www.ads-software.com/extend/plugins/wp-mobile-detect/
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Using shortcode in header.php’ is closed to new replies.