- 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
- Apitd_api_top_bar_template::update_key
- Apitd_api_top_bar_template::update
- Apitd_api_top_bar_template::add
- ApiAPI – Top Bar Template – Introduction
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- ApiAPI – Single Template – Introduction
- Apitd_api_footer_template::update_key
- Apitd_api_footer_template::update
- Apitd_api_footer_template::add
- ApiAPI – Footer Template – Introduction
- Apitd_api_smart_list::update_key
- Apitd_api_smart_list::update
- Apitd_api_smart_list::add
Funnily enough Google’s own G+ buttons on their Google Alert emails for news, clearly showing the headline, photo and first paragraph, won’t even grab first paragraph consistently.
I’m almost wondering if it’s placement of an “article” tag, not using an article tag at all, or applying an “ID” of “entry” to the entire post block similar to ID=”header” to the head area.
Playing with it more … we’ll be kings if we solve this ! But not going to stay up nights worrying about it.
Hi,
Unfortunately theme doesn’t have an option to have a different header for categories. You would need custom modification for this, you can find an example here(a different header on homepage) – https://forum.tagdiv.com/topic/different-headers-on-pages/
You can try something like this using is_category function: https://codex.wordpress.org/Function_Reference/is_category
Thanks!
Hi,
I’m not sure if you want something like this – to have full menus(top an main) on default style.
If you want something like this you can replace header style 1 template with this code(make a backup of the file): http://pastebin.com/2iRriKP1
And add this css in Theme Panel > Custom Css: http://screencast.com/t/Mwvv6ow2nCi – http://screencast.com/t/5F5v3IXwUW
Also you can use do_shortcode() function use a custom ad bellow the menu – http://screencast.com/t/O5N6AaFXM – http://screencast.com/t/aMlF2JhA
Thanks!
I want to do it like Yoast with the <h1>. How can I wrap the logo in h1 like this on desktop and mobile?
<h1 class="site-title" itemprop="name"><meta itemprop="logo" content="http://cdn.yoast.com/wp-content/themes/yoast-theme/images/header/logo_x2.png"/>Yoast</h1>
Thanks!
Hi,
What header style do you use? Please provide the url so i can take a look. Do you refer to the desktop logo or the mobile logo?
Thank you, Emil G.
Hi,
Please use a header style that allow you to display the logo in full size like this one: http://screencast.com/t/DKd1k7FmHa
We recommend to use these divs for your banners – https://forum.tagdiv.com/ads-system-full-guide/ just replace image source and the link.
Thanks!
Hi,
The top menu was not designed for mobile screens that’s why is hidden so displaying it you may need some other modification.
Please use this custom css in Theme Panel > Custom Css to display top menu and hide the wp bar: http://screencast.com/t/yiAFzcsSWtD
@media (max-width: 767px){
.td-header-top-menu {
display: block;
}
#wpadminbar {
display: none;
}
}
Thanks!
Hello,
First of all, I just recently purchased Newspaper and I absolutely love it. You guys did an amazing job. I had everything up and running in about an hour. I’ve probably had 10 prior templates and this is by far the easiest one and most customizable.
However, I have come across an issue. My ad in my header is getting cut off. Is this because my logo is too small and I need to add whitespace on the top and bottom to “widen” that area of my header? I’ve used both the custom ad I currently have, and Google Adsense and both are cutoff at the bottom. However, it appears perfectly on mobile/tablet, this issue only occurs when viewing via Desktop.
Here is a screenshot: http://i.imgur.com/ezn6YbX.png
My URL is FestivalSnobs.com
Thank You!
Different headline for different categories?
is this possible? Like a different header.
You need to edit the CSS the way you want it.
You could copy the code from the other template you like into the template you want to use (mix the different headers).
TagDiv support back on Monday if that didn’t make sense 🙂
Why not just edit the header style 8 template?
Hi, we purchase your theme and would like to know how can we make lets say, we duplicate header-style8.php to header-style11.php, and we want that to show up in your theme panel, where would we have that file register, so it can take over the header.
we love the header8 setup, but don’t want the logo in that position, we rather the banner there and the logo in the menu instead, and where the ad initially was below the main menu, we will put something else there.
Hello,
My problem is that the home and magnifying glass images on the header are not visible. They are there but just not visible due to 2 different image loads. I could not find the source of this problem.
Here’s the page: http://www.pandemonyum.com
Hi – since yesterday our Theme Panel has stopped working – and it’s not possible to select any options eg. header, footer, ads etc 🙁 We’ve disabled all plugins to make sure there are no conflicts but that hasn’t helped either. The front end of the site is working fine though. HELP!
Hi,
Please try this custom css in Theme Panel > Custom Css and change the font size how you wish: http://screencast.com/t/9xAbh0TBWllH
.td-header-style-10 .td-logo-text {
font-size: 50px;
}
Thanks!
I’m using Header Style # 10 – “Full Menu + Text Logo”. How can I change the font size of the text logo?
I need to make it smaller. Please see the following URL:
http://s559855489.onlinehome.us/
Hi,
Unfortunately theme doesn’t have an option for this, but you can do it via custom css in Theme Panel > Custom Css.
Date – http://screencast.com/t/epJIMMQAnE
header .meta-info .entry-date {
color: red;
}
Tag cloud – http://screencast.com/t/ffbWxhyDQ
.widget_tag_cloud .tagcloud a {
background-color: green;
}
I’m not sure about the number of comments where you want to change the color:
-post – http://screencast.com/t/ASDa2wFaKGP5
header .entry-comments-views {
color: blue;
}
-blocks/modules – http://screencast.com/t/XTYcrRM6Lu
.td_mod_wrap .entry-comments-views {
color: blue;
}
Thanks!
Great stickies, thanks Chris!
The code you suggest for the htaccess:
# END WordPress
AddType text/javascript .js
AddType application/vnd.ms-fontobject .eot
AddType application/x-font-ttf .ttf
AddType application/x-font-opentype .otf
AddType application/x-font-woff .woff# BEGIN Expire headers
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault “access plus 5 seconds”
ExpiresByType image/x-icon “access plus 2500000 seconds”
ExpiresByType image/jpeg “access plus 2500000 seconds”
ExpiresByType image/png “access plus 2500000 seconds”
ExpiresByType image/gif “access plus 2500000 seconds”
ExpiresByType application/x-shockwave-flash “access plus 2500000 seconds”
ExpiresByType text/css “access plus 700000 seconds”
ExpiresByType text/javascript “access plus 700000 seconds”
ExpiresByType application/javascript “access plus 700000 seconds”
ExpiresByType application/x-javascript “access plus 700000 seconds”
ExpiresByType text/html “access plus 600 seconds”
ExpiresByType application/xhtml+xml “access plus 600 seconds”
ExpiresByType font/truetype “access plus 2500000 seconds”
ExpiresByType font/opentype “access plus 2500000 seconds”
ExpiresByType application/x-font-woff “access plus 2500000 seconds”
ExpiresByType image/svg+xml “access plus 2500000 seconds”
ExpiresByType application/vnd.ms-fontobject “access plus 2500000 seconds”
</IfModule>
# END Expire headers# BEGIN Cache-Control Headers
<IfModule mod_headers.c>
<filesMatch “\.(ico|jpe?g|png|gif|swf)$”>
Header set Cache-Control “public”
</filesMatch>
<filesMatch “\.(css)$”>
Header set Cache-Control “public”
</filesMatch>
<filesMatch “\.(js)$”>
Header set Cache-Control “private”
</filesMatch>
<filesMatch “\.(x?html?|php)$”>
Header set Cache-Control “private, must-revalidate”
</filesMatch>
</IfModule>
# END Cache-Control Headers<IfModule mod_headers.c>
Header unset ETag
</IfModule>
<IfModule mod_alias.c>
RedirectMatch 403 /xmlrpc.php
</IfModule>
Would this replace the code generated by W3TC or be added before / after it?
W3TC code:
# BEGIN W3TC Browser Cache
<IfModule mod_deflate.c>
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
<IfModule mod_mime.c>
# DEFLATE by extension
AddOutputFilter DEFLATE js css htm html xml
</IfModule>
</IfModule>
# END W3TC Browser Cache
# BEGIN W3TC Page Cache core
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_COOKIE} w3tc_preview [NC]
RewriteRule .* – [E=W3TC_PREVIEW:_preview]
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} =””
RewriteCond %{REQUEST_URI} \/$
RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC]
RewriteCond “%{DOCUMENT_ROOT}/blog/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_PREVIEW}.html” -f
RewriteRule .* “/blog/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_PREVIEW}.html” [L]
</IfModule>
# END W3TC Page Cache core
Cheers
Hi,
Please try this custom css in Theme Panel > Custom Css: http://screencast.com/t/sLx7yqHhX1r – http://screencast.com/t/LvetKBLGE
.sf-menu a.sf-with-ul {
padding-right: 11px;
}
.sf-menu > li > a {
padding: 0px 1px 0px 8px;
}
.sf-menu .td-icon-menu-down {
padding-left: 2px;
}
.sf-menu {
margin-left: 0px;
}
.top-header-menu li a {
margin: 0px 10px 0px 0px;
}
@media (min-width: 768px) and (max-width: 1023px) {
.sf-menu > li > a {
font-size: 10px !important;
padding: 0px 10px 0px 0px !important;
}
.sf-menu a.sf-with-ul {
padding-right: 18px !important;
}
.sf-menu .td-icon-menu-down {
font-size: 8px !important;
}
}
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
Tks Alin,
About the ads management:
2. There’s a problem with your ads manager, for the ads in articles, you can access this url:
hxxp://concursospublicos.ninja/tecnologo-pode-prestar-concurso/
I used the “article top ad” with a 336x280px ads, and is appearing a horizontal ads. And in “article bottom ads” I used a responsive ads.
In the homepage I used:
– a 728x90px in custom_ad_1 after the header block named “em destaque” and a responsive ads in custom_ad_2 after the block named “preparacao”.
As you can see doesnt matter the size of the ads blocks, your theme have own sizes in specific locations. I dont know why this is happening, I tried to desactive all plugins (except visual composer) I verified another site with the same theme, and it is working fine (like hxxp://sensacionalista.com.br).
9. How can I create “sliding sidebar blocks” like in the demo of newsmag? Note that I want to use this functionality with the sidebar blocks created in visual composer, not with the widgets.
10. About the size of the cover images for the articles. I tried to use the plugin Regenerate Thumbnails, but without sucess with your theme.
What I can do to adjust a better view to the images in each type of visualization that you theme offer? For example, for the same posts your theme use diferent sizes for the homepage and for the page of the categories.
As you can see the same post “O Que Faz um Analista Tributário da Receita Federal?” with the cropped image in the page of category:
hxxp://concursospublicos.ninja/carreiras/
But not cropped in the:
hxxp://concursospublicos.ninja/
Thanks- a bit of confusion. When I’m adding the code for the header banner, do I put in the code three times in that space with separate divs each for desktop, tablet and mobiles?
Hi,
I have checked your site and you use your code in this div – http://screencast.com/t/boEHllrjKND to display it like we recommend to display image banners – https://forum.tagdiv.com/ads-system-full-guide/
Try to paste your code directly in header ad section without any div or use all those divs also for tablets and phones.
The css code is added automatically to that class on mobile devices – http://screencast.com/t/JfGky8Dv – http://screencast.com/t/ff21kn4jdpof
Result: http://screencast.com/t/ltoVVENqX
Thanks!
Hi,
Unfortunately the theme doesn’t have an option for this, you will need custom modification to achieve that.
For header style 4 the logo is called in the menu – http://screencast.com/t/2Uvbl1B7d you can cut the code from here and add it in the header style 4 template – http://screencast.com/t/e5vlZgDXE8
You will need also css adjustments – http://screencast.com/t/Z7peKWbSjDZ – http://screencast.com/t/NXEr2ULbBg
@media (min-width: 768px){
.td-header-style-4 .td-header-menu-wrap {
float: left;
}
}
@media (max-width: 767px){
.td-header-style-4 .td-main-menu-logo img{
top: 80px;
z-index: 100;
}
}
You may need more css customization you can take this as reference and customize it like you want. Also if you don’t have basic php/css/html experience I suggest to hire a professional to do this for you as we cannot provide custom work for the moment, sorry!
Also you can use media queries and position absolute for your logo, but you need to add a another position on different screen sizes.
For example: http://screencast.com/t/SvgdqKuuS8
Thanks!
8. How can I select the categories that will show posts in the “Trending Now” (in the header).
Tks Alin, some comments:
1. I dont know if is I or you that didnt understand, I want the show 3 figures in the header (just occurs to my homepage) when I click in a specific category, for example to:
hxxp://concursospublicos.ninja/preparacao/
You can see that my categories have 5 images in the header (like in the default version, not the tech version).
2. Solved.
3. Solved.
4. I´m facing problems with the adsense implementation in the middle of homepage.
I did many tests, I created 728×90 ads block and a responsive block, the 728×90 I put in the custom_ads1, after the posts of the category “notícias” as you can see in my homepage, and after the category “preparação” (above the latest articles) I put a responsive ads.
For both, the size appears responsive. And by this way I can conclude that isn’t a problem with the adsense code. So why it appeared responsive? I want to use 728×90 ads like appears in the newspaper theme.
5. Solved.
Anothers questions.
6. How can I remove the “latest articles” from homepage and bring the widget “stay connected” to the top of the sidebar? I don’t know how to decrease the distance between the sidebar blocks of the visual composer and the blocks created in the widget section.
7. In the visual composer blocks, like I did to the category “notices” (notícias) in the top of my site, how can I put buttons to show next and previous notices? Like in this site hxxp://sensacionalista.com.br