Home User profile
tagDiv Member
Christopher is a long time WordPress user. Anything else you need to know is private ;-) I *do not* work for TagDiv, but I've been using their themes since late 2013.
simchris
tagDiv Member

1. – it’s from your Jetpack stats tracking.
2. – no idea…
3. – ideally you should create a set of favicons for your site in all the modern formats, like Apple pre-composed sizes and not put anything in theme and let browser auto discover the favicon files in your public root
4. – NP6 is new theme; you may have to change some CSS over-rides for new theme!
5. – for best results for speed; don’t use child theme which is CSS redirect; and change any “main colors” in your main style.css and not the theme panel custom CSS box.

simchris
tagDiv Member

I do all my images as 640×480 (or 640xNNN; 640×320) and let the chips fall as they may.

simchris
tagDiv Member

For those using Newspaper 6 you may want to use the “slim” version of my suggested functions.php tweaks. Note this goes at END of file; make sure you edit only in a plain text editor and NOT MS Word; make sure you turn your caching OFF before changing any major files like this. Always keep backup. With caching off, switching back is as simple as uploading your original. If on Linux, make sure your text editor saves a Linux/unix “line breaks” and not “PC/windows line breaks.”

/*CHRISTOPHER's CUSTOM MODS - slim version */

remove_action( 'wp_head', 'wp_generator' ) ;
remove_action( 'wp_head', 'wlwmanifest_link' ) ;
remove_action( 'wp_head', 'rsd_link' ) ;
remove_action( 'wp_head', 'feed_links', 2 );
remove_action( 'wp_head', 'feed_links_extra', 3 );

function no_errors_please(){
return 'You appear to be up to no good. Please stop now!';}
add_filter( 'login_errors', 'no_errors_please' );

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 );

add_filter( 'jpeg_quality', create_function( '', 'return 50;' ) );

This is intended for those using the main theme, not a child theme; meaning you need to add this to the main functions.php in your main theme folder **NOT CHILD THEME FOLDER**.

  • This reply was modified 11 years by simchris.
simchris
tagDiv Member

And a 250kb jpeg ?

http://gtmetrix.com/reports/www.droidgeeky.com/7by9Vdk2

260kb JS file from Akamai?

2.4MB is a lot of stuff !

simchris
tagDiv Member

Presuming you regenerated your thumbnails?
You have tons of things you need to deal with since you’re loading everything and the kitchen sink … e.g.,

Regen thumbs to load correct image sizes

•http://www.droidgeeky.com/wp-content/uploads/2015/01/xiaomi_mi_4_silver.jpg is resized in HTML or CSS from 635x475 to 140x104. Serving a scaled image could save 37.7KiB (95% reduction).

Are you using Revolution Slider ? If not, disable the plugin – do so for ALL plugins you don’t actually use.

You’re loading a HUGE amount of stuff from Google, Doubleclick, Facebook, Twitter, wp.com tracking pixel, etc.

For faster speed, you need to load less stuff and optimize what you do load!

Figure out how to load this via sync:
•http://www.droidgeeky.com/why-you-should-choose-microsoft-over-linux-2 loads http://platform.twitter.com/widgets.js synchronously.

simchris
tagDiv Member

Likely good time to talk to your hosting provider to check your “ownership permissions” for your setup of your account, folders, etc. — you can also do this via FTP. If you have a mis-match on who “owns” the files being uploaded via WP, if they are not in a publicly visible folder, they won’t load for the public.

I have seen odd things happen when WordPress installed from the hosting panel vs manual install, where some directories and upload folders end up “owned” by the server, or apache, or whatever and not the ftpuser.

You might also do a clean install of WP if your folders and permissions are just completely messed up; the theme doesn’t set write permissions on your WP setup.

You can can also try updating your permalinks; check your wp-config.php file for errors; try resetting your plugin folder by renaming it via FTP, etc.

Right now your style sheet isn’t even loading for your page.

Obviously you should have all caching, mod_pagespeed and similar things turned off. Use the main theme and not child theme, make sure you can even login properly, create new post, upload images, set featured images, upload file, check URL and make sure it can be loaded via browser alone, etc.

  • This reply was modified 11 years by simchris.
simchris
tagDiv Member

You should use style classes for table cells, and not apply styles in your HTML.
<tr bgcolor="#000000"> should be <tr class="blackcell"> or similar

Some HTML like align right should be things like pull-right class or float-right etc.

You can likely do search/replace in your php dbase. I did some surgery like this myself no long ago. Lots of tutorials online for search/replace stuff in the post meta for WP. Best to move to HTML5 code, as most modern WP themes run on CSS3 and/or HTML5, and not 20th century HTML now (fun to say that!) 🙂

Sorry that isn’t a tidy answer, just some feedback.

simchris
tagDiv Member

I’ve been messing with this stuff while redoing our main business site and some of this new tech is pretty amazing! 🙂 I hit a wall with 100/100 UX, 97/100 desktop, but 91/100 mobile and have been poking away at that to shoot for 95/100 mobile (I can dream ….!). And this is with https and rotating news ticker, lots of photos (no ads, of course), and OpenSans. Too much fun! 🙂

Hope to get this sorted by end of month so I can go back and tweak my WordPress/NewsMag sites. Still need to clean up 1.71 with shim for some tweaks.

🙂

simchris
tagDiv Member

Hi folks … couple of fun ‘edge’ things to play with:

======================

CLOSURE COMPILER FOR JS
Google has started recommending a program (Closure Compiler) to manually minify js files which uses “latest methodologies” — but I’ve not yet tested this myself due to lack of time lately:

https://developers.google.com/speed/articles/compressing-javascript

==========

CRITICAL PATH GENERATOR FOR CSS
Something to consider using in place of TagDiv speed booster plugin for some instances/situations to remedy render blocking CSS issue — this basically inlines the “critical CSS” for your page, then you load the full CSS file at bottom of your page normally; so this allows the above the fold CSS to be part of initial doc load. Fascinating — it auto analyzes your existing web page then spits out optimized code you can place in the header file.

http://jonassebastianohlsson.com/criticalpathcssgenerator/

simchris
tagDiv Member

Minifying js is very tricky because some modern JS isn’t well understood by the compactor programs; meaning some syntax gets moved and then it just doesn’t work.

Google has started recommending a program (Closure Compiler) to manually minify js files which uses “latest methodologies” — but I’ve not yet tested this myself due to lack of time lately:

https://developers.google.com/speed/articles/compressing-javascript

simchris
tagDiv Member

Try to avoid high ASCII characters in file names, most web servers can’t understand them. In your example you have a filename with broken ASCII character not “escaped” properly when you named it prior to upload; so technically you’re trying to access a file the server can’t read properly.

File names on servers should have
a) no spaces
b) no multiple dots
c) ideally end in dimensions for modern systems like mod_pagespeed, thumbnail regen, etc.
d) no high ascii characters like tildes, degree marks, question marks, percentage sign, etc. (basically letters, numbers, underscores, hyphens and nothing else).

So, this is your problem — fix your file names: (note broken ASCII character encoding after Silva) —
Quintino-Sandro-Silva-–-Aftermath-Review1-e1434933753361.jpg

  • This reply was modified 11 years by simchris.
simchris
tagDiv Member

I had the same issue … accidentally hit the + zoom when doing copy/paste and was driving me nuts last year and then went … doohhhhhh! 😉

simchris
tagDiv Member

To get pictures to fit modules

a) try ‘regenerate thumbnails’ plugin

b) if featured block images size larger than what you’re uploading, try ‘thumbnail upscale’ plugin.

Both super lightweight. And you can disable the regen plugin when you don’t need it. If you need to make stuff bigger; be sure to install b) before doing a) 🙂

simchris
tagDiv Member

I had this issue with update also; was totally a caching issue.

simchris
tagDiv Member

I use “thumbnail upscale” plugin; not sure if that was what you’re looking for?

simchris
tagDiv Member

Well, if it’s working right on 5 sites, and theme not working right on one; them likely you might want to try reinstalling the theme.

Remember to DELETE old theme folder, not over-write.

I don’t see the author byline and date on your page here under the headline where it should be:
http://welketonic.be/whitley-neill-dry-gin/

So, if it’s printing on page likely an HTML bug with the inline ads in your story breaking something, or some other issue on page.

Your page has a whole bunch of errors when checking in Chrome/Console (press F12 to see your errors!). Likely want to fix those first before doing anything else.

simchris
tagDiv Member

Looks like you need to regenerate your images which are not “filling” the spot for the photos, hence why you have white space at bottom of the photo area.

Your need to use the “regenerate thumbnails” plugin to reset your images to fit the theme layout and “crop to fit.”

If an image spot is larger than your original photo, you will need to also use the “thumbnail upscale” plugin.

SO, likely not a “bug” — but merely you need to update your photos for the theme you’re now using, which is common practice.

I’m not having this issue, so it’s possible this doesn’t apply to you — but it is the most common reason for this particular issue based on the above photos you posted.

simchris
tagDiv Member

You can edit the template files in the root of your theme folder, simply look for the template number you want to change. However that does require both CSS and WordPress coding knowledge of course.

simchris
tagDiv Member

So you turned OFF the “date” option in the post settings?

No custom CSS is needed. Just click the on/off toggle; boom date won’t be shown on the post page.

Might want to read through the docs at some point for V6:
https://forum.tagdiv.com/general-settings/

simchris
tagDiv Member

@Radu

I haven’t updated my company blog once this year; too busy on the business. I totally know how it is ! 🙂

simchris
tagDiv Member

I think you can turn that off from the theme panel > post settings

Most newspapers post the date an article is published to identify WHEN it’s news, hence the option default on and for things like Google News, etc.

simchris
tagDiv Member

Right
if you look at the Feed in Chrome, and view source you can see you have a bad plugin inserted code into the RSS feed — which is managed by WordPress *not* the theme.

e.g., obviously if you look at line 1 the javascript should not be there.

<script type="text/javascript" async defer data-pin-color="red" data-pin-hover="true" src="http://livinator.com/wp-content/plugins/pinterest-pin-it-button-on-image-hover-and-post/js/pinit.js"></script>

So, likely you should disable that bad-behaving plugin:
pinterest-pin-it-button-on-image-hover-and-post

View source in Chrome lets you see the “actual” code being served, which is super useful with weird stuff like this ! 🙂

Hope that helped!

Chris

simchris
tagDiv Member

Yes; when you install new theme
a) DELETE old theme folder (make back-up of course)
b) upload NEW folder

Never ‘over-write” theme or plugin folders.

simchris
tagDiv Member

I’ve got 25,000 pages with no problem; so something funky going on obviously!

If you’re using the visual editor it may stay on one line, if you’re using the text editor it should wrap; it’s a function of WordPress.

You may need to clear all your caches on server; and reinstall the theme, making sure you upload via FTP and your FTP software set to properly encode text and binary files; turn off all plugins except visual composer, etc. to debug your issue.

Without a link those of use who offer to help on forum can’t be of any help.

But tagdiv support back on Monday 🙂

simchris
tagDiv Member

Turn off “zoom” …

Viewing 25 posts - 5,926 through 5,950 (of 9,335 total)