Google Analytics showing a big spike of Linux Chrome users

So I’ve noticed in my August Google Analytics for our Canadian municipal website, Linux Chrome users have gone from 0.25% of our users in June to 10.58% in July and now 26.75% in August.

Any idea what these might be coming from? I was thinking like bots but our total users and page views are around the same as previous months. I was then thinking maybe a new Android update reporting as Linux or something? But they seem to be listed as desktop, not mobile.

Anyone seeing anything similar on their sites, or any other ideas?

August: enter image description here

June: enter image description here

Strange Variations of URL Showing Up in Google Search Console

My wife and I started a website several months ago. Today on Google Search Console we noticed some strange variations of pages on her site. They were found under the section:

Coverage > Crawled – currently not indexed

They look something like the following with our domain and some weird words appended to the end:

example.com/detroitchicago/raleighz.js?gcb=195-0&cb=5

example.com/porpoiseant/jellyfish.webp?a=a&cb=0&shcb=34

example.com/detroitchicago/edmonton.webp?a=a&cb=0&shcb=34

example.com/detroitchicago/memphis.js?gcb=195-0&cb=10

example.com/detroitchicago/minneapolis.js?gcb=195-0&cb=3

These pages just load up a bunch of gibberish code.

enter image description here

When I go to the referring pages and do a find, I don’t see any mention. However, if I do an inspect in my Chrome browser and search for string "detroitchicago" then a handful of results show up.

enter image description here

Was the website hacked? I don’t see any directories like "detroitchicago" in my hosting file manager when I search for it, but it seems to be in the page code.

What can I do to fix this problem and prevent it from happening? Do I just submit a new request to remove these strange URLS in Google Search Console?

How to make a custom category archive page display names for each of terms when displaying a page showing more than one

I have a custom page for a specific custom category which was derived from archive.php. On this page I have a "Search and Filter" (plugin) set of checkboxes which allows for a selection of one or more categories and the results are then displayed. This all works well.

I’m using a custom category (added with Pods) called "rk_themes" and labelled as "Themes".

I need to show the term names that were selected in a status line along with the number of results. It should show “10 works found for Category Name A, Category Name B”.

The URL for this is like https://example.net/theme/category-name-a+category-name-b

Showing the count is easy enough, but I can’t figure out how to access the term names. A var_dump of WP_Query suggests there is only a label for the first term.

How to get Relationship Field dual-column showing IDs instead of post titles in ACF plugin?

by default, in the ACF plugin, the relationship field allows the user to choose a relation with another post in the default dual column view. In my case, I am using the Relationship field in order to connect dealer post-types to products.

Since I am importing Product data from CSV, I would need to import Relationship fields as well, and I am doing this using WP All Import Pro plugin. If I try to export a product in order to create the proper CSV format, I can see all set up relationships using the Dealer post-type title. I would need to type in CSV the dealers IDs instead of their full title, because the titles could change at some point.

Is that something possible through a function? Also, apart from dealers IDs, is it possible to achieve using another IDs set up using ACF (that is to say, another ID which is not the default one assigned by WP)?

For now, I am using Post Object return format, I’ve tried with Post ID return format but does not work (I am not sure if this could work since I am trying to do something out of my knowledge…).

Thank you in advance, nflor

Steam plotting of vector field showing empty output

I am trying to plot the stream lines for a vector field function, whose definition is exported to the wdx file uploaded here. The following simple code returns an empty plot:

ReadyFieldXY =  Import["C:\ReadyFieldXY.wdx"]; a0 = 0.00055; StreamPlot[Abs[ReadyFieldXY], {x, -a0/2, a0/2}, {y, -a0/2, a0/2}] 

enter image description here

I am not sure what is wrong here. Any suggestions would be appreciated.

Google showing static title instead of dynamically set javascript title

Basically, lets say I have set my title using HTML to "Something – Example", and with Javascript I change the title to "Apple – Example". When I google my website (after waiting for it to update) or the link gets embedded on things such as twitter or discord, it shows the static "Something – Example" title instead of the new title.

the_modified_time showing wrong date

I have an wordpress self-hosted installation that is over 10 years old. I was updating the template files to show the last modified date instead of the published date for my posts.

Old snippet: <time datetime="<?php the_time('c');?>"> <?php the_time('j F Y'); ?></time>

New snippet: <time datetime="<?php the_modified_time('c');?>"><?php the_modified_time('j F Y'); ?>

Here’s where it got weird. Every post that was modified before 6 februari 2021 shows the date 6 februari 2021. Every post that got updated after 6 februari 2021 shows the correct date.

I double checked this. There are posts that haven’t been updated since 2014 or 2011, yet they show 6 februari 2021. I even went into phpMyAdmin and the post_modified field shows the correct date (not 6 februari 2021).

Does anyone have an idea what it causing this or how to fix this? I have some suspects:

  • I’m using older php version: 7.2.34
  • I’m using an old sql server (WP site diagnose says so)
  • I vagely remember doing a sort of database update. Yoast SEO promted me to do something for indexing purposes.

WP is showing wrong image dimensions

Several times over time I changed sizes of thumbnails WP generate when images are uploaded, always setting bigger size.

Recently I set Thumbnail Width 600px width and Medium size Max Width 1800px. After several hundred images uploaded I realized that I need to set smaller image sizes, I reduced Medium size from 1800px to 1500px for future uploads.

I know that already uploaded images will stay on disk in bigger resolution, and that is fine by me, I do not need to use any plugin to regenerate thumbs again.

Problem:

Word Press now shows that size for images uploaded before is also 1500px width, even real size is 1800px (for an example it shows 1500px x 1000px for image that is 1800px x 1200px).

I changed few times width of future images in Dashboard > Settings > Media and I figured out that if real dimensions of already uploaded images are bigger than what is now set in Media Settings, WP will say that width of those images is the width that is set in Media Settings, even real dimensions are bigger.

You can see screenshot example here: https://postimg.cc/fScS3WKH

This is code I use to get image and its dimensions.

$  medium_image_url = wp_get_attachment_image_src( get_post_thumbnail_id($  post->ID), 'medium'); // Featured image medium size  // To show image dimensions    echo $  medium_image_url[1]; // Show width echo $  medium_image_url[2]; // Show height 

How to get real image dimension of already uploaded images which dimensions are bigger than one now set in media settings?