Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
tagdivuser
tagDiv Member

Hello,

I already added the code but the theme still showing the banner in single page. Any idea to fix this little issue?

The URL is: /wp-content/themes/Newsmag/parts/header/header-style-2.php

<div class=”td-header-container td-header-wrap td-header-style-2″>
<div class=”td-header-row td-header-top-menu”>
<?php locate_template(‘parts/header/top-menu.php’, true); ?>
<?php locate_template(‘parts/header/top-widget.php’, true); ?>
</div>

<div class=”td-header-row td-header-header”>
<div class=”td-header-sp-logo”>
<?php locate_template(‘parts/header/logo.php’, true);?>
</div>
<div class=”td-header-sp-ads”>
<?php if (! is_single()){
locate_template(‘parts/header/ads.php’, true);
}?>
</div>
</div>

<div class=”td-header-menu-wrap”>
<div class=”td-header-row td-header-border td-header-main-menu”>
<?php locate_template(‘parts/header/header-menu.php’, true);?>
</div>
</div>
</div>

tagdivuser
tagDiv Member

Hello again,

I’m using Header Style #2, the file is header-style-2.php and i made te modifications but doesn’t work fo rme, please check the entire code:

<div class=”td-header-container td-header-wrap td-header-style-2″>
<div class=”td-header-row td-header-top-menu”>
<?php locate_template(‘parts/header/top-menu.php’, true); ?>
<?php locate_template(‘parts/header/top-widget.php’, true); ?>
</div>

<div class=”td-header-row td-header-header”>
<div class=”td-header-sp-logo”>
<?php locate_template(‘parts/header/logo.php’, true);?>
</div>
<div class=”td-header-sp-ads”>
<?php if (! is_single()){
locate_template(‘parts/header/ads.php’, true);
}?>

</div>
</div>

<div class=”td-header-menu-wrap”>
<div class=”td-header-row td-header-border td-header-main-menu”>
<?php locate_template(‘parts/header/header-menu.php’, true);?>
</div>
</div>
</div>

I need to disable the header ad in the post pages, i hope you can help me,

Thanks

tagdivuser
tagDiv Member

Hi,
Thanks for your answer,

I use the default theme http://prntscr.com/6i4uvj, like this example:

Homepage:
http://prntscr.com/6i4ugv

Single Post:
http://prntscr.com/6i4uq0

Which file do i have to modify?

Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)