Yes, you can put at end of functions file, or make a custom plugin. Note that if your server is running http/2 it might actually work better to load locally since it will be ‘bundled’ together via https … but you’d need to speed test that. (Sometimes CDN is *not* faster, depending on locale and audience.)
Yes… you should change the version. I think my later post at end of the thread, or maybe in my other security [tutorial] there was a bit about testing your post page with Chrome ‘audit’ to double check the jquery version.
Apparently any version of jquery prior to 3x has an XSS vulnerability related to ajax and unsanitized loading of things … so, presumably, one should consider using
so….
https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js
Google hosted libs
https://developers.google.com/speed/libraries/
Info on versions of jquery with issues
https://www.cvedetails.com/vulnerability-list/vendor_id-6538/Jquery.html
interesting read on the topic of Javascript in general:
https://www.zdnet.com/article/an-insecure-mess-how-flawed-javascript-is-turning-web-into-a-hackers-playground/
I dont use jetpack as its a resource hog.
See my tutorial in the forum on best security practices. Look for [tutorial]
I think in my long winded website optimization thread in the docs > tutorials > best of forums … I described how to unhook the builtin jquery function and then load that from Google … it’s someplace in here if you don’t want to Google how to do that:
https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/
Nope. Jetpack is totally optional. Jetpack is separate plugin built by same folks who make WordPress.
Try resaving your permalinks.
Make sure you are not blocking google from robots.txt
You should create original favicon for your site to not confuse your site with others. The TagDiv logo is for their brand, not yours.
Just comment, if you mean ‘infinite scroll’ – I thought that only worked for pages which use the default loop for showing more posts at bottom of a ‘page’ …
e.g.,
https://jetpack.com/support/infinite-scroll/
not on posts themselves.
For ‘pages’ such as an index, you can try this solution:
https://www.hongkiat.com/blog/wordpress-infinite-scroll/
(I don’t work here.)
Did you check permissions on your upload folder?
Td composer is the default required page builder. Wp bakery is optional.
Test post with gtmetrix.com
Did you resave permalinks?
That is how Whatsapp works – it’s a ‘mobile only’ product; and the end user must have the ‘app’ installed on their mobile device. Whatsapp is for ‘app’ not for desktop, which is why you never see the icon on desktop versions of websites; only on mobile versions.
So, unless somebody actually has the ‘app’ installed, clicking the button does nothing.
You may want to read up more about Whatsapp to learn what it actually is/does.
I don’t work here, just long time webdev dinosaur. Good luck!
WordPress does not support comments on pages by default as pages are normally for stuff like privacy policy, about the company, staff members, etc., where normally nobody should comment on that. You likely need to use a plugin, or add a function to enable comments on ‘pages’ as well as posts — which is not normal with WP.
Just a comment. I don’t work here.
The main cause of AMP endpoints not working is forgetting to resave permalinks from the WP admin settings panel (not theme panel). This enables the php rewrites to serve up the secondary endpoint links with /post-name/amp — this is an old issue with *all* AMP plugins.
Might not be your issue, but that’s the main one the past couple of years.
I think that is an old issue of a default ‘background’ for page or menu ? Try putting in your own background or removing any background in the theme panel to clear that.
(I don’t work here.)
If you need something special, one option is to setup a custom feed for Google News, and use something like Advanced Custom Fields (ACF), and then in your custom feed, have the fields inserted however you wish. We do this for sub-headlines so that they carry over into RSS feeds, when the sub-headline field is outside the post body.
If that is above your head, you might need to hire a developer, or look for a plugin.
However, be aware Google *will* use the largest image in your post as the hero image regardless of anything you add or don’t add; so only reason to worry about it is when you might have two large images, and Google News not grabbing the featured image (e.g., via Yoast SEO ‘News’ add on, etc.).
(Our sites have been in Google News since the 2005 beta, btw.)
Hi, this may be useful … I’ve actually started trying this with Google News when there are two images, one if featured and shows in meta as main image and og image, and pinterest image, but might not be seen as main image for Google News on some odd occassion, such as your use case — in looking at the Google forum, I found this:
By default Producer chooses the largest image as hero image. Here is how to explicitly designate the primary images in feeds: In <item>s or <entry>s in the feed, you should add the class name class=”type:primaryImage” to the tag for the desired primary image.
These code snippets work:
<img src="www.publisher.com/image.png" />
<figure> <img src="www.publisher.com/image.png" class="type:primaryImage" /> ... </figure>
<div> <img src="www.publisher.com/image.png" class="type:primaryImage" /> ... </div>
These do not work:
<img src="www.publisher.com/image.png" />
<figure class="type:primaryImage"> <img src="www.publisher.com/image.png" /> ... </figure>
<div class="type:primaryImage"> <img src="www.publisher.com/image.png" /> ... </div>
I am actually trying this with a story tomorrow am. to see what happens, adding this to the main image I have posted into a story, along with supplemental image, adding this to the image class in the post body:
class="type:primaryImage"
Using an SEO plugin like Yoast SEO or “All in One SEO Pack” or a “Open Graph” plugin will fix all these for you. Site like Google, Facebook, Twitter, Pinterest, etc. all rely on proper META DATA added to head of the document. Simplest way is with a plugin that takes something like the featured image for the post, and makes that the ‘image’ element you need. If none of that makes sense, install the Yoast SEO plugin which can manage this stuff for you 🙂
My brother said this “I wouldn’t trust anything based in Russia or China. ProtonMail is based in Switzerland, and Tutanota is in Germany.”
Looks like its part of livechat… is that a plugin you are using?
Well, plugin is basically a function … so, you could google functions that do that then add to your functions file. Plugin best way.
Most free services going away as they cannot pay for system or bandwidth without income. Why not pay for basic zoho mail plan?