plittlefield
Forum Replies Created
-
Forum: Plugins
In reply to: [OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy.] Oxygen BuilderAlas, I seem to have broken something, and it’s not working at all now ??
The href line is back and there is NO sign of any OMGF lines!
<link href=”https://fonts.googleapis.com/css?family=Open+Sans:300,700,regular,|Open+Sans:300,700,regular,|Anton:100,200,300,400,500,600,700,800,900″ rel=”stylesheet”>
Here are my settings.
I have ‘Download Fonts and Generate Stylesheet’ again, cleared all my caches from ‘Autoptimse’, ‘WordPress’ and ‘KeyCDN’, then reloaded and checked.
view-source:https://www.normawinstone.com/
What have I done wrong?
Regards,
Paully
Hi Daan,
Boom… ‘Snippet Type: Asynchronous’ did the trick!
view-source:https://www.normawinstone.com/
You star… I shall go and buy the CAOS Super Stealth Upgrade as soon as possible ??
Thank you so much.
Regards,
Paully
Hello Daan,
Thanks for replying so quickly.
Yes, I mean the inline JS that is shown near the bottom of the source (I choose to put it in the footer).
I too have had success with Autoptimize, it grabs all the other bits of inline code on the page and puts it in to a perfect scipt defer just before /html but it does not take your caos inline code.
It’s not a big thing, I’m getting 99% on YSlow (gosh that took a lot!) but that dream of 100% would be nice to realise ??
Other than that, your plugin is great and would like to buy you a beer?
Cheers.
Take care,
Paully
Forum: Plugins
In reply to: [OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy.] Oxygen BuilderYes, it does!
I now have it working well on https://www.normawinstone.com and it made GTMetrix happier ??
Cheers,
Paully
Well, I’ve learned something today… I did not know about the ‘//’ ??
Problem solved, thanks.
Paul
Forum: Plugins
In reply to: [GigPress] Google eventsGoogle has crawled my customer’s site again and the ‘image’ JSON-LD is incorrect, so I have added a generic photo to their WP Dashboard media library and then tweaked the PHP code to add the image…
// Create blank 'image' attribute for Google Events $image_markup = 'https://www.mydomain.com/wp-content/uploads/2020/04/google_event.jpg'; $show_markup['image'] = $image_markup;
…which then shows up like this in the web browser source code…
"image": "https://www.mydomain.com/wp-content/uploads/2020/04/google_event.jpg"
…which should keep Google happy.
Hope this helps.
Regards,
Paully
Forum: Plugins
In reply to: [GigPress] Google eventsDone ??
Forum: Plugins
In reply to: [GigPress] Google eventsSure, I will do that this weekend!
Forum: Plugins
In reply to: [GigPress] Google eventsSlightly ironic, but there has been an official update to this plugin yesterday to version 2.3.24…
https://www.ads-software.com/support/topic/%f0%9f%93%a3gigpress-2-3-24/
…which will (ofcourse) wipe out the code changes in this forum thread.
So, just repeat the steps… backup the file and hack the code.
Hopefully, the new developers (Modern Tribe) will see his thread and commit to making the Google Events JSON-LD code part of the plugin!
??
Paully
Forum: Plugins
In reply to: [GigPress] Google events…and add this line just before the “* Provides an opportunity to customize ” section at the end of the json code block…
// Create blank 'image' attribute for Google Events $show_markup['image'] = $image_markup;
Also, 2 more things to do in the GigPress dashboard which will make sure you get ALL the correct JSON-LD elements…
1) add a ‘ticket price’ to a show, which will make sure you get an ‘offers’ JSON entry.
2) add a ‘status’ entry from the drop-down (like Active or Cancelled), which will make sure you get a ‘eventStatus’ JSON entry.
Please let me know how you get on.
BACK UP YOUR FILE FIRST!
??
Paully
Forum: Plugins
In reply to: [GigPress] Google eventsTweaked code… I’m a PHP newbie, so it’s taking a while, but just check back every day for new code.
I am trying to put it in to 1 block of code, because I don’t think it matters in which order the JSON-LD data comes in…
// Extra attributes for Google Events $show_markup['eventAttendanceMode'] = "https://schema.org/OfflineEventAttendanceMode"; $endDate = date_create($showdata['iso_date']); date_add($endDate,date_interval_create_from_date_string("3 hours")); $show_markup['endDate'] = date_format($endDate,"c");
??
Paully
Forum: Plugins
In reply to: [GigPress] Google eventsI’ve decided to edit the PHP code myself.
Take a backup of this file:-
wp-content/plugins/gigpress/output/gigpress_shows.php
and you can start adding some code like this which will temporarily fix the problem while we wait for the developer!
Find the line that begins function gigpress_json and then add the line like mine…
function gigpress_json_ld( $showdata ) { // Start array for single event $show_markup = array( "@context" => "https://schema.org", "@type" => "Event" ); // Extra attributes for Google Events $show_markup['eventAttendanceMode'] = "https://schema.org/OfflineEventAttendanceMode"; // Add show level attributes
…this is a work in progress but please contact me and I will happily send you my latest code.
??
Regards,
Paully
Forum: Plugins
In reply to: [GigPress] Google events+1
I’m now getting errors like this on my Google Search Console…
Missing field ‘eventAttendanceMode’
First detected: 22/03/2020
Status: WarningDid you find the reason for this?
Forum: Plugins
In reply to: [WP-Members Membership Plugin] Not Allowing LoginsOK, it’s time to revisit this again, because it’s a problem once more.
This is what I need…
* captcha or similar on the normal wp dashboard login
* wp-members with or without captcha but working!…but if I use any of the following plugins, then the wp-members log-in pages fail…
* captcha by bws
* google captcha recaptcha by bws
* goodbye captcha
* various othersIs there a plug-in that I can use to provide an extra layer of security on the standard wp dashboard login?
I already have wordfence.
Thank you,
Paul