- 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
Hey,
When adding blocks, i can only choose one header template. Why do you think thats happening? How to fix it?
Hi,
How can I add more custom ads to my theme panel?
I need to have about 20 or 30 custom ads.
some of them are square like sidebar ads and some of them like headers and inline ads!
Regards
Dear tagDiv-Team
at my site speiseraeume.de I am trying to solve two design “problems”:
1. I am using header style 9 and I would like to have the logo not centred but on the right side aligned with the right end of the big grid.
2. I would like to delete the shadow under the main menu.
Any CSS suggestions?
Thank you!
Hi,
That would be possible but only in the sidebar. Each category can have it’s own sidebar set, in the Per category settings
– https://www.screencast.com/t/8wmyXbYXkZO
– https://forum.tagdiv.com/how-category-settings-work/
The ads entered in the header and footer sections for example, will be the same for all the website. At the moment there are no options for placing ads in the actual category page, in the theme.
This might change in a future theme update.
You could try the Adrotate plugin, this could have more advanced options for ad implementation, if these are required.
Thanks
Hi, can i put a ad for only home withaout use Header ad Footer ad Smart list ad?
I use Loop ad which appears only in the home, I need a second banner only in the home
It’s possible to do it?
Thanks
Hello,
I would like to add a flag at the left of one link, on my top header menu without a new plugin.
https://www.nextstephub.com
I suppose I can do it with a CSS class.
can you help me ?
Chris,
Here is the error log from NGINX for broken website:
2017/09/21 23:10:41 [error] 1597#1597: *122945 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined function is_category() in /var/www/neosagon.gr/wp-content/themes/Newspaper/includes/wp_booster/td_page_generator.php:25
Stack trace:
#0 /var/www/neosagon.gr/wp-includes/class-wp-hook.php(298): td_page_generator::get_breadcrumbs_json_ld(”)
#1 /var/www/neosagon.gr/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array)
#2 /var/www/neosagon.gr/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#3 /var/www/neosagon.gr/wp-includes/general-template.php(2589): do_action(‘wp_head’)
#4 /var/www/neosagon.gr/wp-content/themes/Newspaper/header.php(11): wp_head()
#5 /var/www/neosagon.gr/wp-includes/template.php(688): require_once(‘/var/www/neosag…’)
#6 /var/www/neosagon.gr/wp-includes/template.php(647): load_template(‘/var/www/neosag…’, true)
#7 /var/www/neosagon.gr/wp-includes/general-template.php(45): locate_template(Array, true)
#8 /var/www/neosagon.gr/wp-content/themes/Newspaper/page.php(7): get_header()
#9 /var/www/neosagon” while reading upstream, client: 79.131.71.135, server: neosagon.gr, request: “GET / HTTP/2.0”, upstream: “fastcgi://unix:/run/php/php7.0-fpm.sock:”, host: “neosagon.gr”, referrer: “https://neosagon.gr/wp-admin/tools.php?page=tc-options”
You can see that ../Newspaper/includes/wp_booster/td_page_generator.php calls undefined function is_category() at line 25.
Please help me to resolve the issue.
Sotiris
Sorry, one more question along with the two questions above.
4. On Block 1, I added a black Block Header 4 template for the Custom Title. But now when I hover over the article titles in the block, they are also black instead of my theme accent colour. How can I change the article titles’ hover colour from black to my theme accent colour? https://snag.gy/NMwOUt.jpg
Hello,
Our advertiser base is growing and we are starting to run out of ad spots on our news site. All of our custom ad spots are filled as well as the header, sidebar and content top and bottom ads. Is there a way to get additional ad spots in the theme panel?
Got a little more time on my hands to explain it now, so here it goes.
Everything I will post is regarding the desktop (1141px+) view, and the code is in the Advanced CSS -> Desktop Box.
The code I’m using is as follows
.single_template_7 .td-backstretch{
transform: translate3d(-50%, -25%, 0px) scale(1.15, 1.15)!important;
}
.td-post-template-7 .td-post-header{
height:850px;
}
The image I am using is this one. The dimensions are 1920×1280
This is how the post displays on a full HD monitor (1884 width image) It looks absolutely beautiful (IMO) – Preview
If you resize the browser to emulate smaller series, a black bar begins to appear at the bottom as the image is resized dynamically. Due to the new 850px height, the image no longer covers the required area. – Preview (Note the black bar at the bottom)
As I continue to resize the browser, the black bar enlarges as the image gets smaller and eventually begins to look quite bad. Preview
As you can see, it’s still cutting off quite a large amount of the image at the top, despite the black bar appearing at the bottom. Is there a way to…’pin’ the bottom of the image, to the bottom of the header image display area, so it’ll stop creating a black bar? I can move the image down, but then it starts to cut off the bottom of the image more…and motorsport is a pain in that the car is always at the bottom. So being able to pin the bottom of the image to the bottom of the header area would solve it.
Because the mobile devices have a relatively narrow window width they operate in, it doesn’t really cause a problem in those views and I can manage it. It’s the fact that desktops have to range from 1140 up to 1920 that’s causing an issue.
Hope this explains things a bit better!
-
This reply was modified 8 years by
ds.ellis.
I don’t think that a generic article is going to help me fix this error.
Please read the related tickets that I linked to in my original request (above):
“Chris S #192272
Sep 7, 2017 at 1:44 am
This happens when you update theme or main WordPress …
nothing to fix; normally you will have one of these, unless hacker slamming that directory. So, with one you just mark as ‘fixed’ and move on.
That should so be in the WP documentation — which they are finally going to redo (won’t be called ‘codex’ any more for 2018!). ?”
“Chris S #192418
Sep 7, 2017 at 7:09 pm
I think we did something on one site for that,
we made an index.php file that had a refresh header …
although I think we then instead did an htaccess file for the them folder,
and did 301 redirect for index.php to home page of site. Something like that.
Downside is you need to replace those each time theme is updated.
Or, just grimace when you do theme update and month later see that single entry in your search console. I usually just go “(sigh) … stupid Google…”
I mean, how stupid do you have to be in the data mining business to not auto-ignore /wp-content/themes/ for indexing ANYTHING? Duh.”
I have found a possible solution on other support forums:
Hi!
Yes, having read the Yoast article https://yoast.com/dont-block-your-css-and-js-files/ i’d suggest not blocking all theme resources, however i think index.php should not be read directly by crawlers (or visitors) because it will always result on a PHP error, you could try one of these two workarounds:
Redirect theme index.php to root (this will apply to all visitors), .htaccess code (you could extend this to child theme directories or plugins):
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /wp-content/themes/enfold/index\.php\ HTTP/
RewriteRule ^wp-content/themes/enfold/index\.php$ http://DOMAIN.com/ [R=301,L]
Or simply disallow only index.php in the theme folder, robots.txt code:
User-agent: *
Disallow: /wp-content/themes/enfold/index.php
Please advise.
-
This reply was modified 8 years by
miket.
Hi Simion,
It’s actually something that happens on desktop only (width greater than 1141px). As you adjust the browser window down from 1920px, the image is dynamically resized to suit the new browser window. The header is still 1000px tall, but because the image is being resized, it eventually becomes too small to fill the entire header and is replaced by plain black.
You’re right that putting the code into the Desktop section fixes the mobile devices, but the desktop section still displays black at the bottom, because the image is now slightly higher than it used to be (the -40% from the original code is now -20%).
One way of fixing it is to use the first bit of code and move the image down, but as I said, motorsport photography tends to be done with the car at the bottom, so I’m losing the car in the majority of shots. It’d be ideal if the image did not resize with the window in the Desktop view at all, and which would mean I could ‘pin’ the image from the bottom, rather than top. 🙂
I might be REALLY bad at explaining things, lol.
Cheers guys.
-
This reply was modified 8 years by
ds.ellis.
Hi,
You can change the block header style. This block header style provides a button that directs to the category page used in the filtering on the block
– https://www.screencast.com/t/eUVG7CeABKjA
– https://www.screencast.com/t/HGtywXB2wPe
These are the currently available block header styles, some display the ajax filter differently as it can be seen
– https://demo.tagdiv.com/newspaper/block-header-1/
Thanks
Hello ksp278,
For any information about our Google AdSense system, please begin reading from our manual, like this -> https://forum.tagdiv.com/header-ads-adsense/
Hope this helps!
Thanks for the message!
Thanks for your esponse, but it does not have the most important piece of info I need. What is the code I need to put in my Custom CSS to have the desired by me 970×250 ad box appear below the MAIN MENU & the TRENDING NOW ticker line in the header.
Please advise.
Thanks,
Peter
Hi,
Regarding the header styles, it is true that most of the header styles have a required logo image size to be used, but for example Header style 10 does not have limitations. Any logo size can be uploaded and it will be displayed in full
– https://forum.tagdiv.com/newsmag-logo-favicon/
Header styles 7 and 8 are somewhat similar, but the logo size being limited by the container width as mentioned in the guide.
Regarding the ad size, I don’t fully understand the problem. If you use Adsense, create the ad you want and place the code provided by Google Adsense in the theme panel sections needed. Place it in a custom ad spot if that is what you need, that you can use on top of the page, using the page editor
– https://support.google.com/adsense/answer/6002621?hl=en
– https://support.google.com/adsense/answer/6002575?hl=en
Thanks
Hi,
The image that the demo uses as header background can be found here
– https://www.screencast.com/t/5FpdBdevD
The dimensions of this demo background image can be seen by inspecting the image
– https://www.screencast.com/t/qfl8RrxCi8L
You could replace it with an image of your own, just make sure it has the same name and format.
Thanks
Hello again, I made all these changes, my biggest problem now is how to convert old codes with new syntax.
For example, in the home page I have this old codes:
[td_slide_big limit=”12″ category_id=”4″ category_ids=”247, 128, 127, 8, 96, 9″ autoplay=”7″]
[td_block2 limit=”8″ ajax_pagination=”next_prev” category_id=”1″ header_color=”#1e73be” show_child_cat=”all”][td_ad_box spot_id=”custom_ad_1″]
[td_ad_box spot_id=”custom_ad_2″][td_social custom_title=”BE SOCIAL” icon_style=”2″ icon_size=”32″ facebook=”http://www.facebook.com/pages/Automotonewscom/95918428566″ googleplus=”https://plus.google.com/109076930815668597841″ instagram=”http://instagram.com/automotonews_” twitter=”http://twitter.com/#!/automotonews_” youtube=”http://www.youtube.com/user/Automotonews” header_color=”#0087a3″ open_in_new_window=”y” linkedin=”https://www.linkedin.com/company/automotonews-com”][td_text_with_title custom_title=”APPUNTAMENTI” header_color=”#0087a3″]
[td_block1 category_id=”8″ limit=”5″ header_color=”#2b9927″ ajax_pagination=”next_prev”]
[td_block2 limit=”4″ ajax_pagination=”next_prev” header_color=”#8f00ff” category_id=”9″]
[td_block2 limit=”6″ ajax_pagination=”next_prev” header_color=”#f400a1″ category_id=”117″ show_child_cat=”all”]
[td_block8 limit=”6″ custom_title=”ULTIMI ARTICOLI” ajax_pagination=”next_prev”]
[td_block4 category_id=”5″ limit=”4″ header_color=”#0087a3″ ajax_pagination=”next_prev”]
[td_slide category_id=”96″ limit=”3″ header_color=”#edad00″ header_text_color=”#ffffff” autoplay=”4″]
[td_block4 limit=”5″ ajax_pagination=”next_prev” header_color=”#f96300″ category_id=”126″]
[td_ad_box spot_id=”custom_ad_2″]
[td_ad_box spot_id=”custom_ad_2″][vc_tabs interval="3"][vc_tab title="RICHIAMI" tab_id="1420473036671-2-0"]
[td_block4 category_id=”95″ hide_title=”hide_title” limit=”4″][/vc_tab][vc_tab title="CONSIGLI" tab_id="1420471919-2-79"]
[td_block4 category_id=”91″ limit=”4″ hide_title=”hide_title”][/vc_tab][vc_tab title="PEOPLE" tab_id="1420472024286-2-8"]
[td_block4 category_id=”119″ limit=”4″ hide_title=”hide_title”][/vc_tab][/vc_tabs][td_block10 category_id=”7″ limit=”4″ header_color=”#f91313″]
Please, could you help me accomplish that?
I will appreciate a lot…
Thanks.
Alessandro.
Hello Catalin,
Thanks for your response.
I am not sure I understand the point of your “Note that is the maximum size for ads in our theme” comment. This is exactly what I want in terms of size, so again, I do not understand why you say this. It is not like I want or seek a larger size. Regardless, we are clear on this one.
That 2nd link you have sent shows you calling an IMAGE of the ad size, not the ad itself. What code / short code do I have to put in place of you calling the image of the ad size, in order to show an actual ad?
Nobody is saying I will use 2 ads in the header. Why do you assume that? I would much rather display a 970×250 or 970×90 ad than a smaller one right of the logo – it pays better! You should be concerned with providing EVERY meaningful ability for your theme’s users to EARN MONEY, especially given the fact we pay you money for your theme. Right? Your theme is not just a browsing tool, but for many of us, it is a monetizing tool, which helps us earn our living!
Another point I have been trying to make with tagDiv for a very long time – why do you restrict the size of the logo your users can have. This is obvious by you allowing only 728×90 ads right of the logo. What if the logo is wider and only a 468×60 ad would work, or a smaller one?
You are doing a good job, but a few things, like this header ad problem I have been bringing up, are left not well thought through.
Please specify where do I have to add short code (and what that short code is), which will display a 970×250 or 970×90 ad below the MAIN MENU in the header.
Thank you very much, and please try to find the rational thought I have attempted to defend and bring to your attention above – you should NOT restrict logo size in the world of infinite options when it comes to creativity and individuality.
I look forward to receiving a response on where do I have to add short code (and what that code is), which will display a 970×250 or 970×90 ad below the MAIN MENU in the header.
Thanks,
Peter
Hi,
I believe that is happening because of the height modification made to the post header. Try entering the codes that were provided above in the Theme panel->Advanced CSS section, only in the desktop field.
That way the code will only apply on desktop, as these modifications may not produce the best results on all devices.
Or create multiple codes based on the main one and test, for each instance in the Advanced CSS fields (a code that works well on desktop, one for landscape devices etc.)
– https://www.screencast.com/t/hx3uHEfh
Thanks
Hello Josuesantana,
Unfortunately, our theme does not have any such an option that allows you to do this, sorry! Notice that the theme has a big list of Header Styles, as you can see here -> https://forum.tagdiv.com/newsmag-header-styles/ If you want to have any other options, in this case, you should edit the theme core files and create your own style. If you are not aware of the steps which are needed to take in this case, please consider hiring a freelancer/developer to help you because we cannot provide custom services at the moment, sorry!
Thanks for your understanding!
Hello,
Please keep in mind that on the future, we do not plan to integrate two Ad Spots in our header style because of it’s too much and also, it’s not recommended doing this, sorry! Please notice that our theme has a big list of header styles which use the Ad Spots in different positions, as you can see here -> https://forum.tagdiv.com/newsmag-header-styles/
Notice that is the maximum size for Ads in our theme -> https://www.screencast.com/t/5zNTiAuft1R
Thanks for your understanding!
Can you tell me what dimensions I need to replace the “images/header-bg.jpg” in the voice report header with my own image? Also I don’t see the demo image in the wordpress media library. Can you tell me where it is located? Thanks.
I just deleted everything on Newspaper/parts/header/header-style-1.php
and it seems fine
Thanks, Simion.
I have decided to completely remove the header section from the entire website instead of just hiding it on some posts.

So the site/posts start with the title…
Which line of code can I comment out to remove it?