Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1310092
    Bark201
    Participant

    I want to add a script to the header. I found the wp-header.php in views and copied it to the child theme but the script is not loading. The script works so I may be doing something wrong. Please let me know what is the exact process of creating a header php file in the the child theme.

    My theme stack is icon. Please also recommend the file permissions.

    Do not mention my website or take screenshots of my website in public, only private.

    #1310108
    Bark201
    Participant
    This reply has been marked as private.
    #1310226
    Bark201
    Participant

    bumbp because I see questions that were asked after me got answered.

    #1310253
    Friech
    Moderator

    Hi There,

    Thanks for writing in! You added it on the wrong file. Paste it on the _meta.php file instead.

    \framework\views\global\_meta.php

    Cheers!

    #1311007
    Bark201
    Participant

    I actually did the same thing but with wp-header and it worked. I did it because I saw it was taking time and I wanted to get it to work asap so I did some search in google. Is it ok what I did?

    #1311349
    Rue Nel
    Moderator
    This reply has been marked as private.
    #1311375
    Bark201
    Participant
    This reply has been marked as private.
    #1311466
    Thai
    Moderator

    Sorry about that.

    I’ve already set that reply private.

    Regards!

  • <script> jQuery(function($){ $("#no-reply-1310092 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>