- NewspaperHeader Builder
- NewsmagHeader styles
- NewsmagHeader ads
- NewspaperHeader ads
- NewspaperHeader styles
- Apitd_api_header_style::delete
- Apitd_api_header_style::update_key
- Apitd_api_header_style::update
- Apitd_api_header_style::add
- ApiAPI – Header style – Introduction
- NewspaperSearch setup for custom post type
- NewspapertagDiv Composer – Website Manager
- NewspaperBookmark – Save For Later
- NewspaperWooCommerce: Happy “Add to Favorites!”
- NewspaperModal Popup
- NewspaperFlex Block Settings Guide
- NewspaperPosts Loop Element
- NewspaperHow to Add a Logo in Newspaper
- NewspaperDefault Category Settings
- NewspaperWhen tagDiv Composer is Not Working
Hi
I would like to hide the Header area from the Home page, but keep the top menu – is this possible?
Thanks
Perhaps yes. I am using following optimisation code created by Chris in functions.php
/** CUSTOM OPTIM CODE : by Christopher Simmons - REV 8.17.16 */
// Remove jQuery Migrate Script from header and Load jQuery from Google API
function simmonsbunny_remove_jquery_migrate_load_google_hosted_jquery() {
if (!is_admin()) {
wp_deregister_script('jquery');
wp_register_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js', false, null);
wp_enqueue_script('jquery');
}
}
add_action('init', 'simmonsbunny_remove_jquery_migrate_load_google_hosted_jquery');
/** functions for headcleaner */
function rm_generator_filter() { return ''; }
add_filter('the_generator', 'rm_generator_filter');
remove_action('wp_head','wlwmanifest_link');
remove_action('wp_head','rsd_link');
remove_action('wp_head','feed_links', 2);
remove_action('wp_head','feed_links_extra', 3);
remove_action('wp_head','start_post_rel_link', 10, 0);
remove_action('wp_head','adjacent_posts_rel_link_wp_head', 10, 0);
remove_action('wp_head','print_emoji_detection_script',7);
remove_action('wp_print_styles','print_emoji_styles');
function remove_cssjs_ver( $src ) {
if( strpos( $src, '?ver=' ) )
$src = remove_query_arg( 'ver', $src );
return $src;
}
add_filter( 'style_loader_src', 'remove_cssjs_ver', 10, 2 );
add_filter( 'script_loader_src', 'remove_cssjs_ver', 10, 2 );
function remove_pingback_url( $output, $show ) {
if ( $show == 'pingback_url' ) $output = '';
return $output;
}
add_filter( 'bloginfo_url', 'remove_pingback_url', 10, 2 );
/** functions for security */
function no_errors_please(){
return 'You appear to be up to no good. Your IP logged and will be blocked.';
}
add_filter( 'login_errors', 'no_errors_please' );
function disable_reset_lost_password()
{
return false;
}
add_filter( 'allow_password_reset', 'disable_reset_lost_password');
function remove_lost_your_password($text)
{
return str_replace( array('Lost your password?', 'Lost your password'), '', trim($text, '?') );
}
add_filter( 'gettext', 'remove_lost_your_password' );
add_filter( 'send_email_change_email', '__return_false' );
/** functions for admin bar */
function mytheme_admin_bar_render() {
global $wp_admin_bar;
$wp_admin_bar->remove_menu('wpseo-menu');
}
add_action( 'wp_before_admin_bar_render', 'mytheme_admin_bar_render' );
add_filter( 'wpseo_use_page_analysis', '__return_false' );
function my_custom_css() {
echo '<style>
.misc-pub-section.yoast-seo-score.content-score { display: none; }
.misc-pub-section.yoast-seo-score.keyword-score { display: none; }
</style>';
}
add_action( 'admin_head', 'my_custom_css' );
function dequeue_yoast_css() {
wp_dequeue_style('yoast-seo-adminbar');
wp_deregister_style('yoast-seo-adminbar');
}
add_action('wp_enqueue_scripts','dequeue_yoast_css');
/*remove embeds */
function disable_embeds_init() {
remove_action('rest_api_init', 'wp_oembed_register_route');
remove_filter('oembed_dataparse', 'wp_filter_oembed_result', 10);
remove_action('wp_head', 'wp_oembed_add_discovery_links');
remove_action('wp_head', 'wp_oembed_add_host_js');
}
add_action('init', 'disable_embeds_init', 9999);
function project_dequeue_unnecessary_scripts() {
wp_dequeue_script( 'comment-reply' );
wp_deregister_script( 'comment-reply' );
}
add_action( 'wp_print_scripts', 'project_dequeue_unnecessary_scripts',100 );
// Remove comment-reply.min.js from footer
function chrisbunny_clean_header_hook(){
wp_deregister_script( 'comment-reply' );
}
add_action('init','chrisbunny_clean_header_hook');
/** End Christopher's magic bunny code; Copr. (c) 2013-2016 CLS */
But it’s a good thing. right? but why are we still having query strings under these CSS files? Should I not remove query starings using codes in functions.php? How can I remove quesries from these internal ( and one eternal files too )?
What should I do to resolve this issue? Can you suggest something?
Thank you
-
This reply was modified 9 years by
Nano.
hi again,
When I click on the image in the media (like the screen shot you sent) it does not give me attachment display settings. It only reads… View attachment page | edit more details | delete permanently. If I click on any of these it still does not give me the option for full size image.
I don’t know where to change the code like in the screen shot you sent.
I keep thinking it has something to do with where I’m uploading it to. Can you confirm for that this is where I should be uploading my image for the header on my blog page?
From the Newspaper Theme panel scroll down to logo & favicon menu. Then upload it to the logo slot where it reads: Upload your logo (272 x 90px) .png or .jpg
Sorry, I’d like to figure this out. I’m sure it’s something so simple :/
Thanks,
Holly
I currently have Newspaper and I am thinking of getting Newsmag. I looked on the demos and it seems like the header menu disappears when you scroll down. Is it possible to sticky this when scrolling up/down on desktop and mobile? Thanks.
Dear,
i use this theme on one of my websites: http://verdienveelgeld.be
The login page shows in the header. This is really annoying. How can i solve this error?
I disabled the cache still have this problem.
regards
Andrei,
Thanks for your help. Could I ask a couple more questions?
What options do I have for header styling on category home page posts?
It seems that most of the blocks have the same heavy horiz. line above post photo with white title inset into the colored tab.
Is there a way to use a lighter styling on this graphic detail? I noticed on the Travel Blog layout this detail was simpler. See the attached screenshot.
Also what block would I use to include an Amazon affiliate ad in a block or widget? The copy-paste Amazon ads are in iframe format. In other themes these would display if placed in a simple WP text widget. But I can’t get that to work here. I’ve pasted the iframe code into a text block, WP text widget and the Google maps which says it can manage iframe code.
Example: <iframe style=”width:120px;height:240px;” marginwidth=”0″ marginheight=”0″ scrolling=”no” frameborder=”0″ src=”//ws-na.amazon-adsystem.com/widgets…..etc., </iframe>
Thanks

Hello Adam,
Unfortunately, our theme does not have any such an option that offers you a way to add 2 different logos in the header, sorry! Please notice that if you want to add this behaviour you should add some conditions in core files in order to bring best results. For instance, you have to edit the files where the logo is created, like logo-text.php, logo-h1.php and logo.php -> http://screencast.com/t/JEAgQBGQmY As a hint, you have to use is_single() condition to target the post page. For more references in this regard, please check the Codex here -> https://developer.wordpress.org/reference/functions/is_single/
If you want to develop more levels in our theme and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!
Thanks.
Done,
but i have the same behaviour.
I’ve tried to put the same php do_shortcode on the header-style-1.php file, and i just get a really short flash showing the first banner.
Thank You
Hi Catalin,
The logo there at the top fo the home page. If you save image to downloads you can inspect it in Photohop.
This is interesting though: What I just discovered upon uploading it again is when I download back down from the website it changed the size down to 4″. The original upload is 12 inches long. So the website is shrinking it somehow.
I wish I could attach a scree shot somehow.
To confirm: I am uploading it to header style 11 from the Theme panel in the logo & favicon menu. Then uploading it to the logo slot where it reads: Upload your logo (272 x 90px) .png or .jpg
Thanks so much for your help.
Holly
Hi,
Do you use also the Mobile Theme plugin? In this case you can try to remove or comment this code – http://screencast.com/t/C4h36vO3
If you don’t use the Mobile Theme plugin and you use the default mobile version you could use custom css to hide it – http://screencast.com/t/h8i2WwAy
@media(max-width: 767px) {
.td-header-wrap .td-header-menu-wrap-full {
display: none;
}
}
Thanks!
Hi,
is it possible to have 2 different logos in header – one (in my case bigger) for starting page and the other for typical post which in my case will be smaller then that one in starting page?
Adam
HI
Replace the above code with this one, it should work fine on posts, I’ve also targeted few more elements in case is neded:
.td-main-content-wrap, .td-banner-wrap-full, .td-banner-bg, .td-category-header {
background-color: rgba(255, 255, 255, 0.7)!important;
}
.post {
background-color: rgba(255, 255, 255, 0);
}
Thanks!
Hi
Try this css in theme panel > custom code > custom css: http://screencast.com/t/lmLhoIEV66T
.td-header-style-3 .td-header-sp-logo {
width: 300px;
margin: 20px;
}
.td-header-style-3 .td-header-sp-logo img {
max-height: 120px;
}
Thanks!
Hello colesy88,
This type of demo uses the Header Style 11 which display the logo in full width. Please notice that the theme does not enlarge the logo to fit in all the space in full width…it will just be displayed in the original size. If it will have a short size, this dimension will be displayed at the front end. I have inspected your logo and I noticed that your logo is too small for this type of header style, as you can see here -> http://screencast.com/t/LkpeKKJtPQ Please keep in mind that the theme will display the exact size. If you want to bring a large logo at your front end you should load a larger logo than this.
Thanks for your understanding!
HI
When you’re using back-ground color or background image the theme switch in boxed layout and only page’s content is visible. We didn’t made any tests with floating elements and outside td-outer-wrap container but you can try to make a new container in header and display there your floating elements, here is an example: http://screencast.com/t/upKDd8sGc – http://screencast.com/t/ztr6jijjBJi7
Thanks!
Hello jfgriffin,
This type of plugins is not tested with the theme and we cannot offer support for untested plugins, sorry! We have no idea about the theme behaviour with this type of plugin. Please notice that our main menu is custom made and all the code for this menu can be found in header folder, header-menu.php like this -> http://screencast.com/t/Xmawwh54tw This is not a simple task and if you want to change something like this from the code and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!
Thanks.
Hi
You can paste the code from google in header.php file here: http://screencast.com/t/GHlms7kABC0 and add this css in theme panel > custom code > custom css: http://screencast.com/t/v3ZbKUL4
@media(min-width: 1021px){ #google_translate_element{
position: fixed;
top: 70px;
}
}
Hope this helps.
Thanks!
Hi
Unfortunately the theme don’t have an option to set a different banner ad for categories or pages. To achieve a similar result you will need some customization in theme’s code. Please check these links where I’ve provided similar solutions: https://forum.tagdiv.com/topic/custom-ads-to-header-ads-section/ – https://forum.tagdiv.com/topic/different-ad-tags-for-the-category-templates-vs-the-homepage/
Hope this helps!
Thanks!
Hello holly,
I am not aware of what type of logo you are using on your side. As my colleague, Andrei said you above that our demo Blog uses the Header Style 11 which display the logo on full width, without any sizes restriction. Please add a valid logo at your header and then let us know so I can inspect it closer.
Thanks for your understanding!
Probably something that messed with how the style.css file loads, and/or changed how your custom CSS written in header (e.g., some over-rides placed in header by theme panel, would get over-written when style.css moved to footer, as the original CSS would re-override the over-ride, etc.).
Tricky that 🙂
Hi Catalin,
Thank for the tip about Notepad Plus. I downloaded it and have been able to open the header PHP file now. My questions now is once I add in the code from Godaddy (between the head tags) is that all I need to do, or is there another step after that?
Best,
Justin
Hello, i am getting familiar with the theme! Please i have 2 questions:
1) I see that visual composer plugin needs update. How can i update it?
2) On top header menu of some demos there are social media icons (facebook, twitter etc). How can i link them to my actual facebook and twitter page? Because when i click on them, it just refreshes the site. Where do i change that so when i click it, i can be directed to facebook and twitter page?
Hello,
I’ve installed a plugin called “Menus Swapper” which replaces the Header Menu (Main) with a different menu, very simple.
Everything works properly, but the new menu has a different and undesirable appearance than the Header Menu (Main). How can I get it to look like the default menu for Header Menu (Main)? I assume it’s in the styles.ccs?
Default, correct Header Menu (Main):

Custom Menu appearance:

Hi Andrei, I have made the logo larger in pixel size to span the width of the page (1200 x 400 72 DPI) but it imports very small using header style 11. Here is the link:
http://www.maryjanemom.com
Thanks again for your help.
Holly
HI
We didn’t tested WP Pro Ad System plugin and we’re not aware of its functionality in order to provide an accurate answer. However if the shortcode display ads when is sued in a text block it should also display ads when is added in theme’s ad spots. You can’t use php code in theme panel, just the shortcode can be pasted there.
You can try to echo out the shortcode directly in header file corresponding with header style used: http://screencast.com/t/ImUvTvAaZeFg and check how it goes.
Thanks!