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

It should be on the “downloads” page for the account you purchased the theme with. If you have more than one account, it would need to be the account you bought it with. You can also contact Themeforest and reference your receipt if the purchase doesn’t show in your (correct) account on the downloads page.

simchris
tagDiv Member

Note this seems to happen on my iPad with various websites, unrelated to this theme specifically. Annoying. Seems to be some ajax/buffer thing in the iOS version of Safari.

simchris
tagDiv Member

The asap solution is to read the install docs right side of this page, assuming you are on desktop device.

Install the theme zip, not the all files zip.

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

Admin – you will definitely want to add this topic to the upcoming tutorials, since almost nobody knows how FB sharing works. 😉

simchris
tagDiv Member

Note that if you’re using Google News, they will update the “how long ago” based on when the story updated, not when first published. No way to control that.

simchris
tagDiv Member

One presumes you have set the correct time zone for your server and php, and for WordPress, with possible .htaccess over-ride for specifying local time zone/GMT time?

We run into that when trying to set one site as EST/EDT and another for PST/PDT.

Might not be related in any way, just a thought, so apologies for not being more help.

simchris
tagDiv Member

Right, this was to help with @gfran5 question 🙂

You can, of course, load custom fonts locally; but then you’d still need to disable loading any Google fonts by the theme, as applicable.

Actually Google has made Roboto open source, so technically you *could* now load that font locally if so inclined. TagDiv could even include that as default font if they wanted, which is cool.

simchris
tagDiv Member

HI folks … as I’m about to be enmeshed in a highly complex project for my own company, I won’t have *any* time to post “pay it forward” help around here anymore, but I thought I’d share one last thing for now — which I’d promised to do, and I just did in another post on this topic …

this is “broad strokes” on how to optimize the font loading for using Google fonts, such as OpenSans for your site; to not load the remote style sheet from Google and solve one of the issues from optimization testing related to Google fonts. This might even gain you a point in some cases!

———– SNIP————-

The theme does not load fonts via functions.php; but from the MAIN functions file used by the theme inside the /includes folder as I noted.

The following would be how we do it, in broad strokes — with idea of using OpenSans, removing roboto, and loading the CSS locally for OpenSans vs remotely.

Anybody planning to hack the theme in *any* way should explore the files in there to see what is going on with the theme.

So, to wit
theme/includes/td_wp_booster_functions.php

see around line 1318 – 1340

helps to use a proper text editor (I used “TextPad” on Windows, BBEdit on Mac).

I have not done this in awhile, but as I’m no longer going to be around here to help out, needing to move onto other things I’ll try to provide a starter point for you.

I believe I removed the whole Google fonts section; or perhaps only left in the first section as it caused error to remove it all.

————-

Next you need to search/replace any instance of Roboto from your style.css ; change the default fonts to OpenSans as you won’t be using the control panel to select it anymore.

————

‘capture’ the CSS from Google; presumably those of you who are new to HTML, webdev, etc., likely don’t understand what is going on with CSS (cascading style sheet) and how fonts are loaded.

So, basically when you “request” the fonts from Google using their API, you’re not loading the fonts, you’re loading a style sheet on their server, which in turn loads the fonts — a redirect of sorts. And this does show up as “something to fix” when doing optimization tests.

So, an old trick most of learned in the olden days of hand coding our websites from scratch is that you can put that API link into a browser window, or email it to yourself as a link also works …

Put another way if you were to go to the Google font repository, or look at the theme code, you end up with their API call, which looks something like this:

://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,latin-ext,cyrillic

Now if you know what you’re doing, again, you can put that URL into a browser window and it will spit out the actual “what is being loaded from that URL” … which actually looks like this:

@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: local('Open Sans Light'), local('OpenSans-Light'), url(http://fonts.gstatic.com/s/opensans/v13/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url(http://fonts.gstatic.com/s/opensans/v13/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(http://fonts.gstatic.com/s/opensans/v13/MTP_ySUJH_bn48VBG8sNSnhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: local('Open Sans Bold'), local('OpenSans-Bold'), url(http://fonts.gstatic.com/s/opensans/v13/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}

that is the actual CSS being loaded .. and you can put this at the bottom of your style.css file to load the fonts from your own style sheet vs loading their style sheet remotely.

So, if you combine the three things
a) search/replace your /theme/style.css to make OpenSans your default font; remove Roboto
b) remove the section in the theme main config file so that it’s NOT loading the remote style sheets
c) put your captured CSS from Google at bottom of YOUR /theme/style.css
d) there may be one instance of roboto somewhere else in the admin code files, but I forget where that is at the moment (sorry)
e) while it should be self-evident — if your site is https; change the http in above to https.

Then you have saved the redirect of the extra style sheet being loaded from Google’s server.

You can modify this procedure to use different fonts, or multiple fonts. Just setup the fonts you want on Google’s font site, get the embed code; then “capture” the actual CSS.

Try it 🙂

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

The theme does not load fonts via functions.php; but from the MAIN functions file used by the theme inside the /includes folder as I noted.

The following would be how we do it, in broad strokes — with idea of using OpenSans, removing roboto, and loading the CSS locally for OpenSans vs remotely.

Anybody planning to hack the theme in *any* way should explore the files in there to see what is going on with the theme.

So, to wit
theme/includes/td_wp_booster_functions.php

see around line 1318 – 1340

helps to use a proper text editor (I used “TextPad” on Windows, BBEdit on Mac).

I have not done this in awhile, but as I’m no longer going to be around here to help out, needing to move onto other things I’ll try to provide a starter point for you.

I believe I removed the whole Google fonts section; or perhaps only left in the first section as it caused error to remove it all.

————-

Next you need to search/replace any instance of Roboto from your style.css ; change the default fonts to OpenSans as you won’t be using the control panel to select it anymore.

————

‘capture’ the CSS from Google; presumably those of you who are new to HTML, webdev, etc., likely don’t understand what is going on with CSS (cascading style sheet) and how fonts are loaded.

So, basically when you “request” the fonts from Google using their API, you’re not loading the fonts, you’re loading a style sheet on their server, which in turn loads the fonts — a redirect of sorts. And this does show up as “something to fix” when doing optimization tests.

So, an old trick most of learned in the olden days of hand coding our websites from scratch is that you can put that API link into a browser window, or email it to yourself as a link also works …

Put another way if you were to go to the Google font repository, or look at the theme code, you end up with their API call, which looks something like this:

://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,latin-ext,cyrillic

Now if you know what you’re doing, again, you can put that URL into a browser window and it will spit out the actual “what is being loaded from that URL” … which actually looks like this:

@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
src: local('Open Sans Light'), local('OpenSans-Light'), url(http://fonts.gstatic.com/s/opensans/v13/DXI1ORHCpsQm3Vp6mXoaTXhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: local('Open Sans'), local('OpenSans'), url(http://fonts.gstatic.com/s/opensans/v13/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(http://fonts.gstatic.com/s/opensans/v13/MTP_ySUJH_bn48VBG8sNSnhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
src: local('Open Sans Bold'), local('OpenSans-Bold'), url(http://fonts.gstatic.com/s/opensans/v13/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff) format('woff');
}

that is the actual CSS being loaded .. and you can put this at the bottom of your style.css file to load the fonts from your own style sheet vs loading their style sheet remotely.

So, if you combine the three things
a) search/replace your /theme/style.css to make OpenSans your default font; remove Roboto
b) remove the section in the theme main config file so that it’s NOT loading the remote style sheets
c) put your captured CSS from Google at bottom of YOUR /theme/style.css

Then you have saved the redirect of the extra style sheet being loaded from Google’s server.

You can modify this procedure to use different fonts, or multiple fonts. Just setup the fonts you want on Google’s font site, get the embed code; then “capture” the actual CSS.

Try it 🙂

simchris
tagDiv Member

You can usually “view source” for your live page to see the actual rendered page and see if the items you added to the template are there.

Note be sure to disable any optimization tools which strip out comments from HTML or those would, of course, be removed (e.g., mod_pagespeed, etc.).

simchris
tagDiv Member

Yes, using any CDN or Cloudflare or *any* system not part of your local WordPress or theme install needs to be cleared/refreshed when changing themes.

simchris
tagDiv Member

Works for me ….

simchris
tagDiv Member

Yes, also be aware that this may break on some systems — as noted in the warnings for use of that in Yoast plugin.

SO, be aware that is not a “feature” per se, it’s a notable “HACK” which may break some things which look for normal permalink structure in WordPress.

This is why I did not suggest that. If you notice oddities with your permalinks this will be the cause of those issues. It broke several things when I tried to do this exact same thing, and was not a good solution for reliability and does not help SEO in any way. So, be “careful” with that solution 🙂

So, keep an eye on that, in other words! (But don’t panic; just letting you know it didn’t work for us.)

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

Yes. I do this.
Basically get the actual CSS from Google, and add that to bottom of your style.css file, then edit the pull info from the main config file for theme inside the includes/ folder.

simchris
tagDiv Member

Did you regenerate your thumbnails for the new theme?

simchris
tagDiv Member

the /category/ directory is managed in your WordPress settings; not by the theme.

in your WordPress settings you can change the /category/ name to something else, like /news/ but very difficult to remove the /category/ altogether — you can try a plugin, or look in Google for various options to try to do that.

See WordPress docs (codex) for help using basic WP functions:
https://codex.wordpress.org/Settings_Permalinks_Screen

———-

in our case we change it to something like /news/

http://enewschannels.com/news/business/

Good luck!

simchris
tagDiv Member

Youtube makes their money to pay for free video hosting by running ads. You might want to spend some time on youtube looking at the help and faqs related to sharing and embedding videos. The theme justs embeds the video, it doesnt control how youtube serves content from their system.

simchris
tagDiv Member

Cloudflare is setting the cookie, why not ask them?

simchris
tagDiv Member

Yes, when you move to a NEW theme, you need to redo your menus for the new theme; sidebar widgets get moved to “inactive” state due to how WordPress works and some CSS has changed … it’s basically a NEW theme. But you’re not obligated to use it; the old v4 isn’t going to stop working. The only reason to upgrade to the NEW theme is if you want all the new features, new grid, new functions, new CSS, etc.

There is no 1:1 upgrade from v4 to v6 just as there would not be moving from any theme to another.

To use the new theme you need to upgrade per the instructions, then adjust and refresh certain things to fit the different layout, new menu options, and so forth.

One option is to clone your existing site into a sub-domain, then do the upgrade, revise things to work with new theme then move over the settings to your production site — this is how it’s done for most professional settings.

(I am not on staff here, and won’t be providing any help after today in these forums, but I was checking on something else for my own use and thought I’d give you that feedback — its not an update, it’s a whole new theme …. hence the issue you’re running into …)

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

Hi folks….
I am no longer providing any help or support here.

Look for my ebook on Amazon this fall on WordPress optimization and troubleshooting. 🙂

simchris
tagDiv Member

You need to put in the correct code for *your* website, not the example you have shown above. use the “code generator” on the page you mention, and review the docs there on how to use it. You need to put in an echo element probably for your current page where the comments live, not the facebook page link you posted above(!).

That code is for THAT page on FB, not YOUR site. The href= needs to be a page on YOUR website.

Note the “code generator” which is intended to … guess what … “generate the code” needed for you to use the element on your own website.

if none of that makes sense to you, then you might want to hire a developer — or look for a plugin which would generate the correct URL for each post to put into that element.

so you would need to (per their instructions)

a) put the java SDK in your header

b) put this in your post template (so if you’re using post template 2, edit the post template file 2 in your theme root directory)

<div class="fb-comments" data-href="[your URL HERE]" data-numposts="5"></div>

You would need to replace [your URL HERE] with an echo current page/post URL element — NOT the Facebook URL, obviously.


hope that helped!

simchris
tagDiv Member

Google News will evaluate whether your site has enough original content, more than one editor, actual news vs goofy stuff like ghost chasers or pure advertorial/paid content. It can take 3-12 weeks to be approved. And they can kick you out at any time if your content quality drops (e.g., if your site is just cloned stuff from other sites or nothing but YouTube videos, they will not accept you into GN).

You also need to review the GN content/format requirements to ensure you meet them.

simchris
tagDiv Member

Hoping you do NOT change the grid system for Newsmag, as we prefer the current layout which supports sidebars on mobile, more narrow layout, and overall “weight” of the design. For Newspaper features – one should obviously use the Newspaper theme 😉

simchris
tagDiv Member

Probably the header.php file.

Viewing 25 posts - 5,751 through 5,775 (of 9,335 total)