editing header.php
-
i am trying to add some button to my header.php (or any php file) and have no effect.
it worked before in my other site.part of the code :
————————————————————————————-
<?php do_action( ‘__before_header’ ); ?><header class=”<?php echo implode( ” “, apply_filters(‘tc_header_classes’, array(‘tc-header’ ,’clearfix’, ‘row-fluid’) ) ) ?>” role=”banner”>
<?php
// The ‘__header’ hook is used with the following callback functions (ordered by priorities) :
//CZR_header_main::$instance->tc_logo_title_display(), CZR_header_main::$instance->czr_fn_tagline_display(), CZR_header_main::$instance->czr_fn_navbar_display()
do_action( ‘__header’ );
?><div>test div</div>
<p>
<div id=”pbtn”><button id=”btnsrc” class=”buttonmenu” >sss</button>
<button id=”btn1″ class=”buttonmenu” onclick=”location.href=’#’;” >sss</button>
<button id=”btn2″ class=”buttonmenu” onclick=”location.href=’#’;”>sss</button>
<button id=”btn3″ class=”buttonmenu” onclick=”location.href=’#’;”>sss</button></div>
</p></header>
<?php
//This hook is used for the slider : CZR_slider::$instance->czr_fn_slider_display()
do_action ( ‘__after_header’ )
?>——————————————————————–
i tried also in index.php and the same, no effect.
i don’t have catch plugins the installation is clean.
if i add a code before the <?php tag at the beginning of the page index or header.php i can see it in my site (only the code written above the <?php tag).part of code:
————————————————————
<div>test div</div>
<?php
if ( apply_filters( ‘czr_ms’, false ) ) {
//in core init => add_action( ‘czr_ms_tmpl’, array( $this , ‘czr_fn_load_modern_template_with_no_model’ ), 10 , 1 );
…
—————————————————————————
please help i be glad to hear some ideas. thanks.The page I need help with: [log in to see the link]
The topic ‘editing header.php’ is closed to new replies.
