Template Tags Inside "Sidebar"
-
Howdy,
Had to open a second topic here as I’ve run across another issue with the theme. It appears as though it isn’t possible to insert custom template tags into the sidebar. For the site I’m redesigning, there is a contact form on each individual page. In applying something like
if (is_page('about')) { echo do_shortcode( '[contact-form-7 id="72" title="About"]' );}
the sidebar remains blank and doesn’t pull in the contact form at all.
Please advise. This, like the social icons previously mentioned, is a big piece for the client. It’s a shame to now be so far down the rabbit hole and realize that I might need to shift over to a more flexible theme.
Cheers,
TM
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Template Tags Inside "Sidebar"’ is closed to new replies.