• hello there,

    do LOVE your interface theme and use it on a clients site. I created a child theme based on interface and also use the hook ‘interface_before’ to add some code after the <body> tag

    in your header.php there’s a do_action defined. but there’s a tiny misspelling which i need to correct after every theme update

    <?php
    		/**
    		 * interface_before hook
    		 */
    		do_action( 'interface_before
    			' );
    	?>

    there’s some whitespace after ‘interface_before ‘ so my action call add_action(‘interface_before’,’somefunction’) won’t get picked up!

    best would be to replace the header code with the following:

    <?php
    		/**
    		 * interface_before hook
    		 */
    		do_action( 'interface_before' );
    	?>

    thanks again for such a great theme ??

    greetings
    becki

  • The topic ‘tiny misspelling in header.php do_action 'interface_before'’ is closed to new replies.