• 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)
  • Please don’t abandon the Theme!

    Why not set the shortcode in a sidebar widget?

    Thread Starter adsoink

    (@adsoink)

    The sidebar widget worked, so thanks for the suggestion. Given how the site I’m redesigning is actually administrated, folks have access to the widgets so I’ll need to lock down the admin side a bit more unless there is a solution for why the theme blocks the code shown in my example above. Great quick fix, but I’d definitely like to see a little more flexibility.

    I’d recommend Adminimize to lock it down.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Template Tags Inside "Sidebar"’ is closed to new replies.