Site logo

[Resolved] Hooks not working?

Home Forums Support [Resolved] Hooks not working?

Home Forums Support Hooks not working?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #261104
    Diane

    Hi,

    I’ve lost the header on my site https://wolfmediaplus.com. It’s supposed to be showing a Beaver Builder template which contains my logo, tag line, and call to action button. Here’s what I’m using in GP Hooks:


    <?php echo do_shortcode( '[fl_builder_insert_layout slug=“wmpheader”]' ); ?>

    This code worked before and now it is not. Any ideas?

    thanks,
    Diane

    #261134
    Tom
    Lead Developer
    Lead Developer

    Not sure if the forum converted them, but make sure those quotations are straight and not curly:

    <?php echo do_shortcode( '[fl_builder_insert_layout slug="wmpheader"]' ); ?>

    Execute PHP is checked?

    Disable Hook isn’t checked?

    #261282
    Diane

    Ahhh, those darn quotations! That was it. My eyes are getting too old to see the difference! Thanks much!

    #261308
    Tom
    Lead Developer
    Lead Developer

    WordPress loves curly quotes, I have no idea why.

    Glad I could help 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.