• Hi

    Some years ago I added the code for tracking with facebook/meta to the head section on my clients website. We don’t use them anymore, so I’d like to remove them.

    I believe I edited a file through FTP or in a editor in the WordPress admin panels to add them, however I can’t seem to find a way to remove them again.*

    I’ve found some guides pointing to checking my theme’s functions.php and header.php files, but the code is not in them. I’ve looked around for similar files in the wordpress install folders through FTP, but can’t seem to find it.

    How do I edit the head tags to remove them, or which files should I check, where I could find it?

    ps. I didn’t use a plugin to add them, so I don’t seem to be able to remove them by installing a “meta/head tags editor” plugin.

    *1) I found one guide asking me to look for a “header/footer metatags” section in the theme editor, but there doesn’t seem to be one anymore.

    2) I found another guide asking me to look for a “editor” tab in the “Apperance” menu, but it doesn’t seem to exist anymore. (I’m guessing it has been removed in later versions of wordpress for security reasons).

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Howdy!

    One thing that comes to mind would be to look in the functions.php file for the add_action('wp_enqueue_scripts' string as that is what would be called for scripts like that. Or even the add_action('wp_head' call.

    Hopefully that steers you in the right direction

    Thread Starter ssssamstrup

    (@ssssamstrup)

    Hi Jose

    Thank you, but I can’t seem to find anything there either.

    I believe I added the tag when the site/theme-editor was avaiable (throught the theme editor). Like how it’s done in this tutorial: https://quadlayers.com/how-to-add-facebook-pixel-to-wordpress/

    However I can’t see it under Appearence in the sidebar anymore. Is there a way to get this editor back?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove head tags for facebook/meta pixel and google analytics’ is closed to new replies.