Search Results for 'remove tag from post'

Results from the Forum
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,

1. Theme Ad system was designed for adsense code, for non-adsense banneres you will need to find a solution like those divs that we recommend, please check documentation – https://forum.tagdiv.com/header-ad/
Also you can hide it via custom css in Theme Panel > Custom Css: http://screencast.com/t/y3xrhMWWq8

@media(max-width: 767px) {
.td-header-sp-recs {
display: none !important;
}
}

2. Unfortunately the theme doesn’t have such an option, if unique articles feature is active it will be applied on all block from the page. You will have to filter posts by specific category on your blocks or maybe offset feature will help please check this – https://forum.tagdiv.com/unique-articles-and-offset-newspaper/

3. Unfortunately you will need to edit the plugin or use a hook to filter the content to add no follow to the button link and this is not an easy task. Also Call to action from Visual Composer is deprecated – http://screencast.com/t/DX7VtgZr9G and I guess that it will be removed.

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

Hi,

Unfortunately the page template with background has been removed and you will have to add the background image/color to the row. Please check this topic – https://forum.tagdiv.com/topic/change-background-color-of-the-big-slide-under-nav/#post-54593

Thanks!

Lucian
tagDiv Staff

Hi,

1. Unfortunately at the moment we don’t have an official documentation regarding theme’s regular child system and right now just files that are located in theme’s root can be overwritten using the child theme, this means posts template files(in this case just the default post template the single.php file as for the other ones we have some issues which we’re trying to fix as soon as possible), page templates, category/archive/author.. templates as well as the header and footer templates.

For modules and headers/block/modules and so on.. we’ve added the API based system about which you can find more detailed info here: https://forum.tagdiv.com/the-child-theme-method/

We also have this in our attention and plan to improve the child theme overwriting system in the near future. We hope to offer the possibility of overwriting most of theme’s files using the child theme and for that we have to find the best solution for it and the right implementation.

2. You can remove the default google fonts from the config file here: http://screencast.com/t/wmxKL4rF which can’t be edited using the child theme. Sorry!

Thanks for the message!

Bryson T
tagDiv Member

Time to add mine into the mix here. I just updated so I’m using Newspaper v6.1 and the child theme.

Inside The Star

I opted to go for sleek design attributes and dug apart the default styles. Features include:

  • Transparency on all container backgrounds
  • Full size fixed background image representing my site’s primary subject (Dallas Cowboys NFL Team)
  • Custom widget title blocks
  • Custom link colors on post templates with darker headers
  • Custom sharing buttons; removed default Pinterest button and replaced with a Reddit button
  • Using Open Sans and Roboto in a few places like menus and widgets, and using Merriweather for content and some titles, but Oswald for all headings and most titles.

I’m pretty pleased with how it came out and, of course, thanks go to tagDiv for revamping the theme in such a way that this was so easy to do. Seriously loving the speed of the theme, even with ads and outside javascript like an audio player loaded.

Comments and feedback welcome.

Bryson T
tagDiv Member

Well, you’re not “Fixing” anything, you’re customizing things.

Here’s what you can do. Mind you, these are only steps and locations; you need to know how to use CSS and HTML to actually perform the changes:

Adding WhatsApp & Removing Pinterest: The code for the default sharing blocks are in newspaper/includes/modules/td-module-single.php and there are two sections, one for above and one for below the post. They’re just links added to a variable so remove what you don’t need or change it as needed.

I wanted to add Reddit and remove Pinterest so I deleted the Pinterest blocks from both, created a td-social-reddit class for the background color, and changed the icon in the <i> element to td-icon-reddit and added the styles to the Custom CSS panel in the theme settings (to avoid overwriting on updates).

If the WhatsApp button uses a share URL and not a javascript function, it’s simple enough to copy the Google Plus button code in each location and adjust the URL in it and even add variables to it like I did with Reddit (See example on my site: Single post on my site showing the sharing buttons with Reddit and no Pinterest)

Please note that the default sharing buttons in that file all include some javascript inside of <script></script> tags within the chunk of code. This is primarily for handling the popup behavior of each link. Removing it or using your own JS without such a function will make clicking the share link open in the current full browser window, taking users away from your site.

Adding Pinterest to Images: There are several free and premium plugins that handle this. I suggest you implement one of them after removing the default Pinterest share button as described above.

These aren’t difficult changes to make, though. If you’re familiar with coding then it should be self-explanatory how to complete the steps above. Good luck!

MrOrsh
Participant
#0

Just Updated to 6.1 from 4 and after a few hours of rebuilding everything is sort of coming together. I however have two questions.

1. When changing the fonts everything seems to be working fine (on posts etc.) except for when I try to change it on the pages. Doesn´t matter what I chose, nothing changes. I have solved it with css by targeting the actual page-id and applying the p-tag (.page-id-81 p {font-size: 13px; !important;}. This is however an absolutely ridiculous way to solve it. This must be a bug.

2. Since most of my pictures don´t have captions i have removed the captions and text that says (1 of 12 etc) by using .mfp-bottom-bar {display: none; visibility: hidden;} in Custom CSS. I would also like to remove tha black overlay that appears on every modal/lightbox picture. How would I target that to get rid of it?

Thanks
Christoffer

simchris
tagDiv Member

WP strips out HTML in the author/bio box (“sanitizes”). This has always been the case. On many sites users are allowed to register, and HTML in ‘bios’ would be additional spam on the ‘author page.’

You have to modify the code, typically with functions.php to enable such functionality. Not theme related, specifically.

Try adding something like this to your functions.php file
in your theme folder, at bottom

//disable WordPress sanitization to allow more than just $allowedtags from /wp-includes/kses.php
remove_filter('pre_user_description', 'wp_filter_kses');

//add sanitization for WordPress posts
add_filter( 'pre_user_description', 'wp_filter_post_kses');

After activating this snippet, the author bios can include p, br, and other HTML tags.

Warning

WordPress sanitizes user input for security reasons, not just to annoy you and make you go on a hunt to find this post to learn how to override the annoying setting.

If you’re considering disabling the WordPress sanitization, make sure you trust your users to not enter potentially harmful content into their profile bios. This includes iframes, forms, and more.

Welcome to WordPress! 🙂

  • This reply was modified 11 years by simchris.
Lucian
tagDiv Staff

Hi,

1. Those style options are not present anymore. In theme version 4 the icons were added using sprites, while now the icons are added suing a custom font which can be adjusted using custom css so you can set their size/color. There aren’t any options available for this so if you need different styles you need to design them yourself or get some to do it for you.
Try this css for the icons: http://screencast.com/t/Z07gYhwfKK

.footer-social-wrap .td-icon-font {
font-size: 25px;
color: black;
}

.footer-social-wrap .td-social-style-2 .td-social-icon-wrap {
margin: 5px 6px 5px 0;
}

2. These seem to be widgets titles: http://screencast.com/t/h4mBBDIzENo not a duplicate content so check the tabs and edit those widget and remove any titles you find there then empty caches and/or purge files and test again.

3. Buttons shortcodes can be added to the posts pages even if you don’t use VC page builder there. You can enable the page builder on posts pages then add and customize the buttons there: http://screencast.com/t/BuC8hOsw8po0 or you can create the button on any page using VC pagebuilder then add the button shortcode to posts’s content, like this: http://screencast.com/t/TGdneMymGhttp://screencast.com/t/ug1KH2pvEBEG

Please also note that blocks haven’t been removed. You can still use that block you’ve mentioned, it’s block 1 on one column: http://demo.tagdiv.com/newspaper/block-1/ so you have to use another footer template and set the content you want for it choosing block 1 widget.

Thanks

Alin [tagDiv]
tagDiv Staff

Hi,

Please try regenerate your thumbnails to fix size issue – http://screencast.com/t/63VTQ15j5rS Also if you want background color for Big Slide articles like in version 4 of the theme, please edit you page and set Style 4 – http://screencast.com/t/m8cWbDMRhttp://screencast.com/t/X71ujJmiiL
Unfortunately the theme doesn’t have an option for this, but you can try to change it using custom css in Theme Panel > Custom Css and apply a color for post titles on pages(it will be applied also on Big Grid Slide) – http://screencast.com/t/wCh0iuWQlRe

.td-module-title a {
color: #a465a5 !important;
}

If you refer to the block title in version 6.1 it was added an option in Theme Panel >Theme Colors to set a general color for all blocks/widgets titles – http://screencast.com/t/IcPkM5CMBhttp://screencast.com/t/c3u7wg6EXVo

In version 6 of the theme were changed the page templates, the sidebar that you see on those pages is sidebar added for latest articles. You can manually add a Widgetised Sidebar widget to your page content – http://screencast.com/t/UwD7n61Q if you want to use that template with Latest Article. Or you can set Pagebuider with title and the defautl sidebar will be add automatically, you don’t have to split the row – http://screencast.com/t/CZZO259mZ3

If you use unique articles and you have an issue with doubling articles, please note that this issue was fixed in version 6.1, so please update using this guide(FTP method) – https://forum.tagdiv.com/how-to-update-the-theme-2/

Please try to remove this code to not show author when the article is shared – http://screencast.com/t/UadS1GJEv and then use facebook debugger and see if works for your articles (fetch new scrape) – https://developers.facebook.com/tools/debug/og/object/

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

Please check this topic as reference if you want to remove zoom effect – https://forum.tagdiv.com/topic/dark-pictures/#post-54266
If you want to apply this only for small thumbs from Big Grid please try this custom css in Theme Panel > Custom Css: http://screencast.com/t/mkbPbNGBXQ

.td-hover-1 .td-small-thumb:hover .td-module-thumb .entry-thumb {
transform: none !important;
-webkit-transform: none !important;
-moz-transform: none !important;
}

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

@snowwatchGB Please check this custom css for your logo and see if it helps: http://screencast.com/t/xsGckVM3vyGr

@media (min-width: 1141px){
.td-header-style-1 .td-header-sp-logo {
margin: 28px 0px 9px 0px;
width: 340px;
padding: 0px
}
.td-header-style-1 .td-header-sp-logo img {
right: auto;
}
}

Also for that gap please try this css – http://screencast.com/t/5D91dcqZUKmg try to use !important tag

.td-post-template-4 .td-post-header-holder {
margin-bottom: 20px !important;
}


@themeforest_antonio
Did you updated also the Visual Composer plugin to the latest version provided with the theme?
Also did you removed the old theme and uploaded the new one properly using this guide – https://forum.tagdiv.com/how-to-update-the-theme-2/ Please provide more details about this, also you can check it without any plugins active leave just Visual Composer active, clear cache and check again if you can edit the blocks.

Unfortunately new version of the theme has only 2 formats like you already know. If you need to add more post formats please take a look here – https://codex.wordpress.org/Post_Formats and try to add more formats in theme functions: http://screencast.com/t/MsM6Dc3q9j

Thanks!

Riskdiver
Participant
#0

Hi. I have two questions if I may.

First of all. In order to show category on modules we use echo $this->get_category(). However, if you need to show both category and subcategory on module, what do you use and how?

I have tried :

<?php
$categories = get_the_category();
$separator = ' ';
$output = '';
if($categories){
foreach($categories as $category) {
$output .= 'term_id ).'" class= "cats" title="' . esc_attr( sprintf( __( "View all posts in %s" ), $category->name ) ) . '">'.$category->cat_name.''.$separator;
}
echo trim($output, $separator);
}
?>

It works fine, but only for the theme pages (authors, categories, search etc.). The modules just ignoring the php and do not show any category/subcategory on the pages created through visual composer.

Second question. In order to get rid of the title tool-tips I have used some JS snippets.

var imgs = document.getElementsByTagName('img');
for (var i = 0; i < imgs.length; i++) {
imgs[i].removeAttribute('title');
}
var alinks = document.getElementsByTagName("a"); for (var i = 0; i < alinks.length; i++) { alinks[i].removeAttribute("title"); }

Or

var titled = document.querySelectorAll('[title]'); // gets all elements with a 'title' attribute, as long as the browser supports the css attribute-selector
var numTitled = titled.length;

for (i=0; i<numTitled; i++){
titled[i].setAttribute('data-title',titled[i].title); // copies from 'title' to 'data-title' attribute
titled[i].removeAttribute('title'); // removes the 'title' attribute
}

They both work fine. However, after Ajax (load more, filters, mega menu etc.) they come back. So, basically JS resets after the ajax process. Is it possible to somehow implement JS so it works even after ajax?

Any help would be appreciated. Thank you in advance.

Alin [tagDiv]
tagDiv Staff

Hi,

Unfortunately this option was removed, a solution to add icons is – https://forum.tagdiv.com/topic/home-button-for-menu/#post-35101

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

1. Please check documentation – https://forum.tagdiv.com/how-category-settings-work/
2. If you don’t want comments section to appear on your article you can disable it from Post Settings – http://screencast.com/t/Er7yeRup
3. Try this css code in Custom Css section – http://screencast.com/t/ogherlmk

.td-post-content {
padding-bottom: 0px;
}

4. Please check Excerpt section – https://forum.tagdiv.com/excerpts-introduction/
5. Please check Theme Fonts – https://forum.tagdiv.com/font-customization/
6. It is not an issue when you hover on article title it takes the color that you he set for background to the block title. What do you mean “I can’t see anything “.
7. Theme doesn’t have an option to change the post title color for each block, you have to use custom css: http://screencast.com/t/V2sNqzET

.home .td_block_11 .entry-title a {
color:red;
}

8. Try this custom css in Theme Panel > Custom Css: http://screencast.com/t/zq0XpKBRxkb

.home .td_block_11 .td_ajax_load_more {
background-color: red;
color: black;
}

9. No, there is not an option only for homepage. You can use custom css if you want this only on homepage: http://screencast.com/t/d5t8BjLn If you want this for all homepage blocks just remove .td_block_11http://screencast.com/t/oz2M6fBuZqW

.home .td_block_11 .block-title span {
font-size: 10px;
}

10. Check this custom css: http://screencast.com/t/feXVaxbOzj

.td-related-title > .td-related-right {
display: none;
}

Please post your issues in Newspaper section!

Thanks!

nf_prt
tagDiv Member

Hi!
hope this helps,
1) please see this: https://forum.tagdiv.com/topic/translation-to-russian-gallery/

2) if you want custom CSS for indivual elements of the page see this: https://wpbakery.atlassian.net/wiki/pages/viewpage.action?pageId=524319
You can also place custom CSS in the Theme panel (theme panel-> custom css)

3) in the Theme panel click CATEGORIES menu, then select the desired category to show its options. There’s an option SHOW FEATURED SLIDER you can disable.

4) the theme “only” has twitter, fb, pinterest an g+ buttons. You can enable/disable them all at once, but not separatedly (theme panel-> post settings-> sharing).
Theme only has sharing buttons, you may want to have Open Graph too for better sharing. I use the theme buttons and yoast WordPress SEO plugin to manage the Open Graph.
There’s many things you can do:
– mannually add/remove buttons, edit file wp-content/themes/Newspaper/includes/modules/module_modifier/td_module_blog.php from line 64
– if you use jetpack plugin, you can disable the theme share buttons and enable jetpack sharing module, it has many buttons individually selectable and manages Open Graph too (but it’s bloated, bugged and dishonest – based on my opinion only)
– you can get a buttons plugin like Simple Share Buttons Adder and another for the open graph (yoast wordpress SEO, jetpack). Theres many plugins for this.

partnowjess
Participant
#0

I can’t figure out what is killing the page and menu background on this post: http://seattleglobalist.com/2015/06/08/transgender-teen-brooklyn-buenaventura-crowned-renton-high-school-prom-queen/38098

I thought it was because we have a video and instagram embed on the page, but the background is missing even when I remove them.

If you look at any other posts on our site (e.g. http://seattleglobalist.com/2015/02/27/nestora-salgados-family-prepares-for-long-court-fight-in-mexico-in-vigilante-case/34329), you’ll see how the background is meant to appear.

Thanks for any ideas on what this could be!

Newspaper v 4.6.3 w/Child Theme
WP v 4.2.2

Alin [tagDiv]
tagDiv Staff

Hi,

I have removed your site credential and you should not posted here as this is a public forum. Please send us an email email for this.
You have an answer here – https://forum.tagdiv.com/topic/mobile-menu-appearing-on-home-page/page/2/#post-49361

Thanks!

simchris
tagDiv Member

You need to remove the OG “author” tag from your posts.
I think you can remove this from the header.php file.

Lucian
tagDiv Staff

Hi,

You have some empty paragraph tags added there: http://screencast.com/t/KzXsy964Shm0http://screencast.com/t/rEyL2d4dZ4 Edit your post and remove them from you posts’s content and if you can’t find them there please make sure that you test this without having any plugins active, as this might be caused by a plugin you use, leave just the Visual Composer plugin and test again.

Thanks

Lucian
tagDiv Staff

Hi,

That post content delimitation line isn’t a bug, it has been added by the theme to provide you a live look on how your posts’s content will look in the front-end.
See this tread to find out how to remove it: https://forum.tagdiv.com/topic/remove-divider-in-editer/

Thanks

jadmac
Participant
#0

How do I remove the category tags from the top of individual posts?

Alin [tagDiv]
tagDiv Staff

Hi,

Please check you custom css and remove this – http://screencast.com/t/DiOGJkIlB as you can see your posts titles are hidden – http://screencast.com/t/cOlmlN8tk So please remove that css code and see how it goes.
If you don’t want to show page title please use a page template without title – https://forum.tagdiv.com/page-templates/

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

A solution to lower the number of MYSQL queries would be to reduce the number of blocks on the page, also you can remove the unused/unimportant plugins.
You can also try our beta Shim plugin – https://forum.tagdiv.com/topic/newsmag-1-7-1-killed-our-server-again/#post-48576

Thanks!

simchris
tagDiv Member

Some suggestions
a) don’t use child theme, as it’s a redirect
b) ensure you have caching running on server like opcache, etc.
c) be sure to use normal WP optimizations (as per my own optimization sticky) — enough memory allocated to php, and upgrade default RAM for WP in wp-config.php -etc.
d) limit queries on post pages — meaning, avoid “most popular 7 days” kinds of things, try one query of “latest 5 stories” vs having three sidebar queries of 3 latest posts from 3 categories; try not using mega-menu to query dbase for story elements .. limit queries in footer
e) remove CSS over-rides in theme panel, move to style.css
f) consider using things like mod_pagespeed and or mod_SPDY if you serve all pages via https
g) turn off image thumbnail sizes you don’t actually use; plan layouts to limit total number of sizes for thumbs to no more than 5 or 3 if really going for speed
h) check server response time — which has nothing to do with theme and needs server to be optimized (our pages respond in 0.31 secs on avg., regardless of theme with only minor optimizations)

And of course look at some of the theme docs for suggestions from TagDiv on speed/performance.

Food for thought 🙂

  • This reply was modified 11 years by simchris.
Viewing 25 results - 1,776 through 1,800 (of 1,956 total)