- 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
I use HEADER AD as a link to the page of my site ibcm.biz .
Some browsers do not show Ad, so they have an empty space. How in place of HEADER AD just to place a picture with a link? Just as the logo works.
I use HEADER AD as a link to the page of my site. After changing the banner does not show it in the mobile version ibcm.biz. What is the reason?
Hi,
I do not know why the logo on the desktop suddenly small. It just happened today, although in the custom css section I followed the instructions of tagDiv. Codes are below:
@media (max-width: 1140px){
.td-main-menu-logo img {
max-width: 165px;
}
}
td-main-menu-logo img{
width: 160px;
}
.td-header-style-5 .td-main-menu-logo{
margin-right: 22px;
}
Image attach: http://www.screencast.com/t/M001fE1hy6
and my site: https://livingnomads.com/2016/05/sealife-nha-trang/
Thank you for reading!
Hi, how are you? Can we do the same for the footer? Because if I got to the Header directory I will find the ads.php file, but if I go to the footer’s directory, there is no Ads.php file.
Thanks!
Hello,
How is about my query: header menu such as Tôn chỉ, Tu Phật, Vấn đáp… does not show up on mobile theme?
My website is: http://www.daotrangtuphat.com
Thanks!
Hi,
I added a youtube player in a accordion, I’m having issues when
i want the youtube to be played in full screen, the header cuts off the top of the player
and all the other elements on the page sits on top of the player,
how do i fix this, when player is in full screen it should be
ontop of the page from inside a accordion?
Thanking you in advance for the help,
Hello mrtran,
If you want to insert more ads for your website, notice that you should use the Custom Ads and add them inside your website, using the Ad Box element and Top, Inline, Bottom Ad elements. For more information about our Ads, please check the following useful guide here -> https://forum.tagdiv.com/header-ads-adsense/ -> https://forum.tagdiv.com/article-ads/
Thanks for your understanding!
Hello Catlin,
Please can you have a look on the ads header and why it’s not showing after i added a google adsense code to the header ads using the theme panel.
-
This reply was modified 9 years by
fessor10.
Hi,
Simply changing the setting to “No stretch” should do just what it says. There is no other option to override this setting. These are the overriding settings to force the full width for the header and footer elements.
They are useful when you set a background color or image for example, and the website becomes boxed
– https://forum.tagdiv.com/background-introduction/
It must be a caching issue, maybe the server has caching. You could check if that is the case. If no caching is installed, then the changes should be reflected as soon as the page is refreshed.
Thanks
Hello there, I’m looking at creating an advertise us page for my blog fnbent.com using the way it’s looking here http://corp.naij.com/ How do i achieve this with the newspaper template and also my header ads has refused to show ever since i pasted the link for google adsense.
Hello,
yesterday I got the theme and so far I can only say it’s great value for the money!
However I have a small issue I encountered: I was trying out all the options and features on my localhost and encountered a problem that I can’t seem to resolve – after using force full width option to stretch ‘header – logo and ad space’ and ‘footer’ to full width, I can’t seem to get them back to original state. They are just stuck in the full width regardless of what options I choose. Here’s screenshot of what my current settings are at http://i.imgur.com/5dqJIcE.png but the header and footer areas are still stretched full width.
Is there some other option that overrides these options on screenshot and I missed it?
I saw someone here on forum mentioned caching plugin might be issue, so I removed that but it still stays stretched.
Thanks in advance!
Hi,
I’m migrating a site from one host to another. I made a backup using Updraft Plus and moved everything across to the new location, which worked fine. I then went to install the Newspaper theme and it seems to have installed correctly. But when I go to activate tagDiv Composer I get:
The plugin does not have a valid header.
Downloading install package from /wp-content/themes/Newspaper/includes/plugins/td-composer.zip…
Download failed. A valid URL was not provided.
I’ve no idea why – any ideas?
Thanks.
Hello 1CBAR1,
If you want to change the colors you should check the theme panel at the Section Theme Colors and change from there what colors you want. -> https://www.screencast.com/t/jdHscyZIQQ2s
Also, you can use a bit of CSS code to if you want to change the image which is applied to all block header, like this -> https://www.screencast.com/t/jdHscyZIQQ2s
Thanks for your understanding!
Hello,
Sorry but our theme does not have such options to change the direction of the text based on specific categories.
You can try to do make a custom code implementation for this process to be easier. It is a simple 2 step process.
You can add a custom body class on the posts belonging to your category and then apply css to the new class like so:
1) Ad this code in functions.php:
add_filter( 'body_class','my_body_classes' );
function my_body_classes( $classes ) {
if ( in_category('Gadgets') ) {
$classes[] = 'RTL_Post';
}
return $classes;
}
Example: https://www.screencast.com/t/xyOvs6S8ESw
Replace ‘Gadgets’ with your category name.
Now all your posts belonging to the category you specified will get a custom class you can target with css.
Now you can use this css to change the direction of the post title and content to right to left.
2) Add this css code in your theme panel-> custom css box:
https://www.screencast.com/t/6FZNA1fsARvk
.RTL_Post .post header .entry-title, .RTL_Post .td-ss-main-content{
direction:rtl;
}
Thanks.
Hello @ruzzolo
Add following code to Custom CSS field in theme panel.
/**Add border to top menu**/
.td-header-style-1 .td-header-top-menu-full {
border-top: 4px solid #009688;
}
/**Add border to main menu**/
.td-header-style-1 .td-header-menu-wrap-full {
border-bottom: 4px solid #009688;
}
The code will work for Header style 1
You can assign your style number if you using another header style to work with it.
Thank you for your understanding.
Yoast is not the de facto expert about SEO, only one purveyor, and NOT always right. We’ve been doing it since 1995, long before the Yoast crew ever saw a web browser; we were the #1 result on Yahoo for a decade under “keyword optimization.” But whatEVAH. I give advice, not everybody gets it. It does *not* hurt your SEO either way, as the CONTENT, and the title, description first 185 characters, sub heads, outbound organic links, inbound organic links, referential content, and ORIGINAL CONTENT are what help SEO.
Again, search engines KNOW the difference between modern DOM markup for sections of pages, and KNOW what h1 does where. A logo h1 in header container is not treated as superior to h1 tag for content in article container.
SEO = “search engine optimization” — not “website optimization” — so, Google, Bing, Yandex, etc., all know how to read modern HTML5/DOM/markup.
Just FYI anybody reading this thread later.
Matt Cutts addressed this in video in 2009, although he is no longer with Google.
Google webmaster central help forum has addressed this multiple times, including this answer on this same topic from Dec. 2016:
We don't treat HTML5 differently & having multiple H1 tags on a page is fine. Be reasonable when using them, use them where they make sense. There's definitely no penalty for using H1s.
Don’t assume the sky is falling just because some ancient article tells you some bad info about pre-HTML5 era code and modern DOM usage. Modern code is very very different from 20th century webdev. Modern code has markup and sections to define a header from a footer, from an article section, etc. (for instance, Apple uses the article section on iOS to make an ‘easy to read’ version of page available and for SIRI to read).
Feel free to change stuff if you feel strongly about it, but don’t presume that Google, Bing, Yandex etc. care one way or another. Usage on the logo is correct in this context as it’s unrelated to the content SEO for the actual page content.
Hope that helps somebody as this comes up on every theme forum these days.
Kind of like the people who still freak about about the srcset attribute
Not really theme related. You probably need to contact your hosting provider, as those settings are based on your server, and local site and nothing to do with WordPress or the TagDiv theme. Ideally, they should be able to tell you the correct settings.
Also note you cannot control time to live for browser caching of images hosted elsewhere, such as loaded off FB, ad networks, content loaded from another site, etc. Cache control headers will only help with locally hosted content on your server alone.
(( I don’t work here. ))
-
This reply was modified 9 years by
simchris.
I tried expiry headers from my host https://www.siteground.com/kb/leverage-browser-caching/
but the same problem still exists. Also, I did delete the cache.
Here is the content of my .htaccess
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTPS} !on [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.mysite.com/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^mysite.com [NC]
RewriteRule ^(.*)$ https://www.mysite.com/$1 [R=301,L]
#disable hotlinking of images with forbidden or custom image option
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?mysite.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com [NC]
RewriteRule \.(jpg|jpeg|png|gif)$ – [NC,F,L]
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg “access 1 year”
ExpiresByType image/jpeg “access 1 year”
ExpiresByType image/gif “access 1 year”
ExpiresByType image/png “access 1 year”
ExpiresByType text/css “access 1 month”
ExpiresByType application/pdf “access 1 month”
ExpiresByType application/javascript “access 1 month”
ExpiresByType application/x-javascript “access 1 month”
ExpiresByType application/x-shockwave-flash “access 1 month”
ExpiresByType image/x-icon “access 1 year”
ExpiresDefault “access 2 days”
</IfModule>
## EXPIRES CACHING ##
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
</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>
# END WordPress
AddHandler application/x-httpd-php70 .php .php5 .php4 .php3
RewriteEngine on
RewriteBase /
RewriteRule ^naturopathic/(.*) https://www.mysite.com/naturopathy/$1 [R=301,L]
RewriteRule ^physical-therapist/(.*) https://www.mysite.com/physical-therapy/$1 [R=301,L]
RewriteEngine on
Redirect 301 /physical-therapist https://www.mysite.com/physical-therapy
Redirect 301 /naturopathic https://www.mysite.com/naturopathy
Hey you using Nginx server. And you using apache tips
Use expiry header for Nginx
This may help you
https://www.nginx.com/blog/9-tips-for-improving-wordpress-performance-with-nginx/
Use following code instead:
# BEGIN Caching
<ifModule mod_headers.c>
<filesMatch "\\.(ico|pdf|flv|jpg|jpeg|png|gif|swf)$">
Header set Cache-Control "max-age=2592000, public"
</filesMatch>
<filesMatch "\\.(css)$">
Header set Cache-Control "max-age=604800, public"
</filesMatch>
<filesMatch "\\.(js)$">
Header set Cache-Control "max-age=216000, private"
</filesMatch>
<filesMatch "\\.(xml|txt)$">
Header set Cache-Control "max-age=216000, public, must-revalidate"
</filesMatch>
<filesMatch "\\.(html|htm|php)$">
Header set Cache-Control "max-age=1, private, must-revalidate"
</filesMatch>
</ifModule>
# END Caching
Hi,
I have set the Leverage Browser Caching as recommended in https://forum.tagdiv.com/how-to-make-the-site-faster/
However, all the .jpg and .png files such as header and mobile logos, images, etc shows:
.jpg (expiration not specified)
.png (expiration not specified)
How can I fix it?
Thanks
Ok so following Catalin’s advice to change logo-h1.php to logo.php this is the situation on my Header-style-5.php file. http://prntscr.com/fmruov
When I remove this h1 the logo is removed completely.
Appreciate any advice here.
Thanks
Hi,
There must be some instructions about where to add the code form the provider of the code. Usually codes need to be entered in the head section. Try entering it in the header.php file located in the main theme folder, between the head tags
– https://www.screencast.com/t/2i5dTKKzs
Thanks
Hello,
You do not need to alter style.css as the theme panel has a custom css section where you can add your custom code.
You can try this code in the theme panel:
@media (min-width: 1019px){
.td-header-style-1 .td-header-sp-recs, .td-header-style-1 .td-header-sp-logo {
margin-bottom: 2px!important;;
}}
Thanks.
Hi Catalin,
I’m having the following issue with the page http://gbhackers.com/wp-content/themes/Newspaper/
Fatal error: Call to undefined function get_header() in /home/gbhabewi/public_html/wp-content/themes/Newspaper/index.php on line 6
Please let me know exactly what to do, I’m not an expert in WordPress so unable to understand.