- NewsmagHeader styles
- NewsmagHeader ads
- NewsmagtagDiv Composer Tutorial
- NewsmagCategory templates
- NewsmagSmart list ads
- NewsmagWeather Widget
- NewsmagInstagram widget
- NewsmagPage Menu
- NewsmagMain menu
- NewsmagTop bar templates
- NewsmagLogin – how to enable the user registration
- NewsmagLogo & Favicon
- NewsmagFooter templates
- NewsmagCategory grid styles
- NewsmagCategory top post styles
- NewsmagHow category settings work
- NewsmagTheme colors introduction
There has been a couple of notes about the logo not filling the header box (Header styles 9/10/11). Regardless of the size of the logo jpeg the displayed logo leaves an offset of 70px on each side displaying the background color of the header. It can be seen in our development site. This seems to be embedded in the class td-logo but I cannot see where. Is there a css fix that will take the logo out to the limits of the box for style 9/10/11?
Hi,
I want to add private ads, only .jpg images. How do I put random images in the header, for example?
If the theme does not support this function could direct me to a plugin or otherwise consistent with the theme that is efficient so I put random customized ads?
Thanks from Brazil.
Att.
W. Guilherme.
*Please note when responding that I am not a developer*
I am using an RSS Importer and would like to add some functionality to the functions.php. I have the code for the Genesis but how do I amend it for the Newspaper theme?
//* Redirect posts to original URL
add_action( ‘template_redirect’, ‘nabm_original_post_redirect’ );
function nabm_original_post_redirect() {
if ( ! is_singular() ) {
return;
}
if ( $url = genesis_get_custom_field( ‘rss_pi_source_url’ ) ) {
wp_redirect( esc_url_raw( $url ), 301 );
exit;
}
}
//* Open post title links in new tab
function nabm_filter_entry_title() {
function nabm_post_title_output( $title ) {
$title = sprintf( ‘<h1 class=”entry-title” itemprop=”headline”>%s</h1>’, get_permalink(), the_title_attribute( ‘echo=0’ ), get_the_title() );
return $title;
}
add_filter( ‘genesis_post_title_output’, ‘nabm_post_title_output’, 15 );
}
add_action(‘genesis_header’, ‘nabm_filter_entry_title’);
Hello Chris.
I’ve just opened a post with a problem with header advs. I need to show my own ads for all device , except for mobile where I need to show a adsense adv. I have added your code adding into <div class=”td-visible-phone”</div>
My Adsense code. It doesn’t work showing me only adsense banner on all devices.
Could you help me?
regards.
Hello.
I need to have different ads into the header for different devices.
Exactly I need my own banner for all devices and an adsense banner for mobile.
I have tried by admin theme panel to add into header ad section to add this code:
<div class="td-visible-desktop">

</div>
<div class="td-visible-tablet-landscape">

</div>
<div class="td-visible-tablet-portrait">

</div>
<div class="td-visible-phone">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- [WL] Header Mobile Home -->
ADSENSE CODE
</script>
</div>
But It doesn’t work. He shows me only adsense banner for all devices.
Could you help me to solve?
Regards.
Hello I would like to know how can I change the image for each category on the header box – full width with background.
Thanks a lot 🙂
https://www.dropbox.com/s/lbhc6qs95b4pt38/Screen%20Shot%202015-11-07%20at%2014.03.50.png?dl=0
I have adapter Newspaper6 template to my site performancegurus.net. I am trying to make all my menus look similar – easier said than done!
Lifestyle, Video work the way I want but others don’t. Under Lifestyle, any category automatically opens up the posts below whereas Business, Poltics does not do this. Also I want to add Auther as an additional Menu item which when clicked on will show all the authors.
Can u pl. help?
Thanks in advance!
PS: I bought it from Themeforst and my Username is Mystic
Hi good day,
My header logo isn’t showing up and hasn’t shown up for more than a week now.
I have the latest version of Newspaper installed and I’m using Header Style 6.
Any insight as to why this is happening?
Here’s a screenshot of the Header menu which shows that images from my media library have been chosen for the logo and retina logo: http://www.screencast.com/t/002ht9Jw
Thanks in advance for the help.
Regards
Yuri
Hi,
This should be a very simple thing to do but currently I can’t find anywhere in the Newspaper Theme Panel where you can change the colour of the text on the main menu header. I can change the search icon and the menu icon (on mobile) from black to white but not the text itself.
Any suggestions?
Thanks,
Dave Colquhoun
http://www.BetOTG.com
Hi George,
Please try the code below in Theme panel, for increase sticky menu height, like this: http://screencast.com/t/bxuvKjMy
http://screencast.com/t/KZ67Scm5tl
.td-header-menu-wrap.td-affix {
height: 80px;
}
Thanks.
Warning: get_headers(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /var/www/web2066/html/neu/wp-content/themes/Newspaper/includes/wp_booster/td_video_support.php on line 109
Warning: get_headers(): This function may only be used against URLs in /var/www/web2066/html/neu/wp-content/themes/Newspaper/includes/wp_booster/td_video_support.php on line 109
Warning: Cannot modify header information – headers already sent by (output started at /var/www/web2066/html/neu/wp-content/themes/Newspaper/includes/wp_booster/td_video_support.php:109) in /var/www/web2066/html/neu/wp-admin/post.php on line 242
Warning: Cannot modify header information – headers already sent by (output started at /var/www/web2066/html/neu/wp-content/themes/Newspaper/includes/wp_booster/td_video_support.php:109) in /var/www/web2066/html/neu/wp-includes/pluggable.php on line 1207
Searched the forums but found nothing about this.
I’ve been using it without problems forever now, but today when I went to add our new Instagram account to it (username only, public account, plugin v3.0) the plugin started throwing fatal errors. I have errors suppressed but here are the error log entries for a single page load…
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP Catchable fatal error: Object of class stdClass could not be converted to string in /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_block.php on line 131, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP Stack trace:, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP 1. {main}() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/index.php:0, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP 2. require() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/index.php:17, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP 3. require_once() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-blog-header.php:16, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP 4. include() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-includes/template-loader.php:75, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP 5. get_sidebar() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-content/themes/Newspaper/single_template_8.php:60, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP 6. locate_template() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-includes/general-template.php:125, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP 7. load_template() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-includes/template.php:514, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP 8. require_once() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-includes/template.php:555, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP 9. require_once() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-content/themes/Newspaper/sidebar.php:7, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP 10. td_util::show_sidebar() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-content/themes/Newspaper/includes/wp_booster/sidebar.php:91, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP 11. dynamic_sidebar() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_util.php:223, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP 12. call_user_func_array:{/home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-includes/widgets.php:1319}() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-includes/widgets.php:1319, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP 13. WP_Widget->display_callback() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-includes/widgets.php:1319, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP 14. td_block_widget->widget() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-includes/widgets.php:344, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP 15. td_block_social_counter->render() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_block_widget.php:43, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP 16. td_block->render() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-content/plugins/td-social-counter/shortcode/td_block_social_counter.php:13, referer: http://insidethestar.com/
[Thu Nov 05 23:54:49 2015] [error] [client 108.162.212.241] PHP 17. implode() /home/34641-26570.cloudwaysapps.com/nbyvkfsjnw/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_block.php:131, referer: http://insidethestar.com/
I’ve been using Twitter, Facebook, SoundCloud, and Google+ in the counter widget. I don’t use it in VC. Adding the IG account is what threw the error. Haven’t been able to get the counter (at all) or anything down the document to load for any page where it’s supposed to show up since.
I tried deleting the plugin and installing fresh from the 6.5.1 release of Newspaper, no joy. Not sure what else to do here but report the bug. Made changes to the accounts used (flirted with not showing the SoundCloud profile) about a month ago with everything up to date (WP, VC, Counter, Newspaper, etc.). The only thing that has changed in that time is that I now run on PHP v5.6 instead of v5.5. First issue I’ve had with it since Feb 2014.
No clue what to try next and not making much of the error log to tell me what to fix.
Thanks.
Thank you a lot Bogdan! It was helpful.
I will use a different header tag from now on.
Have a great week!
Hi
The theme have fixes values for its span colons and changing these values will affect the layout. You will need lots of customization such that theme’s blocks be displayed fine.
We can’t offer customization services at the moment so if you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you.
To place ads outside the page content you will need a new container in header or footer, it depends by ad’s code, and some css code for ad’s position on the page. You can use theme’s custom css spot for that code, but the html structure must be created in theme’s files: http://screencast.com/t/eJiayn0g4R8J
Hope this help.
Thanks!
Hi,
You have to recreate the path of the file in your child theme. In this case it’s newspaper/header.php
We have a child theme tutorial in our documentation if you would like to read more on the subject: https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thank you!
Yea, i’m working with child theme. So just copy the header.php to the child folder?
Hi
I’m looking for a way to add some php functions in the header, but i prefer not to do it by copy the header file to the child theme in order not to touch the code.
What is the best way?
I know there is a js and css to embed in the Theme Panel, but what about php?
Thanks
Hi,
You have to many items to the menu and on sticky menu also the logo is added there, that’s why it breaks on 2 rows.
You can try this custom css in Theme Panel > Custom Css – http://screencast.com/t/qwPGNlEGU
.td-header-style-1 .td-header-menu-wrap.td-affix .sf-menu > li > a {
padding-left: 0px;
font-size: 13px;
}
.td-header-style-1.td-header-wrap .td-affix .td-main-menu-logo {
margin-right: 5px;
}
Or if you don’t need logo on sticky menu you can hide it for extra space – http://screencast.com/t/qfYLXjlu0bRs
@media (min-width: 768px){
.td-header-style-1 .td-header-menu-wrap.td-affix .td-logo-sticky {
display: none;
}
}
Thanks!
Hi,
Just noticed when I scroll down that my header menu goes from one to two lines and you can only see the last two header titles i.e. all the others disappear. Please try scrolling here – howdoidate.com and you’ll see what I mean.
Can you please let me have a fix? – one line of header titles that are always visible when you scroll down.
Thanks
Derek
Hello,
I tested this also on my end. It seems that Jetpack uses a h3 tag on it’s elements so it gets picked up by the smartlist. Try to set the smarlist to pick-up another header tag like h1 or h2 and set your titles to that tag.
– http://screencast.com/t/Ghn1zkH2e
Smart list with a h3 title tag: http://screencast.com/t/as8PzGnTc9zn
Smart list with a h1 tag: http://screencast.com/t/NzcbLpGctMa
I hope this helps
Thank you!
Hello,
The cause you specified is what is causing the 404 page to appear. If you remove the ‘home’ part of your link, the search will work fine: http://screencast.com/t/XZcxlArBh
Try to reset your permalinks or you can try a plugin to redirect the link to the proper one.https://wordpress.org/plugins/redirection/
You can remove the search if you want with css or by removing it from the theme files:
CSS: add the code in the theme panel->custom css box
.header-search-wrap{
display:none;
}
Or to remove it from the files: http://screencast.com/t/yLQdeuvS
I hope this helps
Thank you!
Hello,
I have checked your website on all 5 browsers and the font family for your header menu is open sans: http://screencast.com/t/LteP4TOx4. I could not see the placeholder you mentioned on neither of the 5 browsers (chrome, IE, Edge, Firefox and Opera)
The theme uses 2 default google fonts: open sans and roboto. If you want to remove roboto and only use open sans, you can remove it from here: http: //screencast.com/t/B1ZcrMoUpBw5
Thank you!
Hi,
I am trying to install the visual Composer plugging and I received the following:
– El plugin no tiene una cabecera válida (the plugging does not have a valid header) and
-La carpeta ya existe (the file already exist) /home/content/n3pnexwpnas02_data01/24/2912324/html/wp-content/plugins/js_composer/
Fallo en la instalación del plugin. (failed in plugging instalation).
I did not have any problems with the others pluggins.
Please, I appreciate your help.
Thank you,
Francisco
Pretty much at the end of my wits on this issue. I’m using Newspaper 6.5.1 & W3TC, which I’ve said before I hate but have since moved to a managed VPS that is built to use it for APC and Varnish.
The problem I’m getting is encoded pages being served from the page cache module, regardless of what other modules are or are not enabled. If I change themes to something from a different developer, the problem goes away. The W3TC plugin FAQ on WP.org addresses this and says it’s due to the use of php_flush() or the function flush() by the theme, but I’m not seeing that in the header, index, or footer files though it’s entirely possible that one of those calls is in a deeper file.
Here’s what it looks like:

This has been an on-going issue for me since about July of last year (I’ve kept Newspaper up to date within a few days of every update) and has remained consistent across two hosts (one cloud shared and one VPS). At the time this started W3TC was the recommended caching plugin for theme and even though that recommendation has changed, it’s not because the plugin breaks the theme. I can’t figure out what’s going on.
The host has looked into it with no luck. The W3TC support team doesn’t exist. And I’m not seeing the flush methods called from the theme to answer the documentation’s claimed cause of the problem.
Any ideas? I’m at a loss now. I’ve got a beautiful varnish/memcached/apache/nginx setup going to waste because of this and it’s starting the impede growth of the site.
Thanks.
Hi, thank you for the swift reply, It worked man. Thank you so much!
I am sorry if i weren’t very clear before, let me come again with more detail. earlier i was using the option “your latest posts” option in front display as my homepage (see screen shot 1), and then i was able to change the header style from theme panel, but then i learned that i can create a homepage (which i learned on your site here https://forum.tagdiv.com/homepage-how-to-build-and-set-it/) and then use it as static page. so i built a homepage and then from settings > readings i used the option “A static page” and selected the homepage page below from drop down menu which i had built earlier (screen shot-2). everything was good but now i am no longer able to change the header style (logo etc) from theme panel. i mean it does change when i select it from theme panel but it doesn’t take effect, meaning the changes do not appear on the website. Please guide me as to what i can do further to be able to change my header style. Thanks!
screen shot-1: http://postimg.org/image/u146hc9qv/
screen shot-2 http://postimg.org/image/wpdxrk1p5/