I don’t use the Envato plugin as it always messes things up for me. But I do get automatic emails from ThemeForest on the updates to all my purchases without any trouble.
Yes, I converted my hobby magazine site (ga-ga.com) over to Newsmag, which is on track to launch Jan 1 (it’s a combination of some of our old sites being combined into “one” main site). Only having one or two very minor issues which are not related to changing themes and will likely ping Radu about that today.
Slider may not have option to load smaller thumbnails for mobile device.
Yes. But if you dont have the smaller sizes, then the larger sizes are loaded. Reread the pagespeed page to see the actual problem.
Size is the problem…. Dimensions.
A.. You should not have images that need 100kb size reduction.
B. You should not ideally be loading the 1000 pixel wide images on iphone.
Try testing with gtmetrix as another option for better explanations of problem.
-
This reply was modified 11 years by
simchris.
To remove version numbers,
And also to reset compression level of thumbnails.
Be sure to disable woo commerce also, not just the woo commerce extension plugins.
Clear your site cache and cdn cache if susing those, fully clear your browser cache.
This is version 1.0 of theme. Changelog normally found in the larger of the two zip file downloads … Newsmag_tf
Yeah.. Looks like italics need to be added to the section at line 902 in the fonts file.
Righto… I was also posting this for radu o. And co in case the italic fonts were not, in fact, being loaded.
Did you actually look at your page source to see if the italic font is being called from google or not?
Not sure this is the answer, but check to see if the optimized sizes are actually being created; possibly add those sizes as the default sizes under WP > media settings so they are made in addition to the theme sizes. Problem with “mobile” images is they are responsive but no specific phone uses the same “sizes” for the viewport “width” so technically I suppose images will always end up being resized larger or smaller.
Google mod_pagespeed helps with this issue if your server/hosting company offers that.
But try the media sizes being served added to your media settings, regen thumbnails, then retry. Not sure that will solve it, but worth a try.
I admit I have not yet tested my install of Newsmag for page speed as still messing with the home page and logos today 🙂
You can avoid CSS import by not using a child theme.
You can remove query strings by using the functions I have previously recommended for adding to your functions.php file. You can also optimize your thumbnails by editing your functions.php file to set higher compression level for WP, and then run the “Regenerate Thumbnails” plugin.
Add these to bottom of your functions.php file, for one example:
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;' ) );
add_action('init', 'myoverride', 100);
function myoverride() {
remove_action('wp_head', array(visual_composer(), 'addMetaData'));
}
You can optimize your site following the documentation for this theme:
https://forum.tagdiv.com/page-speed-guide/
Admin:
you may want to add the wrap function for this forum for long lines.
Chris
Okay… as promised, here is some help for this based on what I’ve done in past for Newspaper, translated for what works with this theme. It may be that the italics are not loading properly due to the enqueue method; dunno. I posted this in your other thread, but will also post here for completeness.
(admin – correct me if wrong on any of this !)
Note that in the td_fonts.php file it does appear italic is specified to be loaded from line 889 (this whole block was found in functions.php in Newspaper theme for those who are moving over).
e.g.,
wp_enqueue_style('google-font-rest', td_global::$http_or_https . '://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'); //used on menus/small text
That “should” be loading the “normal” body font (400 weight) in both normal and true italic (vs oblique/slanted non-italic font).
Check your page source for a post to see if that is actually there.
Similarly at line 902 this is found; presumably this would be enabled and enqueued if selected from the theme fonts selectors:
if(!in_array('g_438', $td_user_fonts_list)) {//'g_438', //Open Sans
wp_enqueue_style('google-font-opensans', td_global::$http_or_https . '://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,latin-ext,cyrillic'); //used on menus/small text
This has the light, normal, semi-bold, and bold weights, however does not have the italics, which I am not sure appends or replaces the main element at line 889.
Likely if one were so inclined they would edit the line 889 to add all the weights desired for Open Sans, remove the fonts and languages not being used, following the schema spit out from the Google Fonts website font builder:
http://www.google.com/fonts#UsePlace:use/Collection:Open+Sans
e.g., Open+Sans:300italic,400italic,600italic,700italic,400,300,600,700
so, you could edit this code like so:
wp_enqueue_style('google-font-rest', td_global::$http_or_https . '://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,300,600,700'); //used on menus/small text
For expert users, one might actually remove that block from the td_fonts.php file entirely, edit the style.css to search/replace all fonts to Open Sans, then grab the CSS from Google’s server by loading the above URL in a browser, and putting all the styles at bottom of the style.css sheet (I actually did this for Newspaper on one site, for better PageSpeed Insights score).
I only provide these examples as possible solutions and they may not apply to you. Hope that helps somebody on this topic.
I’m doing this right now…. it’s not terribly hard. You can save some of your custom CSS, but redoing the home page, redoing the ads, and setting up sidebar modules does need to be redone.
Biggest issue is making sure you switch off the old theme, switch off all plugins, fully delete the old Newspaper plugins from server, and do fresh install with the new theme; don’t try to re-use the old Newspaper plugins with the new theme. I crashed my WP install (500 server error), being a very experienced dude with WP, because I forgot to deactivate stuff in right order. Tricky that. Visual Composer is kind of a POS with WP theme switching, to be frank.
Note that in the td_fonts.php file it does appear italic is specified to be loaded from line 889 (this whole block was found in functions.php in Newspaper theme for those who are moving over).
e.g.,
wp_enqueue_style('google-font-rest', td_global::$http_or_https . '://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'); //used on menus/small text
That “should” be loading the “normal” body font (400 weight) in both normal and true italic (vs oblique/slanted non-italic font).
Check your page source for a post to see if that is actually there.
Similarly at line 902 this is found; presumably this would be enabled and enqueued if selected from the theme fonts selectors:
if(!in_array('g_438', $td_user_fonts_list)) {//'g_438', //Open Sans
wp_enqueue_style('google-font-opensans', td_global::$http_or_https . '://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,latin-ext,cyrillic'); //used on menus/small text
This has the light, normal, semi-bold, and bold weights, however does not have the italics, which I am not sure appends or replaces the main element at line 889.
Likely if one were so inclined they would edit the line 889 to add all the weights desired for Open Sans, remove the fonts and languages not being used, following the schema spit out from the Google Fonts website font builder:
http://www.google.com/fonts#UsePlace:use/Collection:Open+Sans
e.g., Open+Sans:300italic,400italic,600italic,700italic,400,300,600,700
so, you could edit this code like so:
wp_enqueue_style('google-font-rest', td_global::$http_or_https . '://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,300,600,700'); //used on menus/small text
For expert users, one might actually remove that block from the td_fonts.php file entirely, edit the style.css to search/replace all fonts to Open Sans, then grab the CSS from Google’s server by loading the above URL in a browser, and putting all the styles at bottom of the style.css sheet (I actually did this for Newspaper on one site, for better PageSpeed Insights score).
I only provide these examples as possible solutions and they may not apply to you. Hope that helps somebody on this topic.
On am edit post page, try going top right of browser window and click on “screen options” and then make sure [x] authoris checked.
-
This reply was modified 11 years by
simchris.
Link to the website page where something isn’t working might be helpful.
You need to first create the pages;
then add those pages to a menu; then choose that menu for the footer.
From WordPress docs — how to create menus
http://codex.wordpress.org/WordPress_Menu_User_Guide
Managing menus in the theme
https://forum.tagdiv.com/menus-newsmag/
Well, then you would need to add them if you want those pages on your website, right?
WordPress docs: http://codex.wordpress.org/Pages
In WordPress, you can write either posts or Pages. When you’re writing a regular blog entry, you write a post. Posts, in a default setup, appear in reverse chronological order on your blog’s home page. Pages are for content such as “About,” “Contact,” etc. Pages live outside of the normal blog chronology, and are often used to present timeless information about yourself or your site — information that is always applicable. You can use Pages to organize and manage any content.
In addition to the generally required “About” and “Contact” Pages, other examples of common pages include Copyright, Disclosure, Legal Information, Reprint Permissions, Company Information, and Accessibility Statement.
-
This reply was modified 11 years by
simchris.
I’ve had some time here the past couple of days since I was installing the theme myself, and was also doing some major site backup stuff, dbase update on ecom system and had some “wait and watch the progress bar” kind of things, hence helping out a little to pay forward all the help I’ve gotten over the years with my own WordPress troubles the past decade 🙂
If you mean, how do you edit them?
Simply go to the WP admin page, left menu under “pages” and then edit the pages to add your own info.
I have no idea on the “featured image align right option.” I don’t work here; in my case I use large featured image and for right align images I just place them in the post manually, so the issue doesn’t impact me.
For the image sizing and thumbnail issues, you simply need to use the two plugins. 🙂
I replied here so this would float to the top again for you; hopefully Lucian or Marius will have an answer.
I posted a solution for the image sizing issues; so you may wish to review my suggestion on how to fix that as it’s not a problem with the theme. You need to look at the Thumbnail Upscale plugin and the Regenerate Thumbnails plugin.
Wait for Lucian or Marius to address issue on the “right alignment featured image option” issue.
Glad to help … been there! 🙂
Also, “Thumbnail Upscale” works well if you have smaller images and want to enlarge them to fit the new layouts.
(admin – you may want to add both of these plugins to the docs as suggested solutions for image issues; if you didn’t already)
-
This reply was modified 11 years by
simchris.
You need to set a featured image for each post for it to show up on the homepage.