Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #887269
    Trankuility
    Participant

    Hello,

    I want to test a new ad type. To do that I need to place the following into the footer.php. Is it possible to enter this within the X-child theme functions.php? If so, how?

    #887271
    Trankuility
    Participant
    This reply has been marked as private.
    #887656
    Christopher
    Moderator

    Hi there,

    Please add following code in child theme’s functions.php file:

    function custom_ad_code() { ?>
    
      
        // Put your code in the next line.
    
    <?php }
    
    add_action( 'wp_footer', 'custom_ad_code' );

    Hope it helps.

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