Navigation

    Digital Liberation Forums

    • Register
    • Login
    • Search
    1. Home
    2. Categories
    3. Plugin Support
    4. Header and Footer Scripts
    Log in to post

    Header and Footer Scripts

    • F

      Hide field for certain users
      • freshysites  

      1
      1
      Posts
      11
      Views

      No one has replied

    • B

      Google Tag Manager script needs to be below opening Body, not before closing Body
      • b123  

      1
      1
      Posts
      4
      Views

      No one has replied

    • M

      Wordpress getting logout automatically
      • manish22  

      1
      1
      Posts
      1
      Views

      No one has replied

    • N

      Does code in header scripts for a specific page run after sitewide header?
      • nevvazquez  

      2
      2
      Posts
      3
      Views

      anand

      Yes, it does.
    • S

      header script not working
      • Skazi56  

      2
      2
      Posts
      7
      Views

      anand

      If the script loading on site then it's most probably the Google Tag Manager issue. Let me know if it does not appears on site.
    • Chris Dickinson

      My script is not appearing on the site
      • Chris Dickinson  

      3
      3
      Posts
      5
      Views

      anand

      Have you cleared cache?
    • Sai Charan Reddy Pammi

      Schema is not Showing in SERP
      • Sai Charan Reddy Pammi  

      3
      3
      Posts
      6
      Views

      anand

      The last change was made on April 26th in WordPress SVN repository.
    • R

      Header script not embedding just before closing </head> tag
      • rthaemert  

      2
      2
      Posts
      6
      Views

      anand

      The plugin uses wp_head hook to insert codes. Others plugin and themes also usage the hook. The first script loaded is probably have high priority. If it is not required by any specific script you may simply ignore it. Let me know if you need clarification.
    • Jennifer Pape

      Error message: Illegal string offset 'synth_header_script'
      • Jennifer Pape  

      2
      2
      Posts
      5
      Views

      anand

      Hello Jenny, Have you recently updated the plugin and since then the issue arises? What's the version of the plugin?
    • K

      Header Script not working / being ignored
      • kmahesh  

      2
      2
      Posts
      4
      Views

      K

      Issue resolved. There was a problem with a link to the .js. Once I used https URL, it started working.
    • ricardo lopes

      Header and footer scripts Plugin not working in single pages
      • ricardo lopes  

      1
      1
      Posts
      8
      Views

      No one has replied

    • Brian von Konsky

      Script for Google Chart not loading in head of local page.
      • Brian von Konsky  

      3
      3
      Posts
      9
      Views

      anand

      Thanks for reporting, Brian. Good day.
    • Jeroen Claessens

      footer script disable on a single page
      • Jeroen Claessens  

      4
      4
      Posts
      7
      Views

      anand

      It could be something like this: function anand657_hook_javascript() { if (!is_page ('920')) { ?> <script type="text/javascript"> // your javscript code goes here </script> <?php } } add_action('wp_footer', 'anand657_hook_javascript'); PS: DON'T RUN THE ABOVE CODE ON LIVE SITE UNLESS YOU HAVE A BACKUP. it might break your site if any thing goes wrong. It's good to have backup handy.
    • R

      script not inserted just before </body>
      • Robert  

      3
      3
      Posts
      8
      Views

      R

      Update: I turned off the plugin and added the script directly to the footer.php file
    • B

      Landing Page Header Script to redirect to Branded WP Page
      • BRIANLEENASH  

      4
      4
      Posts
      6
      Views

      anand

      @MD-BI-Lal-Hossain Download the software from here: https://wordpress.org/plugins/header-and-footer-scripts/
    • A

      Screen Options not visible
      • ABK  

      5
      5
      Posts
      9
      Views

      anand

      If it's not there then your WordPress has some issue.
    • Татьяна Петровна

      Не могу установить пиксель Фейсбук. https://kypluvnet.com/Установила Header and Footer Scripts . Пиксель не работает. Как это исправить? Заранее, спасибо!
      • Татьяна Петровна  

      2
      2
      Posts
      4
      Views

      anand

      Hello could you please discuss in English? If yes please do so.. "Где вы добавили код facebook? Вы также можете использовать встроенную интеграцию WooCommerce." Google Translate
    • Doug Pitchers

      Script in header ignored
      • Doug Pitchers  

      5
      5
      Posts
      19
      Views

      anand

      Hello, I have just visited your site http://www.dpwebdevelopment.co.uk which you mentioned on WP.org. The site do not enqueue jQuery: The following links might be helpful for you. https://stackoverflow.com/questions/11159860/how-do-i-add-a-simple-jquery-script-to-wordpress https://premium.wpmudev.org/blog/adding-jquery-scripts-wordpress/ I don't know why you have added jQuery 3 times. Read the above links for details. HTH
    • Shankar Gairy

      Can not edit my JS in the header/footer.
      • Shankar Gairy  

      2
      2
      Posts
      8
      Views

      anand

      Hello, Have you recently updated the plugin or WordPress or switched your host? Is it an issue for individual post/page or global (site wide) scripts?
    • J

      Cannot Add Two Scripts
      header javascript scripts wordpress • • jhquisenberry  

      4
      4
      Posts
      11
      Views

      anand

      This topic is being discussed here https://wordpress.org/support/topic/cannot-add-two-scripts/