- NewspaperHow to Use tagDiv Cloud Library
- NewspaperCloud Library Templates
- NewspaperCloud Library – Category Templates
- NewspaperDesign your Post Pages using the Cloud Library Templates
- NewspapertagDiv Cloud Library Plugin
- NewspaperCloudflare (CDN)
- NewspaperSingle External Shortcode and External Shortcode
- NewspaperSearch setup for custom post type
- NewspapertagDiv Composer – Website Manager
- NewspaperFlex Block Builder and Flex Loop Builder
- NewspaperModules Builder in Newspaper Theme
- NewspaperIntroduction to CPT and ACF with Newspaper Theme
- NewspaperCreate a frontend submission form
- NewspaperFilters and sorting for taxonomies
- NewspaperUser review system
- NewspaperHow to use the Google Maps API
- NewspaperWooCommerce: Happy âAdd to Favorites!â
- NewspaperHow to insert a block inside the content of a post
- NewspaperHow to setup the Contact Page
- NewspaperPosts Loop Element
Hi,
The “tag cloud” widget comes with WordPress, you can try to control the tag number and other options like this:
First install this plugin which allows you to add php code into an text widget: http://wordpress.org/support/view/plugin-reviews/php-text-widget
Then go to http://codex.wordpress.org/Template_Tags/wp_tag_cloud and get this code:
<?php wp_tag_cloud( $args ); ?> and add it into an text box widget like this: http://screencast.com/t/8Stb1QyXa7us
You will get this result: http://screencast.com/t/JHgwk4UfgN
Hope this helps!
Thanks
Hi,
You cloud try to find a better way of targeting or leave it like that if you don’t know how to do it or hire someone to do it for you.
Thanks for the message
Hi,
I have added this feature on our list and we will try to implement it in future updates.
@Michaelvb
You could try this: https://forum.tagdiv.com/topic/function-to-hide-ads-and-function-to-show-author/#post-8993
You cloud also read here about this https://forum.tagdiv.com/topic/how-to-block-google-ads-in-some-posts/
Thanks
Hi,
I understand now, I think the link is interpreted as post content and that’s why it’s displayed in post’s excerpt, but this should not happen, i have tested this and it dose not happen in my case.
If you want you can give us wp-access so we can check this, provide the wp-admin user and pass at contact@tagdiv.com and also send this topic URL along with the message.
Or you can use http://pastebin.com/ and paste the whole post content so we can check, just paste the text from here http://screencast.com/t/XjCsp3pa2crR
You could also avoid this by using the video directly in the featured video, like this http://screencast.com/t/lwN1gcsz You will have the same result as using the embed code into the post http://screencast.com/t/DnS2QHzPzzew
Or you cloud add custom excerpt for this post here http://screencast.com/t/JLBm3UaxWQ
This way your excerpt will show on pages http://screencast.com/t/wj9MeX03G
Thanks
check with your hosting provider … if the clock is off or something. I may be missing what your issue is.
You can check your headers for pages with various online tools like http://web-sniffer.net/
HTTP Response Header
Name
Value
Delim
Status: HTTP/1.1 200 OK
Date: Wed, 13 Aug 2014 20:49:28 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Connection: close
Set-Cookie: __cfduid=d2376a9f44b520530e88bf3049c2796811407962968768; expires=Mon, 23-Dec-2019 23:50:00 GMT; path=/; domain=.cherrykoks.de; HttpOnly
Expires: Wed, 13 Aug 2014 21:49:28 GMT
Pragma: public
Cache-Control: max-age=3600, public
X-Powered-By: W3 Total Cache/0.9.4
Last-Modified: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: private, must-revalidate
Vary: Accept-Encoding
Server: cloudflare-nginx
CF-RAY: 1597c78ace8e064a-FRA
Content-Encoding: gzip
Note if having issues with your setup it’s best to check with your CDN provider to debug any issues between hosted content on server and on the CDN and how they sync.
Hi,
Like @TheMediumUTM wrote the font is dictated from body tag if it’s not overwritten. You cloud target a specific page and change it’s content font(size, family..), send your site’s URL or from the page you want to change the font and I will provide you the custom css that you can use to change the font only on that page.
Thanks
Hi,
I’m not sure that I understand what are you trying to achieve, I have noticed that you figured out that the menu items are all withe because of the active status they have which dose nothing when hovered because are already white like you said.
You cloud try to change the link color when hovered and use something different from white.
Hope this helps!
Thanks
Hi,
First of all please make sure you have activated this feature from Theme Panel, like this: http://screencast.com/t/ecSgkbolvD2
Second please try to disable all plugins leaving enable only those the theme recommends and check if the sticky menu starts working.
Also make sure you disable Cloudflare rocket loader and JS Minify if you are using.
Hope this helps!
Thanks
Nope, disabling Rocket Loader and JS minify in cloudflare solves it đ
@christophersimmons:
what you understand by “graphics loading from the network portal vs localized”? As far as I know where isn’t any CDN in Germany thus we decided to server pictures from nginx ram with having in mind that this should be faster or at least comparable to cloudfront.
Fonts and Google Analytics are loaded from Google, I think this is a preset from the theme.
jQuery and Co are loaded from public CDN. I think this is faster than serving them myself since they already should be precached.
In addition to this the only thing loaded from external servers are ads and content tests. The content tests are programmed by myself and run completely async after the on page load event. For the ads we are working on a hack to load them async, however this isn’t stable yet. The only left over part is the iam.js script. which is running sync. This is the only party I’m not allowed to change, since it is used to track the germany publisher ranking. Really sucks that they only supply a synchronous script, but it should be reasonable.
I’m not that experienced in page speed optimizations yet, thus it would be interesting for me to know which part exactly makes the page load so horribly slow? And how can I figure this out? I think up to 40 sek on mobile devices is just not acceptable for clients.
How can I activate the mod_pagespeed setting to insert image dimensions and what is it doing?
And by the way thx for your awesome expertise!
Hi,
I have checked your site and I don’t think you have added the tag cloud widget right, that’s why the style doesn’t apply correctly, this is how it should look like: http://screencast.com/t/T5Q67GqH3tc
Please make sure you add the widget like this, using page builder: http://screencast.com/t/Xt7OTIhLq or like this if you add it from Appearance > Widgets in your sidebar http://screencast.com/t/g3vWxYZLSit0
Regarding the I have noticed that the logo doesn’t show up right on mobile also , please make sure you have uploaded the logo correctly from Theme Panel > Header, like this, and try again: http://screencast.com/t/SWrXem1O
If this dose not solve the issue please give us wp-access so we can check, provide the user and pass at contact@tagdiv.com, also send a link to this topic or specify this issue details.
Thanks
Works fine for me – http://www.droidgobl.in/2014/08/09/review-nuggets-icon-pack-by-mindplay-media/
If you’re using Cloudfare, make sure to disable Rocket loader and JS minify.
Ok FYI if interested, I reinstalled again yesterday because of the things Steven told me.
Well Chris- I still use the W3 Cache (page only) and wrote the rest of .htaccess by myself, like u posted in another thread. (little bit proud on myself that it did not crash đ )
Is everything ok with that or have any other suggestion?
See my current htaccess here:
# BEGIN W3TC Page Cache core
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} =on
RewriteRule .* - [E=W3TC_SSL:_ssl]
RewriteCond %{SERVER_PORT} =443
RewriteRule .* - [E=W3TC_SSL:_ssl]
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteRule .* - [E=W3TC_ENC:_gzip]
RewriteCond %{HTTP_COOKIE} w3tc_preview [NC]
RewriteRule .* - [E=W3TC_PREVIEW:_preview]
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} =""
RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wptouch_switch_toggle) [NC]
RewriteCond "%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}" -f
RewriteRule .* "/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_SSL}%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}" [L]
</IfModule>
# END W3TC Page Cache core
# 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
# 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"
</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>
# pass the default character set
AddDefaultCharset utf-8
# BEGIN Keep-Alive
<ifModule mod_headers.c>
Header set Connection keep-alive
</ifModule>
# END Keep-Alive
#BEGIN GZIP
<IfModule mod_deflate.c>
<filesMatch "\.(js|css|html|php)$">
SetOutputFilter DEFLATE
</filesMatch>
</IfModule>
#END GZIP
#BEGIN CF ALLOW
Allow from 2400:cb00::/32
Allow from 2606:4700::/32
Allow from 2803:f800::/32
Allow from 2405:b500::/32
Allow from 2405:8100::/32
#END CF ALLOW
As you can see I had to add the keep-alive code and other stuff like gzip- because otherwise GTMetrix would complain about that.
http://gtmetrix.com/reports/cherrykoks.de/4DKTK3Af I guess I can not influence the the both points about cloudflare?
The only thing I’m little bit confused about, is the fact that the mentioned code
foreach ($this->styles_for_footer as $style_id => $style_src) {
echo "<link rel='stylesheet' id='" . $style_id . "-css' href='" . $style_src . "?ver=" . $current_theme_version . "' type='text/css' media='all' />\n";
in the booster plugin causes my strings. Can I change that?
And:
in the Pagespeed guide from tagdiv I read this:
The plugin will move the theme and recommended plugins js and css at the page bottom. If you have other plugins installed you have to modify the Speed Booster plugin file so it will also move those files at end of the page. In the next section you will learn how to accomplish this.
4.2 To get the list of registered css and js add the following code at the end of the functions.php file:
function td_inspect_scripts() {
global $wp_scripts, $wp_styles;
echo ‘registered scripts<br>’;
foreach ($wp_scripts->queue as $handle) {
echo $handle . ‘ | ‘ . $wp_scripts->registered[$handle]->src . ‘<br>’;
}
echo ‘registered styles<br>’;
foreach ($wp_styles->queue as $handle) {
echo $handle . ‘ | ‘ . $wp_styles->registered[$handle]->src . ‘<br>’;
}
}
add_action( ‘wp_print_scripts’, ‘td_inspect_scripts’ );
SpeedBooster plugin ist runnin as you know, do I have to change that as advised?
The sentence with “If you have other plugins installed you have to modify plugin so it will also move those files”
Other plugins means = every plugin I’m using? No problem to add this code to functions.php – just wanna make sure if this is right.
Hey Steven
nice to read you, after my pal is making it stable
I will return to Cloudflare I guess
(I’m pro now in installing it) đ and that’s a fact. But before I turn on CF – I want to clear the things.
yeah you’re right – I know that, but it’s frustrating when you read how to solve the things, and you try- and they do not work for you.
Also stressing over little things like fonts is a waste of time,you can’t fixed those.
In GT Metrix they show you a arrow next to each number that you should get to pass the test..if they say you should get 56% and get 89% then you should not worry about any lil issues they still showing the point in all this..is to have a fast site and a well balance one..you can’t make every thing perfect to score 100% even CNN,FACEBOOK,TWITTER AND bigger sites don’t even get that good score..stop stressing over “query string” two files one day they might go away on they own,but with this theme i don’t think they will unless the team make some magic in they speedbooster to fixed it..
Focus on making good content on ur site and keeping it fast and google bot will love you for it,but if you don’t have no good content are new content then what’s the point working on the backend if the front end is useless for google bot,msn and yahoo..
My SEO score is 87% and my rank is 3 that’s because i have good content and always updating and making sure my site is fast all the time with few problems..but i’m not going stress over every lil problem that pop up like “query string” and google fonts”any way good luck hope you get it all work out..an with out cloudfalre you will not have the CDN TO HELP UR SITE..that’s a must for all sites..
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
yes I did, I can click via w3 cache (includes Cloudflare extension) “empty all caches” or empty all caches except CF- I also purged the cache on the CF Cpanel and also the single file.
Problem solved.
Conclusion: Cloudflare rocket loader and JS Minify doesn’t work together with several Newspaper theme options like images, sticky menu and mobile menu.
Thanks for your support!
JB
Problem solved.
Conclusion: Cloudflare rocket loader and JS Minify doesn’t work together with several Newspaper theme options like images, sticky menu and mobile menu.
Thanks for your support!
JB
Hi,
You cloud place the post title into an anchor tag like this: http://screencast.com/t/dJPrZflWf
Change the link as you like.
Hope this helps!
Thanks
Hi @nihar105479, With the last 2 changes I found the best way to resolve all issues with cloudflare was to do a full cache purge in the settings. I then had to do a full purge on the browsers including your mobile devices, sometimes twice.
Another thing I did was under Performance settings I made sure under “Auto Minify (Web optimization)” that JS was de selected. Its better to adjust this through the booster or other plugins mentioned by others.
-
This reply was modified 12 years by
Peter.
Hi, well if you read through my posts on the Page Speed topic, I’ve noted the code I use in functions.php to remove the ? queries which I prefer to using plugin, which it seems you have okay, and also how to do the CSS and JS minification, which takes 5 minutes — just copy the code into the CSSminifier site, then copy out the minified version and then overwrite your css file on the server via FTP. Bam – you’re done đ
And of course optimizing your images prior to upload is super important, too.
For the size thing, you can certainly try adding the =”100″ to your header, and see if that improves your score or not. In my case it was a non-issue since I’m using mod_pagespeed on our server which adds image dimensions on the fly including for anything resized based on CSS percentage width images which is the cat’s pajamas as my grandma used to day đ
Well … remember audience comes from content — original content — not page speed. If you get above 90 for desktop and 80 for mobile you can move on with your life and concentrate on content, and then revisit this stuff as it comes up. (Now, I will admit I wasted the entire month of January 2014 on this adventure, so I can’t advise others about not getting obsessive …).
I don’t use Cloudflare – some people love it.
yeah thank you for this btw…
p.e
<img width="300" height="100" class="td-retina-data" data-retina="http://cherrykoks.de/wp-content/uploads/2014/08/log600.jpg" src="http://cherrykoks.de/wp-content/uploads/2014/08/log300opt.jpg" alt="CK LOGO "
Did I do this right- by writhing the height directly after width?
The Queries:
well actually I added a code via plug “Code Snippets” like this:
function remove_cssjs_ver( $src ) {
if( strpos( $src, â?ver=â ) )
$src = remove_query_arg( âverâ, $src );
return $src;
}
add_filter( âstyle_loader_srcâ, âremove_cssjs_verâ, 10, 2 );
add_filter( âscript_loader_srcâ, âremove_cssjs_verâ, 10, 2 );
before I included this – I had this code inside functions.php
/** Remove Query strings from Static Resources. */
function _remove_script_version( $src ){
$parts = explode( â?â, $src );
return $parts[0];
}
add_filter( âscript_loader_srcâ, â_remove_script_versionâ, 15, 1 );
add_filter( âstyle_loader_srcâ, â_remove_script_versionâ, 15, 1 );
<?php
}
add_action(âprint_media_templatesâ, âtd_change_backbone_js_hookâ);
Should I use one of this or use a plugin?
Minify: yeah have seen had, but don’t know how to do (again: I’m no programmer and I don’t know css oder js )
my Cloudflare should originally do this (installed today- will take some time) Will this be enough? (or got an idea for dizzy blondes? đ
Will have to change all this on the weekend…sadly I like the slider, looks good, but if its causing all the problems … đ
-
This reply was modified 12 years by
Cherry. Reason: added
while using Cloud flare my mobile menu and sliders are not working without them my page speed sucks.I dont know what to do now.
@maqabyah, this happened to me as well but it has been fixed. Try changing the number of homepage slide limit, saving, then going back to the number. If that doesn’t work, try what Peter mentioned above about CloudFlare. One of those fixed it for me.