• Resolved dizort

    (@dizort)


    I have added a snippet and for the location I choose “Site Wide Body”. But the snippets isn’t appearing.
    If I change it to Site Wide Header or Footer it appears.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mircea Sandu

    (@gripgrip)

    Hi @dizort,

    It might be the case that your theme doesn’t implement the wp_open_body function.

    That’s the function used by WPCode to add code to the body. The function has been added in WP 5.2 so there are still themes that don’t implement it, unfortunately.

    Thread Starter dizort

    (@dizort)

    Thanks for the quick reply. This has fixed my problem.

    Just installed WPCode. If I’m trying to edit code for products to perform or disable a function, Do I do site wide body, Frontend Only or Headers? OR what else possibly?

    Also is the code type supposed to be PHP generally? or something else. HTML gives me code errors, per the code the developer of my plugin sent me.
    ‘thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Snippet side wide body’ is closed to new replies.