Issue with Adsense. Not theme.
You need to install the theme zip file not the ‘all files’ zip.
Or, best course is to ALWAYS download to PC/Mac, unzip and look at what you have before uploading to server.
( I don’t work here )
Normally style ‘over rides’ load after the original styles; so only way to remove a flash of unstyled or original style text/design is to actually add your customizations to the end of the main style.css so they are loaded all together. At least that’s what I do.
Disable Visual Composer … just use the new TD Composer if you only use ‘pages’ on your site; and you will need to modify to work with the new plugin in some cases.
Or, continue to use VC and disable TDC.
Usually good to do one update at a time — meaning, update WP, and when site is stable THEN do the theme upgrade.
So, in theory, you could roll back theme and keep the WP update which is a security update.
a) make sure you add https explicitly in the wp-config.php file for site
b) disable the related posts option
c) optimize dbase with wp-optimize
d) backup your site fully from phpmyadmin
e) do search/replace in the mysql dbase for all instances of your site http url to https (may need to ask tagdiv for the tables used or custom field(s) for related articles if still there in addition to updating the post meta)
Doing all the above should work.
Might be easier to hack in normal WP description in template:
https://developer.wordpress.org/reference/functions/category_description/
<div>
<?php single_cat_title( __( 'Currently browsing', 'textdomain' ) ); ?>:
<?php echo category_description(); ?>
</div>
Little trickier with the ‘categories’ due to
a) being in sub folder for the header element so it can be changed by different style/layouts, and
b) funky if/then on the category description makes it hard to do that properly.
For example on my copy of Newsmag, the actual piece is in /parts/page-category-header.php
and this bit is tough to modify unless you play with it
<header>
<h1 class="entry-title td-page-title">
<span><?php echo $cur_cat_obj->name ?> <?php if ( $paged < 2 ) { } else { echo (' - Page '); echo ($paged);}?></span>
</h1>
</header>
<?php
//breadcrumb
echo td_page_generator::get_category_breadcrumbs($cur_cat_obj);
//the category description
if (!empty($cur_cat_obj->description)) {
echo '<div class="td-category-description">';
echo $cur_cat_obj->description;
echo '</div>';
}
?>
I keep all my install files on local HD and RAID backup, so I always have prior versions of plugins, themes, site backups, dbase, exports, etc.
learned my lesson on that with a server failure couple years back. Nightmare. 🙂
Good luck!
If you want you can also get tricky and add additional elements, like “News”…
so, if your tag was Toyota Trucks
do this:
<?php echo $current_tag_name ?> News
And you’d get
Toyota Trucks News – Page 2
Okay…. use this inside your h1 tag -and- h2 description if/then block,
on the ‘tag’ and ‘category’ templates to insert numeration;
test and adjust:
<?php if ( $paged < 2 ) { } else { echo (' - Page '); echo ($paged);}
?>
Was looking for it ! 🙂
If you don’t keep backups of your files; a good practice to start for 2018 btw; you can email them at the email bottom of the page and request it. Not sure if they provide prior versions once superceded by new one, but worth asking.
Also good time to start doing proper backups!
Generally you can’t use a commercial theme for AMP pages without major re-construction.
Much simpler to use the Automattic AMP plugin then modify the default template.
The AMP format is about speed on a phone and not ‘presentational’ elements as on desktop.
( I don’t work here; but using AMP for 2 years )
Happens when changing themes. Mark fixed. Ignore.
Use Yoast SEO or All-in-One SEO.
Hi
no longer updating this thread as have moved onto the torment of http/2 + PHP 7.2 and the fact Google no longer using pagespeed metrics but Chrome user experience via Lighthouse, etc., etc.
HOWEVER — I did want to update on issue from my various suggestions, from when I was using mod_pagespeed a lot, and found loading jquery locally vs from WordPress, or my hook to load jquery off Google’s CDN vs locally …
be aware, a *lot* of versions of JQUERY are insecure with XSS and other issues.
If you did setup your site to load jquery locally or via Google CDN, by unhooking the version from WP; you should run the ‘audit’ query in Google CHROME Console (F12), and do the ‘best practices’ audit, to see if your version of jquery has an exploit, and update the link to newer version.
Stupidly, I missed this on my last internal systems audit, and only just noticed it this week, when doing some ‘tuning’ with Lighthouse since pagespeed insights was saying ‘not available’ on a new project, since they don’ts use that as they once did.
(Put another way, the old ‘pagespeed insights’ no longer useful; and ideally you can use GTMetrix.com for a baseline; but you need to also use the ‘audit’ feature in CHROME for the ‘new way’ in 2018 of tuning/testing issues!)
PEACE OUT PARTY PEOPLE!
1 / 17 / 2018
###
I don’t know — I am using newsmag exclusively now, and a little different.
Only issue I had with the TD Composer was a conflict with a plugin, and not setting the resources to enough after moving to PHP 7, where PHP 5.6 we had it all sorted, but had to redo settings for PHP 7 as they are different on the server.
Anyway — check the status in theme settings; make sure enough resources; choose to use just *one* of the page builders, NOT both. TD Composer only works on pages, NOT on posts.
Then it should work.
Might not be related, but you may want to manually install WP 4.9.2 vs from panel. We had a bunch of server timeout issues from the main WP upgrade server the other day due to overload on their end (!). So, took couple of tries to get system updated couple of sites for our Newsmag sites.
Try testing from another location with GTMetrix.com — see the ‘how to’ on that site to change the “test server location” if your country/host blocks them; which is highly unusual except in some countries. In our case, we’re in USA, and the test server we use is in Canada (GT is in Canada hence the default testing from Canada).
Pinterest has been having on/off issues since Jan 1, as they start ‘enforcing’ the category and sub-category topics.
Happened to me the other day, where I shared something to ‘entertainment’ and they captured broken icon, and no text; so I reshared, set a sub-topic of “sports” under “entertainment” and it worked.
Sooooo….might not be your issue. But they are trying to “categorize” all the content into more distinct fixed channels toward some monetization goal.
Not theme specific if you have proper tags they can read.
Check your Google News sitemap. Theme has zero control over what Google News captures (we’ve been in Google news since the 2005 beta, with 15 sites captured daily). Google checks the sitemap first, then uses its classic bot. If there is no image specified (e.g., a featured image set, showing in the Google News sitemap, or if you have your sitemap set to use multiple images), GN may capture the first or largest image in text after first paragraph as was the case prior to GN specific sitemap.
If you have proper open graph meta tags, and a Google News sitemap; those will be the first cases for images captured. When you use certain images as ‘backgrounds’ even if set as featured they may skip that and use first ‘in post’ image.
So, if you are getting different results with SAME post on two different themes, then YOU need to determine WHAT you are doing differently; e.g., again, if you use a large featured image OUTSIDE the post, or as background on one theme, and as inline image in another, Google may treat those as two different things. Not apples to apples.
Theme provides many options for how images are placed; so if Google is not following your ‘Google News Sitemap’ properly, to fall back on the ‘on page capture’ method, which is outside anybody’s control.
Put another way – nothing the theme developers can do — YOU need to choose a page template that works with GN if they are skipping your GN Sitemap for some reason and/or ignoring your og:image tag(s).
Also note, Google may not show images at all sometimes depending on desktop or mobile view; may show mobile view on desktop, etc. They are in a transition to ‘mobile first’ which you can tell when you see vertical story boxes in borders vs old school laundry list method of display.
NEWS GROUPINGS:
ALSO: if your story is a follow-on (clone or ‘also ran’) of a news item already published elsewhere, they may “group” your news item with those as a “related news…” grouping, and choose the first or last post in that group as the image shown, in certain instances; again, nothing you can do about THAT
-
This reply was modified 8 years by
simchris.
See the theme docs, tutorial section on tips for optimizing speed. To learn how to optimize wordpress, also test a post with gtmetrix.com
I posted something about this on the forum last year, with some code to add to the category and tag templates to add a ‘page x’ to the descriptions on the page and h1. I have no idea where that is now, but included the php code to fix that.
e.g.
Stuff About Bunnies – Page 2
and
Page 2 – Wonderful bunny category description page.
This is worth a read
https://codex.wordpress.org/Styling_for_Print
Use normal jump links, per modern HTML.
E.g.,
<a href="mysite.ooo/pagename#sectionfour">Jump to bottom</a>
<h3 id="sectionfour">How to Order</h3>
Plenty of tutorials online, as well as great books/ebooks on learning basic HTML skills.