- NewspaperHeader Builder
- NewspaperHeader ads
- NewspaperHeader styles
- 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
- NewspapertagDiv Cloud Library Plugin
- NewspapertagDiv Composer Tutorial
- NewspaperUsing the Theme Translations with WPML
- NewspaperInstagram in Newspaper WordPress Theme
- NewspaperWeather Shortcode
- NewspaperThe Mobile Theme
- NewspaperLogin – How to Enable User Registration
Hi there, I would like to do the same as the above, that is using Header Style 9 I would like to change the text size & font.
I am an absolute newbie to this and so I am unsure re Custom CSS.
I assume that I go into the theme panel, click on Custom CSS whereby a blank box will appear and then I include the code as described above or alter the font family and size as needed??
Is that all I need to do or am I missing something, so far I have not had to do any code work and I do not want to mess things up as I have nearly finished building the site??
Many Thanks
Garry
I have the same problem Alin, could you help please ?
http://mysite.com/wp-content/themes/Newspaper/
GWT error : L’URL cible n’existe pas, mais votre serveur ne renvoie pas d’erreur 404 (Fichier introuvable).
When I go to this page is shows this message:
Fatal error: Call to undefined function get_header() in /home/xxxx/public_html/wp-content/themes/Newspaper/index.php on line 6
Strange think with theme on my test site.
Using 2 new installation,
on first one installed newspaper with default demo data.
on second one, installed only the theme with no demo data.
First one is perfetct and work on ie, chrome and firefox.
The second one work only with chorme and firefox, with ie looks like if thw Windows is smaller. All widget go on new line, and logo + AD on header do not stay on same line.
I know is difficult for you without see the problem, but do you have alerady receive a problem like mine.
Bye Alex
Here you can see Results for
CHROME 
FIREFOX 
INTERNET EXPLORER 
Hi.
We got a lot of menus and we would like to reduce the padding between them, on desktop and on tablet versions.
We tried this code, but it seems that padding not equal from both sides:
.sf-menu a.sf-with-ul {
padding-right: 15px;
}
Whats your suggestion about this?
Can you provide a way so that padding is reduced and search button will be centered according to whole menu? We are using style 10 header.
Hi, Is it possible to hide the blog header for a certain category and only use visual composer to build the entire page, yet still have the featured image and excerpt show on the homepage when I link it?
I want to create a few competitions so I don’t want it to look like a blog, but I want to keep some of the blog functions such as showing other similar comps and the sharing facilities etc.
Many thanks in advance.
Ryan
I think I understand what you’re saying. But the link https://forum.tagdiv.com/the-mobile-theme/ I do not get what I want. It has helped me to understand that does not work with copy-paste.
Now, I wanted to know what would be the html for [tagDiv] Block.
For example, in my homepage for mobile I want to put [td_block_slide autoplay = “10” category_id = “369” limit = “3” custom_title = “” header_color = “# 467524”] and [td_block_13 custom_title = “Latest Forecasts” category_id = “26” limit = “3”]
Logically if I copy in Mobile Editor not work.
As I translate html for Mobile Editor?
Hello,
Still not working, this is my .htaccess, maybe it helps.
[root@ip-172-31-46-22 webroot]# cat .htaccess
# <IfModule mod_headers.c>
# Header add Access-Control-Allow-Origin “*”
# </IfModule>
AddType application/vnd.ms-fontobject .eot
AddType application/x-font-opentype .otf
AddType image/svg+xml .svg
AddType application/x-font-ttf .ttf
AddType application/font-woff .woff
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
# mod_headers, y u no match by Content-Type?!
<FilesMatch “\.(gif|png|jpe?g|svg|svgz|ico|webp)$”>
SetEnvIf Origin “:” IS_CORS
Header set Access-Control-Allow-Origin “*” env=IS_CORS
</FilesMatch>
</IfModule>
</IfModule>
<IfModule mod_headers.c>
<FilesMatch “\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$”>
Header set Access-Control-Allow-Origin “*”
</FilesMatch>
</IfModule>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Hello themesic,
The DoubleClick ads aren’t recognized by theme’s ad system and the code is rendered as it is. The theme only works using google Adsense ad codes: https://forum.tagdiv.com/ads/ … for another type of ads you can either use wp text widget or a plugin like Simple Ads Manager or AdRotate to render the code then use theme’s ad spots. For more references about this regard, you can consult this topic -> https://forum.tagdiv.com/topic/tutorial-responsive-ads-with-google-dfp/
Also, if you want to paste your tag in the mobile version in the header section, you will have to check the header.php core file from the mobile section, like this -> http://screencast.com/t/kfBP1X4Ds
Thank you for your understanding!
Hi,
You can block the header ad from the code. Add a condition here – http://screencast.com/t/KQjX2vTAWXpG
– http://pastebin.com/cwh8Hq7Z Try to replace the code with the one provided(make a backup of your current file) – http://screencast.com/t/Ao1vPbCNw
Thanks!
Hello TagDiv,
I currently have the Header Ad loading on the site. I have tried to customise this by hiding it from the homepage but I’ve noticed on slower browsers, this still loads.
How can I completely hide the header ad just on the homepage. At the moment, you can just about see it and it loads for half a second which Google AdSense will account as AdFraud.
Thanks,
Hi,
This depends on the header style that you use. Some header styles you use. Some header styles position the mobile header ad above and some ads below the main navigation. What ad are you referring to? The header ad or the article top ad? Are you using the mobile theme plugin or not? As I need specific information so i can provide the proper answer. A link to your site will also be helpful.
Thank you!
Hello Arachnocat,
What type of code do you have added in the header ads section? If you are using the Adsense, please ensure that your code is correct because the theme only displays it and do not have any interference the structure of it. So, please notice that the Adsense is not a live effect and it might take a while until the ads appear. If your problem is still there, please contact the Adsense, tell the problem because they should be able to provide a more accurate response in this regard because they are the owner of this type of ad code.
Thanks for your understanding!
Hello nairolf2013,
The error was being generated each time that my theme’s index.php file was called directly, and that the error was caused by the theme’s inability to locate the WordPress get_header function (which is completely normal).
Thanks for your message!
Hi,
Can you please help me to remove the spacing in the header areas as marked in the screenshot.?
Thanks!
Hi,
I’m having some trouble getting adsense to work on my site. Maybe there is a setting I’m missing. I followed the documentation but none of the ads are showing up no matter where I place them in the theme’s ad section. I’m copying the code directly from adsense. Does anyone have an idea of the cause? Thanks!
Hello nairolf2013,
You only need the function from the id statement. This code basicaly creates a redirect from the error to anywhere you want it to redirect. Simply replace get_header from index.php with this part:
if (function_exists('get_header')) {
get_header();
}else{
/* Redirect browser */
header("Location: https://google.com ");
/* Make sure that code below does not get executed when we redirect. */
exit;
};
I set it to redirect to google as an example. You can set it to redirect to your homepage or any other url you want.
I hope this helps.
Thank you!
Hi,
Instagram logo has been updated recently. How can we change the icon on top header/footer to reflect the new logo design?
Please assist, thanks.
Sue
Hi Catalin,
The second link (site not reachable) it has nothing to do with my problem.
With the first one https://forum.tagdiv.com/topic/call-to-undefined-function-get_header/ , ¿ I have to replace the little snippet in your index.php ?
I mean, I have to change the actual?
get_header();
to
if (function_exists('get_header')) {
get_header();
}else{
/* Redirect browser */
header("Location: http://" . $_SERVER['HTTP_HOST'] . "");
/* Make sure that code below does not get executed when we redirect. */
exit;
}; ?>
Hello
Please try to refer to these links here -> https://forum.tagdiv.com/topic/call-to-undefined-function-get_header/ and https://forum.tagdiv.com/topic/site-not-reachable/ and follow the steps which have been given there to solve your problem.
Hope this helps!
Thanks for your understanding!
Hello sobepolitics,
Please notice that our theme has a lot of Header Styles which has the speccific design. In our demo, it is presented the Header Style 1 as you can see here -> http://screencast.com/t/rMLJZyhaOXT For more information about these you will find here -> https://forum.tagdiv.com/header-styles/
If is not what you mean, please provide more details.
Hope this helps!
Thanks for your understanding!
My bad and you’re right! It’s header.php
Hello Bogdan,
The ads do not go away when applying the code. Additionally, it adds another ad on the header for all other pages.
Please advise. I think you meant 404.php and not header.php
-
This reply was modified 10 years by
crazydiver.
Hi TagDiv,
I purchase your theme a few days ago and I have to say: THANK YOU
I use the default theme without any modification on code and I found some errors on the server and another with w3c validator, hope you can help me.
– on server (VPS): mod_fcgid: stderr: PHP Fatal error: Call to undefined function get_header() in /var/www/vhosts/buscadortransportes.com/httpdocs/wp-content/themes/themename/index.php on line 6
– with wr3c validator link
Regards,
Hello okgo87,
I have checked your website and I saw that you have some additional customizations. So, if you need to reduce the margin-top and margin-bottom for your ad, please try the code below and place it in Theme panel->Custom CSS area.
The code is ->
div .td-header-style-6 .td-g-rec-id-header > .adsbygoogle{
margin-bottom:0!important;
margin-top:0!important;
}
The result you should see here -> http://screencast.com/t/edrK1FrVP
Thanks for your message!
Hi,
Unfortunately the caption was hidden for this post template. In order to get it to display you will need to use css to do it.
.td-post-template-3 .td-post-header-holder .wp-caption-text{
display: table-cell!important;;
}
.td-post-template-3 .wp-caption-text{
color:white!important;
font-size: 14px!important;
position: absolute!important;
top:0;
left:10px;
}
It will create a black band below the image if it’s positioned below the title.
Thank you!