Search Results for 'header manager'

    No search results were found in Documentation!

Results from the Forum
Michael
tagDiv Member

It works once I added the code in the mobile/header.php template.

Also people, if you are using a Google Tag Manager plugin don’t forget to add the code in as well, otherwise no mobile traffic will show in analytics.

jarmoud
Participant
#0

Hello,
I’m using this plugin for my ads: WP PRO Advertising System – All In One Ad Manager (http://codecanyon.net/item/wp-pro-advertising-system-all-in-one-ad-manager/269693), it works fine but when I put more than one ads on the header, they doesn’t appear (only on header).
My website : https://reference-muslima.fr/

Thanks.

cybergetro
tagDiv Member

In the past, I used this code [sam id=X codes=false] to run Simple ADS Manager.

Now, I’m using SAM Pro and the recent version of Newspaper.

Can I use the same code on Header ADS area? Because I tried, but didn’t work… 🙁

Andrei L.
tagDiv Member

Hi

According with google documentation the script for tag manager must be added immediately after the body tag. In our theme the body tag start in header.php file so you can try to add your code here: http://screencast.com/t/nHxJfgt1uOy If the problem persist you should address at google’s support and ask them for more details regarding this code implementation.
Also you can test it with a default theme and check how it works.

Thanks!

simchris
tagDiv Member

You can use an ad manager plugin to rotate different ad units in the header. Many of us use “AdRotate” – so worth looking at that.

Bogdan B.
tagDiv Staff

Hello,

1) You can remove the search from the menu either with css or by removing it from the theme files.
css:
.header-search-wrap{
display:none!important
}

from the files: http://screencast.com/t/X6DjcpVf

2)You can select the ad size you want for every screen size from the theme
panel:http://screencast.com/t/AnJ59mR8S

3)The best solution is to use an ad manager (plugin) which is inserted into ad spots and has if/then checks to exclude category by ID, skip placement as part of post page, etc. (The theme has no option for it)

Thank you!

Bogdan B.
tagDiv Staff

Hello,
Our theme uses the ad system described here: https://forum.tagdiv.com/header-ad/
I’m not sure you can add ads to wordpress without the use of plugins/ ad managers/ themes.
Thank you!

Lucian
tagDiv Staff

Hi,

The theme automatically re-sizes your adsense banners if a custom size is not set from theme’s panel: http://screencast.com/t/wradJleKhttps://forum.tagdiv.com/header-ad/ and if left as default it sets sizes specific to the device on which it’s loaded. If this is not what you need you can configure this and set the ad sizes for each spot from theme’s panel or if you wish the theme not to handle/interfere with your adsense ad codes you can turn to an adv manager plugin to render your ad codes and use theme’s ad spots just for placements, in that case you can use plugin’s shortcodes to place your ads on theme’s specific ad spots.

Hope this helps!
Let me know if you need additional info on any of these aspects!

Thanks!

Catalin
tagDiv Staff

Hi news_lp_client,

Our theme has been designed to use google ad sense. Another possibility would be using custom ads like this: http://screencast.com/t/AYiOMCC6http://screencast.com/t/MFobfDZr . If you need to rotate ads there we suggest you try an ad manager plugin like AdRotate like we also suggested in theme’s ads guide: http://screencast.com/t/1QFQWqVE1Ao .
For more information about this, please consult our documentation to ads section: https://forum.tagdiv.com/header-ad/ and you can find a lot of information about using ads.

Hope this helps.

Thanks.

Lucian
tagDiv Staff

Hi snowwatchGB,

I’ve checked your site and found you’re not using an adsense ad code and it doesn’t have the same structure: http://screencast.com/t/qHX6oUQi and that’s why the theme doesn’t re-sizes it and it look as it does on tablets screens.

Please make sure you use there just and adsense ad code: http://screencast.com/t/wTlFZSlu and test this again, this is how it should look: http://screencast.com/t/YBfXlkO8

If you need to rotate ads there we suggest you try an ad manager plugin like AdRotate like we also suggested in theme’s ads guide: http://screencast.com/t/1QFQWqVE1Aohttps://forum.tagdiv.com/header-ad/

Thanks

Alin [tagDiv]
tagDiv Staff

Hi,

I have checked the link and it works. You also can find it in theme’s documentation(right side on forum) or top menu (Newspaper 6 documentation) – https://forum.tagdiv.com/header-ad/
You will have to use those div containers to display non-adsense or you can use a plugin like AdRotate or Simple Ads Manager that are used by many users and place the plugin shortcode in Theme Panel > Ads section as the theme ad system was designed to work with shortcodes.

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

Unfortunately the theme ad system was designed for adsense code and other codes may not be displayed. You can try to use a plugin like AdRotate or Simple Ads Manager that are used by many users and use the shortcode in Theme Panel > Ads section check docs – https://forum.tagdiv.com/header-ad/

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

The theme doesn’t have an option to rotate banners and you will have to use a plugin for this. You can try a plugin like AdRotate or Simple Ads Manager that are used by many users and use the shortcode in Theme Panel > Ads section check docs – https://forum.tagdiv.com/header-ad/

Thanks!

Thomas
tagDiv Member

Hello Chris

Thanks for your advices.

I change all things your propose to us.

One thing I don’t understand is that in PageSpeed or GT
https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.virtualmagie.org%2F
I always have the cache time end problem.

Here my htaccess content.
There is your code and so all files normaly have to be expired.

Other things :
I have W3 Total Cache but you don’t recomand it.
So I install the ZenCache Pro but it mess the site.
Finaly I used superCache and PHP optimization and compression seems to mess too and I was forced to delete it.
Note that our site is on a dedicated server.
So for waiting I activate the Falcon mode in Wordfence.

#WFIPBLOCKS - Do not remove this line. Disable Web Caching in Wordfence to remove this data.
Order Deny,Allow
#Do not remove this line. Disable Web Caching in Wordfence to remove this data - WFIPBLOCKS
#WFCACHECODE - Do not remove this line. Disable Web Caching in Wordfence to remove this data.
<IfModule mod_deflate.c>
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_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
<IfModule mod_mime.c>
AddOutputFilter DEFLATE js css htm html xml
</IfModule>
</IfModule>
<IfModule mod_mime.c>
AddType text/html .html_gzip
AddEncoding gzip .html_gzip
AddType text/xml .xml_gzip
AddEncoding gzip .xml_gzip
</IfModule>
<IfModule mod_setenvif.c>
SetEnvIfNoCase Request_URI \.html_gzip$ no-gzip
SetEnvIfNoCase Request_URI \.xml_gzip$ no-gzip
</IfModule>
<IfModule mod_headers.c>
Header set Vary "Accept-Encoding, Cookie"
</IfModule>
<IfModule mod_rewrite.c>
#Prevents garbled chars in cached files if there is no default charset.
AddDefaultCharset utf-8

#Cache rules:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} on
RewriteRule .* - [E=WRDFNC_HTTPS:_https]
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteRule .* - [E=WRDFNC_ENC:_gzip]
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{HTTPS} off
RewriteCond %{QUERY_STRING} ^(?:\d+=\d+)?$
RewriteCond %{REQUEST_URI} (?:\/|\.html)$ [NC]

RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|wf_logout|wordpress_logged_in|wptouch_switch_toggle|wpmp_switcher) [NC]

RewriteCond %{REQUEST_URI} \/*([^\/]*)\/*([^\/]*)\/*([^\/]*)\/*([^\/]*)\/*([^\/]*)(.*)$
RewriteCond "%{DOCUMENT_ROOT}/wp-content/wfcache/%{HTTP_HOST}_%1/%2~%3~%4~%5~%6_wfcache%{ENV:WRDFNC_HTTPS}.html%{ENV:WRDFNC_ENC}" -f
RewriteRule \/*([^\/]*)\/*([^\/]*)\/*([^\/]*)\/*([^\/]*)\/*([^\/]*)(.*)$ "/wp-content/wfcache/%{HTTP_HOST}_$1/$2~$3~$4~$5~$6_wfcache%{ENV:WRDFNC_HTTPS}.html%{ENV:WRDFNC_ENC}" [L]
</IfModule>
#Do not remove this line. Disable Web caching in Wordfence to remove this data - WFCACHECODE
# BEGIN iThemes Security - Do not modify or remove this line
# iThemes Security Config Details: 2
# Enable HackRepair.com's blacklist feature - Security > Settings > Banned Users > Default Blacklist
# Start HackRepair.com Blacklist
RewriteEngine on
# Start Abuse Agent Blocking
RewriteCond %{HTTP_USER_AGENT} "^Mozilla.*Indy" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Mozilla.*NEWT" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^$" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Maxthon$" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^SeaMonkey$" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Acunetix" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^binlar" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^BlackWidow" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Bolt 0" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^BOT for JCE" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Bot mailto\:craftbot@yahoo\.com" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^casper" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^checkprivacy" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^ChinaClaw" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^clshttp" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^cmsworldmap" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^comodo" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Custo" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Default Browser 0" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^diavol" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^DIIbot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^DISCo" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^dotbot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Download Demon" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^eCatch" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^EirGrabber" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^EmailCollector" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^EmailSiphon" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^EmailWolf" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Express WebPictures" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^extract" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^ExtractorPro" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^EyeNetIE" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^feedfinder" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^FHscan" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^FlashGet" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^flicky" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^g00g1e" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^GetRight" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^GetWeb\!" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Go\!Zilla" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Go\-Ahead\-Got\-It" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^grab" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^GrabNet" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Grafula" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^harvest" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^HMView" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^ia_archiver" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Image Stripper" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Image Sucker" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^InterGET" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Internet Ninja" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^InternetSeer\.com" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^jakarta" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Java" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^JetCar" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^JOC Web Spider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^kanagawa" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^kmccrew" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^larbin" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^LeechFTP" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^libwww" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Mass Downloader" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^microsoft\.url" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^MIDown tool" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^miner" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Mister PiX" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^MSFrontPage" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Navroad" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^NearSite" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Net Vampire" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^NetAnts" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^NetSpider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^NetZIP" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^nutch" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Octopus" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Offline Explorer" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Offline Navigator" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^PageGrabber" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Papa Foto" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^pavuk" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^pcBrowser" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^PeoplePal" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^planetwork" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^psbot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^purebot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^pycurl" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^RealDownload" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^ReGet" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Rippers 0" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^sitecheck\.internetseer\.com" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^SiteSnagger" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^skygrid" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^SmartDownload" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^sucker" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^SuperBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^SuperHTTP" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Surfbot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^tAkeOut" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Teleport Pro" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Toata dragostea mea pentru diavola" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^turnit" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^vikspider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^VoidEYE" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Web Image Collector" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Web Sucker" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebAuto" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebBandit" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebCopier" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebFetch" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebGo IS" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebLeacher" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebReaper" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebSauger" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Website eXtractor" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Website Quester" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebStripper" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebWhacker" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WebZIP" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Wget" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Widow" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WPScan" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WWW\-Mechanize" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^WWWOFFLE" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Xaldon WebSpider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Yandex" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^Zeus" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "^zmeu" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "360Spider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "AhrefsBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "CazoodleBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "discobot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "EasouSpider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "ecxi" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "GT\:\:WWW" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "heritrix" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "HTTP\:\:Lite" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "HTTrack" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "ia_archiver" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "id\-search" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "IDBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Indy Library" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "IRLbot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "ISC Systems iRc Search 2\.1" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "LinksCrawler" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "LinksManager\.com_bot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "linkwalker" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "lwp\-trivial" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "MFC_Tear_Sample" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Microsoft URL Control" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Missigua Locator" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "MJ12bot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "panscient\.com" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "PECL\:\:HTTP" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "PHPCrawl" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "PleaseCrawl" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "SBIder" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "SearchmetricsBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "SeznamBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Snoopy" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Sogou" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Steeler" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "URI\:\:Fetch" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "urllib" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Web Sucker" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "webalta" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "WebCollage" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Wells Search II" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "WEP Search" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "XoviBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "YisouSpider" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "zermelo" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "ZyBorg" [NC,OR]
# End Abuse Agent Blocking
# Start Abuse HTTP Referrer Blocking
RewriteCond %{HTTP_REFERER} "^https?://(?:[^/]+\.)?semalt\.com" [NC,OR]
RewriteCond %{HTTP_REFERER} "^https?://(?:[^/]+\.)?kambasoft\.com" [NC,OR]
RewriteCond %{HTTP_REFERER} "^https?://(?:[^/]+\.)?savetubevideo\.com" [NC]
# End Abuse HTTP Referrer Blocking
RewriteRule ^.* - [F,L]
# End HackRepair.com Blacklist, http://pastebin.com/u/hackrepair

<IfModule mod_rewrite.c>
RewriteEngine On

# Reduce Comment Spam - Security > Settings > System Tweaks > Comment Spam
RewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} /wp-comments-post\.php$
RewriteCond %{HTTP_USER_AGENT} ^$ [OR]
RewriteCond %{HTTP_REFERER} !^https?://(([^/]+\.)?virtualmagie\.org|jetpack\.wordpress\.com/jetpack-comment)(/|$) [NC]
RewriteRule ^.* - [F]
</IfModule>
# END iThemes Security - Do not modify or remove this line

## EXPIRES CACHING ##
<IfModule pagespeed_module>
ModPagespeed on
ModPagespeedEnableFilters collapse_whitespace
ModPagespeedEnableFilters remove_comments
ModPagespeedEnableFilters rewrite_images
ModPagespeedEnableFilters insert_dns_prefetch
</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

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>

Alin [tagDiv]
tagDiv Staff

Hi,

Please check documentation, the theme ad system was designed to work with adsense code and the theme will make it responsive and the ad will fill the available space. For non-adsense code you will need to have a specific size fore each device as the theme will not handle it – https://forum.tagdiv.com/header-ad/ or you can try to use a plugin AdRotate or Simple Ads Manager that are used by many users especially for ad rotate.

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

Please paste the code in header.php file – http://screencast.com/t/YYh31R6DuhQ right after open body tag like it is recommended here – https://support.google.com/tagmanager/answer/6103696

Thanks!

paivadaniel
tagDiv Member

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/

Lucian
tagDiv Staff

Hi,

Have you managed to get this done: https://forum.tagdiv.com/topic/simple-ads-manager-on-header/#post-36416
Please also open a new topic in the newspaper theme forum area and address you question/issue there.
https://forum.tagdiv.com/forum/newspaper/

Thanks for understating!

soundcheckentertainment
tagDiv Member

I have a related question. We are getting ready to launch our new site with the Newspaper theme and although the theme is incredible with a tone of options we are struggling to figure out how to place non-adsense ads into the header and other locations.

In the past we used SH Slideshow which simply used a shortcode, I tried that and it didn’t work. I also have the option of using a PHP script (<?php shslideshow(1); ?>), this also didn’t work.

I installed Simple Ads Manager but it’s a Widget based system and I can’t figure out how to get a widget into the header ad space.

Can you help?

TheMediumUTM
tagDiv Member

This is a very handy plugin for that sort of thing: https://wordpress.org/plugins/q2w3-inc-manager/ And there may be others like it that are more current, but this one was recommended by our ad providers.

Lucian
tagDiv Staff

Hi,

I tooth that you refer to an ad, either way you would have to edit those files and add your script there. I would not know to tell you how it would behave, you should try to get someone who knows how to do it if you don’t or you should ask your ad managers how you should add it, the files remain the same.

Thanks

slaugier
Participant
#0

Hello,

I have one question, I am about to add some custom ads in my website and my add manager (Taboola) is asking me to add one script in the <head> section and one script at the end of my <body> tag, (I assume it is after… )

How can I do this ?

Thanks in advance and thanks again for the amazing theme ! 🙂

Cherry
Participant
#0

Ok now, here’s the story:

I deleted my whole blog because still having issues. So I reinstalled everything new (had the demo running, now own build) I also thought, that Cloudflare would be the problem- but it isn’t (right now I don’t use CF)

Christopher Simmons helped me a lot- so I was able to solve a lot of things on my own.

But there are still some things I can’t handle on my own (seems like it) – and I’m on the edge of despair.

FYI my installed plugins:

tagbooster, W3 Total Cache, wpSeo, Code Embed, TinyMCE, Animated Gif Resize, Antispam Bee, Async JS and CSS, Broken Link Checker, Contact Form 7, EWW Image Optimizer, Jetpack, Query Strings Remover, WP DB-Manager, Google XML Sitemaps and the Visual Composer.

No matter what I do (installing Query Strings Remover or adding a code to the functions.php) I STILL HAVE PROBLEMS WITH THE “REMOVE QUERY STRINGS”

I really need someone to help me fix this or show me how to! I’m so helplessly I could cry over this!

I would like to start with adding content, but this makes me really desperate

The claimed files are:

Remove query strings from static resources
C (70)
88%
Content High
What does this mean?
Resources with a “?” in the URL are not cached by some proxy caching servers. Remove the query string and encode the parameters into the URL for the following resources:

http://cherrykoks.de/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=4.1
http://cherrykoks.de/wp-content/themes/Newspaper/includes/wp_booster/external/bootstrap/td-bootstrap.css?ver=4.1
http://cherrykoks.de/wp-content/themes/Newspaper/style.css?ver=4.1

Next one is:

Specify a cache validator
A (90)
93%
Server High
What does this mean?
The following resources are missing a cache validator. Resources that do not specify a cache validator cannot be refreshed efficiently. Specify a Last-Modified or ETag header to enable cache validation for the following resources:

http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic|Ubuntu:400,400italic|Open+Sans:400italic,400|Oswald:400,700|Roboto+Condensed:400italic,700italic,400,700?ver=4.1

http://gtmetrix.com/reports/cherrykoks.de/4u0OTZRR

Note: I use as fonts: Georgia and Times New Roman over the whole blog! I was reading a lot of threads with tips as “Comment them out” “delete it” and this is also not working. When I try to comment out in functions.php I get a syntax error. And to delete: I don’t know which lines, because my functions.php looks a little bit different.

The font problem also appears in :

Add Expires headers
B (89)
25%
Server High
What does this mean?
There is 1 static component without a far-future expiration date.
http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic|Ubuntu:400,400italic|Open+Sans:400italic,400|Oswald:400,700|Roboto+Condensed:400italic,700italic,400,700?ver=4.1

Page Speed Insights for example is complaining about the “above the fold” thing on mobile Devices and desktop, these are the same files- which GTMetrix claims with “remove query strings”

see here: https://developers.google.com/speed/pagespeed/insights/?url=cherrykoks.de&tab=mobile

Everything else is ok for me- but how can I solve the “few” problems.

I hope there’s an angel in this forum who can save me from getting nuts.

If someone of you needs any file information, let me know. I’m glad for any help with this!

Julia

TrulyLocal-Newspaper
tagDiv Member

Thanks MIXVICE for the advice….it worked.
Using sFTP access, I first saved the PLUGINS folder as “disabled_plugins”
Then deleted the PLUGINS folder
Was then able to access the WP admin manager
Changed the name of “disabled_plugins” back to PLUGINS
All the required plugins reloaded and everything worked well.

I also no realize that I didn’t have a list of other plugins we had previously installed and so am having to review and reactivate the non-required plugins that were lost.

thanks for your help!

Lucian
tagDiv Staff

Hi,

You can use a plugin to do it.

* Simple Ads Manager https://wordpress.org/plugins/simple-ads-manager/
* AdRotate https://wordpress.org/plugins/adrotate/

Thanks

Viewing 25 results - 1,426 through 1,450 (of 1,461 total)